|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.BasicData net.sf.basedb.core.data.AnnotationData
public class AnnotationData
This class holds information about an annotation
Annotation
,
Annotations overviewField Summary | |
---|---|
private AnnotationSetData |
annotationSet
|
private AnnotationTypeData |
annotationType
|
private Set<AnnotationSetData> |
inheritingSets
|
private Date |
lastUpdate
|
private UnitData |
unit
|
private ParameterValueData<?> |
values
|
Constructor Summary | |
---|---|
AnnotationData()
|
Method Summary | |
---|---|
AnnotationSetData |
getAnnotationSet()
Get the annotation set this annotation primarily belongs to. |
AnnotationTypeData |
getAnnotationType()
Get the type of this annotation. |
(package private) Set<AnnotationSetData> |
getInheritingSets()
The annotation sets which inherit this annotation. |
Date |
getLastUpdate()
Get the date and time the values in this annotation was last updated. |
UnitData |
getUnit()
Get the unit used for the annotation values. |
ParameterValueData<?> |
getValues()
The values of this annotation. |
void |
setAnnotationSet(AnnotationSetData annotationSet)
|
void |
setAnnotationType(AnnotationTypeData annotationType)
|
(package private) void |
setInheritingSets(Set<AnnotationSetData> inheritingSets)
|
void |
setLastUpdate(Date lastUpdate)
|
void |
setUnit(UnitData unit)
|
void |
setValues(ParameterValueData<?> values)
|
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private AnnotationSetData annotationSet
private AnnotationTypeData annotationType
private UnitData unit
private ParameterValueData<?> values
private Date lastUpdate
private Set<AnnotationSetData> inheritingSets
Constructor Detail |
---|
public AnnotationData()
Method Detail |
---|
public AnnotationSetData getAnnotationSet()
public void setAnnotationSet(AnnotationSetData annotationSet)
public AnnotationTypeData getAnnotationType()
public void setAnnotationType(AnnotationTypeData annotationType)
public UnitData getUnit()
public void setUnit(UnitData unit)
public ParameterValueData<?> getValues()
public void setValues(ParameterValueData<?> values)
public Date getLastUpdate()
Date
object, or null if not knownpublic void setLastUpdate(Date lastUpdate)
Set<AnnotationSetData> getInheritingSets()
AnnotationSetData.getInherited()
void setInheritingSets(Set<AnnotationSetData> inheritingSets)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |