org.eclipse.persistence.core.queries
Class CoreAttributeItem<ATTRIBUTE_GROUP extends CoreAttributeGroup>
java.lang.Object
org.eclipse.persistence.core.queries.CoreAttributeItem<ATTRIBUTE_GROUP>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class CoreAttributeItem<ATTRIBUTE_GROUP extends CoreAttributeGroup>
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
INTERNAL
Purpose: Generic superclass for AttributeItem.
- See Also:
- Serialized Form
- Author:
- matt macivor
- Since:
- EclipseLink 2.5
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
attributeName
protected java.lang.String attributeName
parent
protected ATTRIBUTE_GROUP extends CoreAttributeGroup parent
group
protected ATTRIBUTE_GROUP extends CoreAttributeGroup group
keyGroup
protected ATTRIBUTE_GROUP extends CoreAttributeGroup keyGroup
subGroups
protected java.util.Map<java.lang.Object,ATTRIBUTE_GROUP extends CoreAttributeGroup> subGroups
keyGroups
protected java.util.Map<java.lang.Object,ATTRIBUTE_GROUP extends CoreAttributeGroup> keyGroups
CoreAttributeItem
protected CoreAttributeItem()
CoreAttributeItem
public CoreAttributeItem(ATTRIBUTE_GROUP parent,
java.lang.String attributeName)
addGroups
public void addGroups(java.util.Collection<ATTRIBUTE_GROUP> groups)
- INTERNAL:
Adds the list of groups as to the item
addKeyGroup
public void addKeyGroup(ATTRIBUTE_GROUP keyGroup)
addKeyGroups
public void addKeyGroups(java.util.Collection<ATTRIBUTE_GROUP> keyGroups)
addSubGroup
public void addSubGroup(ATTRIBUTE_GROUP group)
clone
public CoreAttributeItem<ATTRIBUTE_GROUP> clone(java.util.Map<ATTRIBUTE_GROUP,ATTRIBUTE_GROUP> cloneMap,
ATTRIBUTE_GROUP parentClone)
convertClassNamesToClasses
public void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
- INTERNAL:
Convert all the class-name-based settings in this Descriptor to actual class-based
settings. This method is used when converting a project that has been built
with class names to a project with classes.
- Parameters:
classLoader
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getAttributeName
public java.lang.String getAttributeName()
getGroup
public ATTRIBUTE_GROUP getGroup()
getGroup
public ATTRIBUTE_GROUP getGroup(java.lang.Class type)
getGroups
public java.util.Map<java.lang.Object,ATTRIBUTE_GROUP> getGroups()
getKeyGroup
public ATTRIBUTE_GROUP getKeyGroup()
getKeyGroup
public ATTRIBUTE_GROUP getKeyGroup(java.lang.Class type)
getKeyGroups
public java.util.Map<java.lang.Object,ATTRIBUTE_GROUP> getKeyGroups()
getParent
public ATTRIBUTE_GROUP getParent()
orderInheritance
protected static boolean orderInheritance(CoreAttributeGroup group,
java.util.Map<java.lang.Object,? extends CoreAttributeGroup> subGroups)
- Will order the subGroups based on hierarchy. Returns true if the group is the new root.
- Parameters:
group
- subGroups
-
- Returns:
- true if the group is the new root.
setRootGroup
public void setRootGroup(ATTRIBUTE_GROUP group)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toStringNoClassName
public java.lang.String toStringNoClassName()