Class AbstractProperty

java.lang.Object
com.googlecode.objectify.impl.AbstractProperty
All Implemented Interfaces:
Property
Direct Known Subclasses:
FieldProperty, MethodProperty

public abstract class AbstractProperty extends Object implements Property
Some common behavior of properties
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Property
      Get the primary name associated with this property
      Specified by:
      getName in interface Property
    • getLoadNames

      public String[] 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 interface Property
    • getAnnotation

      public <A extends Annotation> A getAnnotation(Class<A> annoClass)
      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 interface Property
    • getAnnotations

      public Annotation[] getAnnotations()
      Description copied from interface: Property
      Enumerate the annotations
      Specified by:
      getAnnotations in interface Property