public interface FieldDescriptor extends PropertyHolder
Modifier and Type | Method and Description |
---|---|
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.
|
getProperty, setProperty
addNature, hasNature
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()
Copyright © 2017. All rights reserved.