public class FieldModel<C> extends Object
Modifier and Type | Method and Description |
---|---|
static <C> FieldModel<C> |
get(Field f,
FieldAccess<C> fieldAccess)
Returns a field model for the given Field and FieldAccess instance.
|
Field |
getField()
Access the Field associated with the FieldModel
|
FieldAccess<C> |
getFieldAccess()
Access the FieldAccess associated with the FieldModel
|
Class<?> |
getFieldClass()
Gets the Declared Class for the Field
|
FieldType |
getFieldType()
Indicates the type of the Field - Primitive, Array or Object
|
boolean |
isPrivate()
Indicates whether the field is private access
|
boolean |
isSynthetic()
Indicates whether the field is synthetic according to the Java Language Specific
|
boolean |
isTransientAnnotatedField()
Indicates whether the field carries a Transient annotation
|
boolean |
isTransientField()
Indicates whether the field is transient
|
public static final <C> FieldModel<C> get(Field f, FieldAccess<C> fieldAccess)
C
- The type of class being accessedf
- The FieldfieldAccess
- The Field Access that can be used to introspect the fieldpublic FieldAccess<C> getFieldAccess()
public Field getField()
public FieldType getFieldType()
public Class<?> getFieldClass()
public boolean isTransientField()
public boolean isTransientAnnotatedField()
public boolean isSynthetic()
public boolean isPrivate()
Copyright © 2010–2018 Jadira Systems. All rights reserved.