|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.AnnotationSetData
public class AnnotationSetData
This class holds information about a set of annotations.
AnnotationSet,
Developer documentation: Annotations| Field Summary | |
|---|---|
private Map<AnnotationTypeData,AnnotationData> |
annotations
|
private Set<AnnotationData> |
inherited
|
private Set<AnnotationSetData> |
inheritedSets
|
private Set<AnnotationSetData> |
inheritingSets
|
private Integer |
itemId
|
private int |
itemType
|
| Constructor Summary | |
|---|---|
AnnotationSetData()
|
|
| Method Summary | |
|---|---|
Map<AnnotationTypeData,AnnotationData> |
getAnnotations()
The primary annotations in this annotation set. |
Set<AnnotationData> |
getInherited()
Annotations that are inherited from other annotation sets. |
Set<AnnotationSetData> |
getInheritedSets()
Annotation sets from which this set should inherit all annotations. |
(package private) Set<AnnotationSetData> |
getInheritingSets()
Annotation sets inherting annotations from this set. |
Integer |
getItemId()
The ID if the item this annotation set is associated with. |
int |
getItemType()
Get the item type this annotation set is associated with. |
(package private) void |
setAnnotations(Map<AnnotationTypeData,AnnotationData> annotations)
|
(package private) void |
setInherited(Set<AnnotationData> inherited)
|
(package private) void |
setInheritedSets(Set<AnnotationSetData> inheritedSets)
|
(package private) void |
setInheritingSets(Set<AnnotationSetData> inheritingSets)
|
void |
setItemId(Integer itemId)
|
void |
setItemType(int itemType)
|
| 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 int itemType
private Integer itemId
private Map<AnnotationTypeData,AnnotationData> annotations
private Set<AnnotationData> inherited
private Set<AnnotationSetData> inheritedSets
private Set<AnnotationSetData> inheritingSets
| Constructor Detail |
|---|
public AnnotationSetData()
| Method Detail |
|---|
public int getItemType()
public void setItemType(int itemType)
public Integer getItemId()
public void setItemId(Integer itemId)
public Map<AnnotationTypeData,AnnotationData> getAnnotations()
AnnotationData.getAnnotationSet(),
AnnotationData.getAnnotationType()void setAnnotations(Map<AnnotationTypeData,AnnotationData> annotations)
public Set<AnnotationData> getInherited()
getInheritingSets()void setInherited(Set<AnnotationData> inherited)
public Set<AnnotationSetData> getInheritedSets()
getInheritingSets()void setInheritedSets(Set<AnnotationSetData> inheritedSets)
Set<AnnotationSetData> getInheritingSets()
getInheritedSets()void setInheritingSets(Set<AnnotationSetData> inheritingSets)
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||