Package net.sf.basedb.core
Class FastAnnotationLoader.FastAnnotation<T>
java.lang.Object
net.sf.basedb.core.FastAnnotationLoader.FastAnnotation<T>
- Enclosing class:
- FastAnnotationLoader<T>
Holds information about a single annotation value.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
The ID of the annotation.final int
The ID of the item the annotation belongs to.final int
The ID of the default annotation this value is overriding.final int
The ID of the project if the value is a project-specific annotation, or 0 if this is a default annotation.final Integer
The ID of the unit that has been selected for this annotation.final T
The value. -
Constructor Summary
-
Method Summary
-
Field Details
-
value
The value. -
itemId
public final int itemIdThe ID of the item the annotation belongs to. -
annotationId
public final int annotationIdThe ID of the annotation. If the annotation type support multiple values, they all have the same value here. -
projectId
public final int projectIdThe ID of the project if the value is a project-specific annotation, or 0 if this is a default annotation. -
overrideId
public final int overrideIdThe 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
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)
-