public static class AnnotationBatcher.CurrentAnnotationInfo extends java.lang.Object implements LoggableData
AnnotationLogger
.Modifier and Type | Field and Description |
---|---|
(package private) java.lang.Integer |
annotationId |
(package private) AnnotationType |
annotationType |
(package private) Unit |
defaultUnit |
(package private) boolean |
hasBeenUsed |
(package private) int |
itemId |
(package private) Item |
itemType |
(package private) java.util.Date |
lastUpdated |
(package private) java.util.List<?> |
newValues |
(package private) int |
overrideId |
(package private) int |
projectId |
(package private) java.lang.Integer |
unitId |
(package private) boolean |
useProjectAnnotations |
(package private) int |
valueId |
(package private) java.util.List<java.lang.Object> |
values |
(package private) Type |
valueType |
(package private) int |
version |
Constructor and Description |
---|
CurrentAnnotationInfo(AnnotationType at,
Item itemType) |
Modifier and Type | Method and Description |
---|---|
AnnotationType |
getAnnotationType()
Get the annotation type.
|
Unit |
getDefaultUnit()
Get the default unit for the annotation type.
|
int |
getItemId()
Get the id of the current item.
|
Item |
getItemType()
Get the item type of the item.
|
java.util.List<?> |
getNewValues()
Get the new annotation values.
|
java.util.List<?> |
getOldValues()
Get the old annotation values.
|
java.lang.Integer |
getUnitId()
Get the ID of the unit this annotation is using.
|
Type |
getValueType()
Shortcut to
AnnotationType.getValueType() . |
final AnnotationType annotationType
final Type valueType
final Unit defaultUnit
final Item itemType
final boolean useProjectAnnotations
int itemId
boolean hasBeenUsed
java.lang.Integer annotationId
int version
java.lang.Integer unitId
int valueId
java.util.Date lastUpdated
int projectId
int overrideId
final java.util.List<java.lang.Object> values
java.util.List<?> newValues
CurrentAnnotationInfo(AnnotationType at, Item itemType)
public AnnotationType getAnnotationType()
public Type getValueType()
AnnotationType.getValueType()
.public Unit getDefaultUnit()
AnnotationType.getDefaultUnit()
public Item getItemType()
public int getItemId()
public java.lang.Integer getUnitId()
public java.util.List<?> getOldValues()
public java.util.List<?> getNewValues()