Class ClassField
java.lang.Object
org.datanucleus.enhancer.ClassField
Representation of a field that an enhanced class requires.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intAccess flags for the field (public, protected etc).protected ClassEnhancerThe parent enhancer.protected StringName of the field.protected ObjectInitial value for the field.protected ObjectType for the field -
Constructor Summary
ConstructorsConstructorDescriptionClassField(ClassEnhancer enhancer, String name, int access, Object type) ConstructorClassField(ClassEnhancer enhancer, String name, int access, Object type, Object value) Constructor -
Method Summary
-
Field Details
-
enhancer
The parent enhancer. -
fieldName
Name of the field. -
access
protected int accessAccess flags for the field (public, protected etc). -
type
Type for the field -
initialValue
Initial value for the field.
-
-
Constructor Details
-
ClassField
Constructor- Parameters:
enhancer- Class Enhancername- Name of the fieldaccess- Access for the field (PUBLIC, PROTECTED etc)type- Type of the field
-
ClassField
Constructor- Parameters:
enhancer- Class Enhancername- Name of the fieldaccess- Access for the field (PUBLIC, PROTECTED etc)type- Type of the fieldvalue- Initial value
-
-
Method Details
-
getName
-
getAccess
public int getAccess()Accessor for the access- Returns:
- Access type for the field
-
getType
-
getInitialValue
-
hashCode
-
equals
-