|
||||||||||
| 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.
| Method Summary | |
|---|---|
ClassDescriptor |
getClassDescriptor()
Returns the class descriptor related to the field type. |
ClassDescriptor |
getContainingClassDescriptor()
Get the class descriptor which contains this field. |
String |
getFieldName()
Returns the name of the field. |
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 multivalued (a collection). |
boolean |
isRequired()
Returns true if the field type is required. |
boolean |
isTransient()
Returns true if the field is transient. |
void |
setContainingClassDescriptor(ClassDescriptor parent)
Set the class descriptor which contains this field. |
| Methods inherited from interface org.castor.core.nature.PropertyHolder |
|---|
getProperty, setProperty |
| Methods inherited from interface org.castor.core.nature.NatureExtendable |
|---|
addNature, hasNature |
| Method Detail |
|---|
void setContainingClassDescriptor(ClassDescriptor parent)
parent - The class descriptor which contains this field.ClassDescriptor getContainingClassDescriptor()
String getFieldName()
Class getFieldType()
ClassDescriptor getClassDescriptor()
FieldHandler getHandler()
boolean isTransient()
boolean isImmutable()
boolean isRequired()
boolean isMultivalued()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||