|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.metadata.annotations.Member
public class Member
Wrapper for a field or a method (property) that is annotated.
| Constructor Summary | |
|---|---|
Member(java.lang.reflect.Field field)
Constructor. |
|
Member(java.lang.reflect.Method method)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.reflect.Type |
getGenericType()
Accessor to the generic type |
int |
getModifiers()
Accessor to the field / method modifiers |
java.lang.String |
getName()
Field name or Method name (without get/set/is prefix) |
java.lang.Class |
getType()
Accessor to the field or method return type. |
boolean |
isProperty()
If this class is a field or method (property). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Member(java.lang.reflect.Field field)
field - The fieldpublic Member(java.lang.reflect.Method method)
method - The method| Method Detail |
|---|
public java.lang.String getName()
public boolean isProperty()
public java.lang.Class getType()
public int getModifiers()
public java.lang.reflect.Type getGenericType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||