Package com.googlecode.objectify.impl
Class AbstractProperty
java.lang.Object
com.googlecode.objectify.impl.AbstractProperty
- All Implemented Interfaces:
Property
- Direct Known Subclasses:
FieldProperty
,MethodProperty
Some common behavior of properties
-
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
AgetAnnotation
(Class<A> annoClass) Get an annotation on this type, or null if there is no annotation of that typeEnumerate the annotationsString[]
Get all the names associated with this property (ie, due to @AlsoLoad).getName()
Get the primary name associated with this property
-
Method Details
-
getName
Description copied from interface:Property
Get the primary name associated with this property -
getLoadNames
Description copied from interface:Property
Get all the names associated with this property (ie, due to @AlsoLoad). Includes the primary name unless it is @IgnoreLoad.- Specified by:
getLoadNames
in interfaceProperty
-
getAnnotation
Description copied from interface:Property
Get an annotation on this type, or null if there is no annotation of that type- Specified by:
getAnnotation
in interfaceProperty
-
getAnnotations
Description copied from interface:Property
Enumerate the annotations- Specified by:
getAnnotations
in interfaceProperty
-