Package net.sf.basedb.core
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 Summary
Fields Modifier and Type Field Description int
annotationId
The ID of the annotation.int
itemId
The ID of the item the annotation belongs to.int
overrideId
The ID of the default annotation this value is overriding.int
projectId
The ID of the project if the value is a project-specific annotation, or 0 if this is a default annotation.Integer
unitId
The ID of the unit that has been selected for this annotation.T
value
The value. -
Constructor Summary
Constructors Constructor Description FastAnnotation(Object[] data)
-
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)
-