|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.core.field.FieldType
Type safe constant class that contains the various supported FieldTypes of data. Examples include STRING and INTEGER. This object type is used to describe the type of value contained within a given field.
| Field Summary | |
static FieldType |
INTEGER
INTEGER FieldType |
static FieldType |
STRING
STRING FieldType |
| Method Summary | |
boolean |
equals(Object obj)
Indicates whether FieldType objects are equal. |
String |
getName()
Get the name associated with this FieldType. |
int |
hashCode()
Returns a hash code value for the object. |
String |
toString()
Get a String representation of FieldType. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final FieldType INTEGER
public static final FieldType STRING
| Method Detail |
public String getName()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
The equals method implements an equivalence relation:
x,
x.equals(x) should return true.
x and
y, x.equals(y) should return
true if and only if y.equals(x) returns
true.
x,
y, and z, if x.equals(y)
returns true and y.equals(z) returns
true, then x.equals(z) should return
true.
x
and y, multiple invocations of x.equals(y)
consistently return true or consistently return
false, provided no information used in
equals comparisons on the object is modified.
x,
x.equals(null) should return false.
equals in class Objectobj - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||