| java.lang.Object org.jaffa.metadata.FieldMetaData org.jaffa.metadata.BooleanFieldMetaData
BooleanFieldMetaData | public class BooleanFieldMetaData extends FieldMetaData (Code) | | An instance of this class will hold meta information for a Boolean field.
|
Method Summary | |
public Object | clone() Returns a clone of the object. | public int | compareTo(Object obj) Compares this object with another BooleanFieldMetaData object.
Note: this class has a natural ordering that is inconsistent with equals
Parameters: obj - the other BooleanFieldMetaData object. | public boolean | equals(Object obj) Compares this object with another BooleanFieldMetaData object.
Returns a true if both the objects have the same properties.
Parameters: obj - the other BooleanFieldMetaData object. | public String | getLayout() Getter for property layout. | public String | getPattern() Getter for property pattern. | public int | getWidth() Getter for property width. | public int | hashCode() Returns the hash code. | public String | toString() Returns the diagnostic information. |
DEFAULT_LAYOUT | final public static String DEFAULT_LAYOUT(Code) | | The default layout.
|
DEFAULT_PATTERN | final public static String DEFAULT_PATTERN(Code) | | The default pattern.
|
DEFAULT_WIDTH | final public static int DEFAULT_WIDTH(Code) | | The default width.
|
BooleanFieldMetaData | public BooleanFieldMetaData(String name, String labelToken, Boolean isMandatory, String layout, String pattern)(Code) | | Creates an instance.
Parameters: name - The field name. Parameters: labelToken - The token used for displaying labels. Parameters: isMandatory - Indicates if the field is mandatory. Parameters: layout - The layout. Parameters: pattern - The pattern. |
clone | public Object clone()(Code) | | Returns a clone of the object.
a clone of the object. |
compareTo | public int compareTo(Object obj)(Code) | | Compares this object with another BooleanFieldMetaData object.
Note: this class has a natural ordering that is inconsistent with equals
Parameters: obj - the other BooleanFieldMetaData object. a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. |
equals | public boolean equals(Object obj)(Code) | | Compares this object with another BooleanFieldMetaData object.
Returns a true if both the objects have the same properties.
Parameters: obj - the other BooleanFieldMetaData object. a true if both the objects have the same properties. |
getLayout | public String getLayout()(Code) | | Getter for property layout.
Value of property layout. |
getPattern | public String getPattern()(Code) | | Getter for property pattern.
Value of property pattern. |
getWidth | public int getWidth()(Code) | | Getter for property width.
Value of property width. |
hashCode | public int hashCode()(Code) | | Returns the hash code.
the hash code. |
toString | public String toString()(Code) | | Returns the diagnostic information.
the diagnostic information. |
|
|