Public Member Functions | |
| void | setContainingClassDescriptor (ClassDescriptor contClsDesc) |
| ClassDescriptor | getContainingClassDescriptor () |
| FieldHandler | getHandler () |
| String | getFieldName () |
| Class | getFieldType () |
| boolean | isRequired () |
| boolean | isImmutable () |
| boolean | isTransient () |
| boolean | isMultivalued () |
| ClassDescriptor | getClassDescriptor () |
Protected Member Functions | |
| DelegateFieldDescriptor (FieldDescriptor desc) | |
| org.exolab.castor.mapping.loader.DelegateFieldDescriptor.DelegateFieldDescriptor | ( | FieldDescriptor | desc | ) | [protected] |
| ClassDescriptor org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getClassDescriptor | ( | ) |
Returns the class descriptor related to the field type. If the field type is a class for which a descriptor exists, this descriptor is returned. If the field type is a class for which no mapping is provided, null is returned.
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.getClassDescriptor().
| ClassDescriptor org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getContainingClassDescriptor | ( | ) |
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.getContainingClassDescriptor().
| String org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getFieldName | ( | ) |
Returns the name of the field.
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.getFieldName().
| Class org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getFieldType | ( | ) |
Returns the Java type of the field.
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.getFieldType().
| FieldHandler org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getHandler | ( | ) |
Returns the handler of the field. In order to persist or marshal a field descriptor will be associated with a handler.
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.getHandler().
| boolean org.exolab.castor.mapping.loader.DelegateFieldDescriptor.isImmutable | ( | ) |
Returns true if the field type is immutable.
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.isImmutable().
| boolean org.exolab.castor.mapping.loader.DelegateFieldDescriptor.isMultivalued | ( | ) |
Returns true if the field is multi valued (a collection).
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.isMultivalued().
| boolean org.exolab.castor.mapping.loader.DelegateFieldDescriptor.isRequired | ( | ) |
Returns true if the field type is required.
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.isRequired().
| boolean org.exolab.castor.mapping.loader.DelegateFieldDescriptor.isTransient | ( | ) |
Returns true if the field is transient. Transient fields are never persisted or marshalled.
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.isTransient().
| void org.exolab.castor.mapping.loader.DelegateFieldDescriptor.setContainingClassDescriptor | ( | ClassDescriptor | contClsDesc | ) |
Set the class which contains this field
Implements org.exolab.castor.mapping.FieldDescriptor.
References org.exolab.castor.mapping.FieldDescriptor.setContainingClassDescriptor().
1.7.0