Class FastAnnotationLoader.FastAnnotation<T>

java.lang.Object
net.sf.basedb.core.FastAnnotationLoader.FastAnnotation<T>
Enclosing class:
FastAnnotationLoader<T>

public static class FastAnnotationLoader.FastAnnotation<T>
extends Object
Holds information about a single annotation value.
  • Field Details

    • value

      public final T value
      The value.
    • itemId

      public final int itemId
      The ID of the item the annotation belongs to.
    • annotationId

      public final int annotationId
      The ID of the annotation. If the annotation type support multiple values, they all have the same value here.
    • projectId

      public final int projectId
      The ID of the project if the value is a project-specific annotation, or 0 if this is a default annotation.
    • overrideId

      public final int overrideId
      The ID of the default annotation this value is overriding. This value is 0 for default annotations and for project-specific annotations where no default value exists.
    • unitId

      public final Integer unitId
      The ID of the unit that has been selected for this annotation. Note that the 'value' is always in the unit specified by the annotation type.
  • Constructor Details

    • FastAnnotation

      FastAnnotation​(Object[] data)