|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsefa.common.mapping.FieldDescriptor
public final class FieldDescriptor
Encapsulates the combination of a field name and a potential type of the field value.
Instances of this class are immutable and thread-safe.
Constructor Summary | |
---|---|
FieldDescriptor(String name,
Class<?> objectType)
Constructs a new FieldDescriptor . |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getName()
Returns the name of the field. |
Class<?> |
getObjectType()
Returns the object type of the field. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldDescriptor(String name, Class<?> objectType)
FieldDescriptor
.
name
- the name of the fieldobjectType
- the type of the fieldMethod Detail |
---|
public String getName()
public Class<?> getObjectType()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |