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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanINTERNAL: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.inthashCode()voidinitXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL: This is going to initialize the accessible objects.voidmerge(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.voidsetArrays(List<ArrayAccessor> arrays) INTERNAL: Used for OX mapping.voidsetBasicCollections(List<BasicCollectionAccessor> basicCollections) INTERNAL: Used for OX mapping.voidsetBasicMaps(List<BasicMapAccessor> basicMaps) INTERNAL: Used for OX mapping.voidsetBasics(List<BasicAccessor> basics) INTERNAL: Used for OX mapping.voidsetElementCollections(List<ElementCollectionAccessor> elementCollections) INTERNAL: Used for OX mapping.voidsetEmbeddedId(EmbeddedIdAccessor embeddedId) INTERNAL: Used for OX mapping.voidsetEmbeddeds(List<EmbeddedAccessor> embeddeds) INTERNAL: Used for OX mapping.voidsetIds(List<IdAccessor> ids) INTERNAL: Used for OX mapping.voidsetManyToManys(List<ManyToManyAccessor> manyToManys) INTERNAL: Used for OX mapping.voidsetManyToOnes(List<ManyToOneAccessor> manyToOnes) INTERNAL: Used for OX mapping.voidsetOneToManys(List<OneToManyAccessor> oneToManys) INTERNAL: Used for OX mapping.voidsetOneToOnes(List<OneToOneAccessor> oneToOnes) INTERNAL: Used for OX mapping.voidsetStructures(List<StructureAccessor> structures) INTERNAL: Used for OX mapping.voidsetTransformations(List<TransformationAccessor> transformations) INTERNAL: Used for OX mapping.voidsetTransients(List<TransientAccessor> transients) INTERNAL: Used for OX mapping.voidsetVariableOneToOnes(List<VariableOneToOneAccessor> variableOneToOnes) INTERNAL: Used for OX mapping.voidsetVersions(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:
equalsin 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:
initXMLObjectin 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:
mergein 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.
-