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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ATTRIBUTE_GROUPprotected ATTRIBUTE_GROUPprotected Map<Object,ATTRIBUTE_GROUP> protected ATTRIBUTE_GROUPprotected Map<Object,ATTRIBUTE_GROUP> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCoreAttributeItem(ATTRIBUTE_GROUP parent, String attributeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroups(Collection<ATTRIBUTE_GROUP> groups) INTERNAL: Adds the list of groups as to the itemvoidaddKeyGroup(ATTRIBUTE_GROUP keyGroup) voidaddKeyGroups(Collection<ATTRIBUTE_GROUP> keyGroups) voidaddSubGroup(ATTRIBUTE_GROUP group) clone(Map<ATTRIBUTE_GROUP, ATTRIBUTE_GROUP> cloneMap, ATTRIBUTE_GROUP parentClone) voidconvertClassNamesToClasses(ClassLoader classLoader) INTERNAL: Convert all the class-name-based settings in this Descriptor to actual class-based settings.booleangetGroup()getKeyGroup(Class type) inthashCode()protected static booleanorderInheritance(CoreAttributeGroup group, Map<Object, ? extends CoreAttributeGroup> subGroups) Will order the subGroups based on hierarchy.voidsetRootGroup(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
-