net.sf.fikin.pojostate.select
Class ExplicitMethodMeta

java.lang.Object
  extended by net.sf.fikin.pojostate.select.AbstractMethodMeta
      extended by net.sf.fikin.pojostate.select.ExplicitMethodMeta
All Implemented Interfaces:
MethodMeta

public class ExplicitMethodMeta
extends AbstractMethodMeta

An explicit MethodMeta object, having own name, description and format member variables created on Mar 6, 2007

Since:
Version:
$Revision: 1.1 $
Author:
fiykov

Constructor Summary
ExplicitMethodMeta(java.lang.reflect.Method method, java.lang.String name, java.lang.String desc, java.text.Format format)
          instantiate new meta object with all the fields explictly given
 
Method Summary
 java.lang.String getDescription()
          Property's UI description Descriptions in general are provided by the user in one way or another but automated description generation is also possible.
 java.text.Format getFormat()
          get Property's formatting object Formatting object is responsible to provide the actual Method's value formatting e.g. dates, times, numbers, durations.
 java.lang.String getName()
          Property's UI name.
 
Methods inherited from class net.sf.fikin.pojostate.select.AbstractMethodMeta
getMethod, setMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplicitMethodMeta

public ExplicitMethodMeta(java.lang.reflect.Method method,
                          java.lang.String name,
                          java.lang.String desc,
                          java.text.Format format)
instantiate new meta object with all the fields explictly given

Parameters:
method -
name -
desc -
format -
Method Detail

getName

public java.lang.String getName()
Description copied from interface: MethodMeta
Property's UI name. This may or may not be the actual Method name behind this object.

Whether this is the actual method's name or some custom defined name it depends on Selector interface.

Returns:
Returns name, this object was instantiated with

getDescription

public java.lang.String getDescription()
Description copied from interface: MethodMeta
Property's UI description

Descriptions in general are provided by the user in one way or another but automated description generation is also possible. This is governed by Selector interface.

Returns:
Returns name, this object was instantiated with

getFormat

public java.text.Format getFormat()
Description copied from interface: MethodMeta
get Property's formatting object

Formatting object is responsible to provide the actual Method's value formatting e.g. dates, times, numbers, durations.

Typically this object is used by Property.getValue() to generate the Property's value.

Returns:
Returns formatter, this object was instantiated with


Copyright © 2005 Nikolay Fiykov. All Rights Reserved.