Class CoreAttributeItem<ATTRIBUTE_GROUP extends CoreAttributeGroup>
java.lang.Object
org.eclipse.persistence.core.queries.CoreAttributeItem<ATTRIBUTE_GROUP>
- All Implemented Interfaces:
Serializable
,Cloneable
public class CoreAttributeItem<ATTRIBUTE_GROUP extends CoreAttributeGroup>
extends Object
implements Serializable, Cloneable
INTERNAL
Purpose: Generic superclass for AttributeItem.
- See Also:
- Author:
- matt macivor
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected ATTRIBUTE_GROUP
protected ATTRIBUTE_GROUP
protected Map<Object,
ATTRIBUTE_GROUP> protected ATTRIBUTE_GROUP
protected Map<Object,
ATTRIBUTE_GROUP> -
Constructor Summary
ModifierConstructorDescriptionprotected
CoreAttributeItem
(ATTRIBUTE_GROUP parent, String attributeName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addGroups
(Collection<ATTRIBUTE_GROUP> groups) INTERNAL: Adds the list of groups as to the itemvoid
addKeyGroup
(ATTRIBUTE_GROUP keyGroup) void
addKeyGroups
(Collection<ATTRIBUTE_GROUP> keyGroups) void
addSubGroup
(ATTRIBUTE_GROUP group) clone
(Map<ATTRIBUTE_GROUP, ATTRIBUTE_GROUP> cloneMap, ATTRIBUTE_GROUP parentClone) void
convertClassNamesToClasses
(ClassLoader classLoader) INTERNAL: Convert all the class-name-based settings in this Descriptor to actual class-based settings.boolean
getGroup()
getKeyGroup
(Class type) int
hashCode()
protected static boolean
orderInheritance
(CoreAttributeGroup group, Map<Object, ? extends CoreAttributeGroup> subGroups) Will order the subGroups based on hierarchy.void
setRootGroup
(ATTRIBUTE_GROUP group) toString()
-
Field Details
-
attributeName
-
parent
-
group
-
keyGroup
-
subGroups
-
keyGroups
-
-
Constructor Details
-
CoreAttributeItem
protected CoreAttributeItem() -
CoreAttributeItem
-
-
Method Details
-
addGroups
INTERNAL: Adds the list of groups as to the item -
addKeyGroup
-
addKeyGroups
-
addSubGroup
-
clone
public CoreAttributeItem<ATTRIBUTE_GROUP> clone(Map<ATTRIBUTE_GROUP, ATTRIBUTE_GROUP> cloneMap, ATTRIBUTE_GROUP parentClone) -
convertClassNamesToClasses
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
-
hashCode
public int hashCode() -
getAttributeName
-
getGroup
-
getGroup
-
getGroups
-
getKeyGroup
-
getKeyGroup
-
getKeyGroups
-
getParent
-
orderInheritance
protected static boolean orderInheritance(CoreAttributeGroup group, Map<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
-
toString
-
toStringNoClassName
-