public class FieldInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ClassType |
classType
The corresponding classType object.
|
protected Field |
field
The reflection representation of the field.
|
protected static ResourceBundle |
messages
I18N support
|
protected String |
name
The name of the field.
|
protected PersistenceFieldElement |
pfe
JDO model representation
|
| Constructor and Description |
|---|
FieldInfo(Field field,
ClassType classType) |
| Modifier and Type | Method and Description |
|---|---|
Type |
getAssociatedClass() |
Field |
getField() |
int |
getFieldNumber()
Return the field number in the case of a field of a persistence capable class.
|
String |
getName() |
Type |
getType()
Returns the Type representation of the type of the field.
|
boolean |
isPersistent()
Checks whether this field is defined as persistent field.
|
boolean |
isPublic()
Checks whether this field is defined with the public modifier.
|
boolean |
isRelationship() |
boolean |
isStatic()
Checks whether this field is defined with the static modifier.
|
protected String name
protected ClassType classType
protected Field field
protected PersistenceFieldElement pfe
protected static final ResourceBundle messages
public boolean isPersistent()
public boolean isPublic()
public boolean isStatic()
public Field getField()
public String getName()
public Type getType()
public int getFieldNumber()
public boolean isRelationship()
public Type getAssociatedClass()
Copyright © 2019. All rights reserved.