public class NamedSubgraphMetadata extends ORMetadata
| Modifier and Type | Field and Description |
|---|---|
protected String |
m_name |
protected List<NamedAttributeNodeMetadata> |
m_namedAttributeNodes |
protected MetadataClass |
m_type |
protected String |
m_typeName |
m_project| Constructor and Description |
|---|
NamedSubgraphMetadata()
INTERNAL:
Used for XML loading.
|
NamedSubgraphMetadata(MetadataAnnotation namedSubgraph,
ClassAccessor accessor)
INTERNAL:
Used for annotation loading.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
INTERNAL:
Used for XML merging and overriding.
|
String |
getIdentifier()
INTERNAL:
The unique identifier of named subgraph metadata.
|
String |
getName()
INTERNAL:
Used for OX mapping.
|
List<NamedAttributeNodeMetadata> |
getNamedAttributeNodes()
INTERNAL:
Used for OX mapping.
|
String |
getTypeClassName()
INTERNAL:
|
String |
getTypeName()
INTERNAL:
Used for OX mapping.
|
int |
hashCode() |
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
void |
process(Map<String,Map<String,AttributeGroup>> attributeGraphs)
INTERNAL:
Process the named subgraph metadata into a new attribute group.
|
void |
processAttributeNodes(Map<String,Map<String,AttributeGroup>> attributeGraphs,
AttributeGroup subgraph,
AttributeGroup entityGraph)
INTERNAL:
Process the named subgraph metadata attribute nodes.
|
void |
setName(String name)
INTERNAL:
Used for OX mapping.
|
void |
setNamedAttributeNodes(List<NamedAttributeNodeMetadata> namedAttributeNodes)
INTERNAL:
Used for OX mapping.
|
void |
setType(MetadataClass type)
INTERNAL:
|
void |
setTypeName(String typeName)
INTERNAL:
Used for OX mapping.
|
getAccessibleObject, getAccessibleObjectName, getAnnotation, getBoxedType, getDatabaseTypeEnum, getEntityMappings, getFullyQualifiedClassName, getJavaClass, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getName, getPrimitiveClassForName, getProject, getText, getXMLElement, hasIdentifier, hasText, initXMLClassName, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatchprotected String m_name
protected MetadataClass m_type
protected String m_typeName
protected List<NamedAttributeNodeMetadata> m_namedAttributeNodes
public NamedSubgraphMetadata()
public NamedSubgraphMetadata(MetadataAnnotation namedSubgraph, ClassAccessor accessor)
public boolean equals(Object objectToCompare)
equals in class ORMetadatapublic String getIdentifier()
public String getName()
public List<NamedAttributeNodeMetadata> getNamedAttributeNodes()
public String getTypeClassName()
public String getTypeName()
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
initXMLObject in class ORMetadatapublic void process(Map<String,Map<String,AttributeGroup>> attributeGraphs)
public void processAttributeNodes(Map<String,Map<String,AttributeGroup>> attributeGraphs, AttributeGroup subgraph, AttributeGroup entityGraph)
public void setName(String name)
public void setNamedAttributeNodes(List<NamedAttributeNodeMetadata> namedAttributeNodes)
public void setType(MetadataClass type)
public void setTypeName(String typeName)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.