Module org.eclipse.persistence.jpa
Class XMLAttributes
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.accessors.classes.XMLAttributes
- Direct Known Subclasses:
Attributes
Object to represent all the attributes of an XML defined entity,
mapped-superclass or embeddable.
Key notes:
- any metadata mapped from XML to this class must be compared in the
equals method.
- any metadata mapped from XML to this class must be handled in the merge
method. (merging is done at the accessor/mapping level)
- any metadata mapped from XML to this class must be initialized in the
initXMLObject method.
- methods should be preserved in alphabetical order.
- Since:
- EclipseLink 1.0
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
INTERNAL:INTERNAL: This list is not cached and should not be cached since our accessors may change in a merge.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.getIds()
INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.int
hashCode()
void
initXMLObject
(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL: This is going to initialize the accessible objects.void
merge
(ORMetadata metadata) INTERNAL: Since we are controlling the merging and we know we'll be comparing apples with apples, the casting is safe to assume.void
setArrays
(List<ArrayAccessor> arrays) INTERNAL: Used for OX mapping.void
setBasicCollections
(List<BasicCollectionAccessor> basicCollections) INTERNAL: Used for OX mapping.void
setBasicMaps
(List<BasicMapAccessor> basicMaps) INTERNAL: Used for OX mapping.void
setBasics
(List<BasicAccessor> basics) INTERNAL: Used for OX mapping.void
setElementCollections
(List<ElementCollectionAccessor> elementCollections) INTERNAL: Used for OX mapping.void
setEmbeddedId
(EmbeddedIdAccessor embeddedId) INTERNAL: Used for OX mapping.void
setEmbeddeds
(List<EmbeddedAccessor> embeddeds) INTERNAL: Used for OX mapping.void
setIds
(List<IdAccessor> ids) INTERNAL: Used for OX mapping.void
setManyToManys
(List<ManyToManyAccessor> manyToManys) INTERNAL: Used for OX mapping.void
setManyToOnes
(List<ManyToOneAccessor> manyToOnes) INTERNAL: Used for OX mapping.void
setOneToManys
(List<OneToManyAccessor> oneToManys) INTERNAL: Used for OX mapping.void
setOneToOnes
(List<OneToOneAccessor> oneToOnes) INTERNAL: Used for OX mapping.void
setStructures
(List<StructureAccessor> structures) INTERNAL: Used for OX mapping.void
setTransformations
(List<TransformationAccessor> transformations) INTERNAL: Used for OX mapping.void
setTransients
(List<TransientAccessor> transients) INTERNAL: Used for OX mapping.void
setVariableOneToOnes
(List<VariableOneToOneAccessor> variableOneToOnes) INTERNAL: Used for OX mapping.void
setVersions
(List<VersionAccessor> versions) INTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
getAccessibleObject, getAccessibleObjectName, getAnnotation, getBoxedType, getDatabaseTypeEnum, getEntityMappings, getFullyQualifiedClassName, getIdentifier, getJavaClass, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getName, getPrimitiveClassForName, getProject, getText, getXMLElement, hasIdentifier, hasText, initXMLClassName, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Constructor Details
-
XMLAttributes
public XMLAttributes()INTERNAL:
-
-
Method Details
-
equals
INTERNAL:- Specified by:
equals
in classORMetadata
-
hashCode
public int hashCode() -
getAccessors
INTERNAL: This list is not cached and should not be cached since our accessors may change in a merge. The accessors list gets rebuilt every time this method is called (which should only ever be once!) -
getArrays
INTERNAL: Used for OX mapping. -
getBasicCollections
INTERNAL: Used for OX mapping. -
getBasicMaps
INTERNAL: Used for OX mapping. -
getBasics
INTERNAL: Used for OX mapping. -
getElementCollections
INTERNAL: Used for OX mapping. -
getEmbeddedId
INTERNAL: Used for OX mapping. -
getEmbeddeds
INTERNAL: Used for OX mapping. -
getIds
INTERNAL: Used for OX mapping. -
getManyToManys
INTERNAL: Used for OX mapping. -
getManyToOnes
INTERNAL: Used for OX mapping. -
getOneToManys
INTERNAL: Used for OX mapping. -
getOneToOnes
INTERNAL: Used for OX mapping. -
getStructures
INTERNAL: Used for OX mapping. -
getTransformations
INTERNAL: Used for OX mapping. -
getTransients
INTERNAL: Used for OX mapping. -
getVariableOneToOnes
INTERNAL: Used for OX mapping. -
getVersions
INTERNAL: Used for OX mapping. -
initXMLObject
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL: This is going to initialize the accessible objects.- Overrides:
initXMLObject
in classORMetadata
-
merge
INTERNAL: Since we are controlling the merging and we know we'll be comparing apples with apples, the casting is safe to assume.- Overrides:
merge
in classORMetadata
-
setArrays
INTERNAL: Used for OX mapping. -
setBasicCollections
INTERNAL: Used for OX mapping. -
setBasicMaps
INTERNAL: Used for OX mapping. -
setBasics
INTERNAL: Used for OX mapping. -
setElementCollections
INTERNAL: Used for OX mapping. -
setEmbeddedId
INTERNAL: Used for OX mapping. -
setEmbeddeds
INTERNAL: Used for OX mapping. -
setIds
INTERNAL: Used for OX mapping. -
setManyToManys
INTERNAL: Used for OX mapping. -
setManyToOnes
INTERNAL: Used for OX mapping. -
setOneToManys
INTERNAL: Used for OX mapping. -
setOneToOnes
INTERNAL: Used for OX mapping. -
setStructures
INTERNAL: Used for OX mapping. -
setTransformations
INTERNAL: Used for OX mapping. -
setTransients
INTERNAL: Used for OX mapping. -
setVariableOneToOnes
INTERNAL: Used for OX mapping. -
setVersions
INTERNAL: Used for OX mapping.
-