- java.lang.Object
-
- org.datanucleus.metadata.annotations.Member
-
public class Member extends Object
Wrapper for a field or a method (property) that is annotated.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
getGenericType()
Accessor to the generic typeint
getModifiers()
Accessor to the field / method modifiersString
getName()
Field name or Method name (without get/set/is prefix)Class
getType()
Accessor to the field or method return type.boolean
isProperty()
If this class is a field or method (property).
-
-
-
Method Detail
-
getName
public String getName()
Field name or Method name (without get/set/is prefix)- Returns:
- Name of the field or property.
-
isProperty
public boolean isProperty()
If this class is a field or method (property).- Returns:
- true if it is a method (property). false if it is a field.
-
getType
public Class getType()
Accessor to the field or method return type.- Returns:
- Type of the field/property
-
getModifiers
public int getModifiers()
Accessor to the field / method modifiers- Returns:
- modifiers for the field/method.
-
getGenericType
public Type getGenericType()
Accessor to the generic type- Returns:
- Generic type
-
-