|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.reflect.XPField
public class XPField
Describes a field on a type.
Constructor Summary | |
---|---|
XPField(java.lang.reflect.Field field)
Constructs a XPField object. |
Method Summary | |
---|---|
XPType |
GetFieldType()
Gets the type/class of the field. |
java.lang.String |
GetName()
Gets the field name. |
java.lang.Object |
GetValue(java.lang.Object obj)
Gets the field value as an object. |
boolean |
IsPublic()
Gets whether the field is public. |
boolean |
IsStatic()
Gets whether the field is static. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPField(java.lang.reflect.Field field)
field
- a java.lang.reflect.Field objectMethod Detail |
---|
public java.lang.String GetName()
public XPType GetFieldType()
public java.lang.Object GetValue(java.lang.Object obj)
obj
- the instance to read the value of the field from, or public boolean IsStatic()
public boolean IsPublic()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |