public class CoreAttributeItem<ATTRIBUTE_GROUP extends CoreAttributeGroup>
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
attributeName |
protected ATTRIBUTE_GROUP |
group |
protected ATTRIBUTE_GROUP |
keyGroup |
protected java.util.Map<java.lang.Object,ATTRIBUTE_GROUP> |
keyGroups |
protected ATTRIBUTE_GROUP |
parent |
protected java.util.Map<java.lang.Object,ATTRIBUTE_GROUP> |
subGroups |
Modifier | Constructor and Description |
---|---|
protected |
CoreAttributeItem() |
|
CoreAttributeItem(ATTRIBUTE_GROUP parent,
java.lang.String attributeName) |
Modifier and Type | Method and Description |
---|---|
void |
addGroups(java.util.Collection<ATTRIBUTE_GROUP> groups)
INTERNAL:
Adds the list of groups as to the item
|
void |
addKeyGroup(ATTRIBUTE_GROUP keyGroup) |
void |
addKeyGroups(java.util.Collection<ATTRIBUTE_GROUP> keyGroups) |
void |
addSubGroup(ATTRIBUTE_GROUP group) |
CoreAttributeItem<ATTRIBUTE_GROUP> |
clone(java.util.Map<ATTRIBUTE_GROUP,ATTRIBUTE_GROUP> cloneMap,
ATTRIBUTE_GROUP parentClone) |
void |
convertClassNamesToClasses(java.lang.ClassLoader classLoader)
INTERNAL:
Convert all the class-name-based settings in this Descriptor to actual class-based
settings.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeName() |
ATTRIBUTE_GROUP |
getGroup() |
ATTRIBUTE_GROUP |
getGroup(java.lang.Class type) |
java.util.Map<java.lang.Object,ATTRIBUTE_GROUP> |
getGroups() |
ATTRIBUTE_GROUP |
getKeyGroup() |
ATTRIBUTE_GROUP |
getKeyGroup(java.lang.Class type) |
java.util.Map<java.lang.Object,ATTRIBUTE_GROUP> |
getKeyGroups() |
ATTRIBUTE_GROUP |
getParent() |
protected static boolean |
orderInheritance(CoreAttributeGroup group,
java.util.Map<java.lang.Object,? extends CoreAttributeGroup> subGroups)
Will order the subGroups based on hierarchy.
|
void |
setRootGroup(ATTRIBUTE_GROUP group) |
java.lang.String |
toString() |
java.lang.String |
toStringNoClassName() |
protected java.lang.String attributeName
protected ATTRIBUTE_GROUP extends CoreAttributeGroup parent
protected ATTRIBUTE_GROUP extends CoreAttributeGroup group
protected ATTRIBUTE_GROUP extends CoreAttributeGroup keyGroup
protected java.util.Map<java.lang.Object,ATTRIBUTE_GROUP extends CoreAttributeGroup> subGroups
protected java.util.Map<java.lang.Object,ATTRIBUTE_GROUP extends CoreAttributeGroup> keyGroups
protected CoreAttributeItem()
public CoreAttributeItem(ATTRIBUTE_GROUP parent, java.lang.String attributeName)
public void addGroups(java.util.Collection<ATTRIBUTE_GROUP> groups)
public void addKeyGroup(ATTRIBUTE_GROUP keyGroup)
public void addKeyGroups(java.util.Collection<ATTRIBUTE_GROUP> keyGroups)
public void addSubGroup(ATTRIBUTE_GROUP group)
public CoreAttributeItem<ATTRIBUTE_GROUP> clone(java.util.Map<ATTRIBUTE_GROUP,ATTRIBUTE_GROUP> cloneMap, ATTRIBUTE_GROUP parentClone)
public void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
classLoader
- public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getAttributeName()
public ATTRIBUTE_GROUP getGroup()
public ATTRIBUTE_GROUP getGroup(java.lang.Class type)
public java.util.Map<java.lang.Object,ATTRIBUTE_GROUP> getGroups()
public ATTRIBUTE_GROUP getKeyGroup()
public ATTRIBUTE_GROUP getKeyGroup(java.lang.Class type)
public java.util.Map<java.lang.Object,ATTRIBUTE_GROUP> getKeyGroups()
public ATTRIBUTE_GROUP getParent()
protected static boolean orderInheritance(CoreAttributeGroup group, java.util.Map<java.lang.Object,? extends CoreAttributeGroup> subGroups)
group
- subGroups
- public void setRootGroup(ATTRIBUTE_GROUP group)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringNoClassName()