public class AnnotationSetData extends BasicData implements LoggableData, Serializable
AnnotationSet
,
Developer documentation: Annotations,
Serialized FormModifier and Type | Field and Description |
---|---|
private Map<AnnotationTypeData,AnnotationData> |
annotations |
private Set<AnnotationData> |
inherited |
private Set<AnnotationSetData> |
inheritedSets |
private Set<AnnotationSetData> |
inheritingSets |
private Integer |
itemId |
private int |
itemType |
private static long |
serialVersionUID |
Constructor and Description |
---|
AnnotationSetData() |
Modifier and Type | Method and Description |
---|---|
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) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
private static final long serialVersionUID
private transient int itemType
private transient Integer itemId
private transient Map<AnnotationTypeData,AnnotationData> annotations
private transient Set<AnnotationData> inherited
private transient Set<AnnotationSetData> inheritedSets
private transient Set<AnnotationSetData> inheritingSets
public int getItemType()
public void setItemType(int itemType)
@NotLoggable public Integer getItemId()
public void setItemId(Integer itemId)
@NotLoggable 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)