|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldDescriptor
Describes the properties of a field. Implementations will extend this inteface to provide additional properties.
FieldHandler
Method Summary | |
---|---|
ClassDescriptor |
getClassDescriptor()
Returns the class descriptor related to the field type. |
ClassDescriptor |
getContainingClassDescriptor()
|
java.lang.String |
getFieldName()
Returns the name of the field. |
java.lang.Class |
getFieldType()
Returns the Java type of the field. |
FieldHandler |
getHandler()
Returns the handler of the field. |
boolean |
isImmutable()
Returns true if the field type is immutable. |
boolean |
isMultivalued()
Returns true if the field is multi valued (a collection). |
boolean |
isRequired()
Returns true if the field type is required. |
boolean |
isTransient()
Returns true if the field is transient. |
void |
setContainingClassDescriptor(ClassDescriptor contClsDesc)
Set the class which contains this field |
Method Detail |
---|
void setContainingClassDescriptor(ClassDescriptor contClsDesc)
ClassDescriptor getContainingClassDescriptor()
java.lang.String getFieldName()
java.lang.Class getFieldType()
boolean isTransient()
boolean isImmutable()
boolean isRequired()
boolean isMultivalued()
ClassDescriptor getClassDescriptor()
FieldHandler getHandler()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |