Module org.eclipse.persistence.jpa
Class SQLResultSetMappingMetadata
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.SQLResultSetMappingMetadata
INTERNAL:
 Object to hold onto an sql result mapping metadata.
 Key notes:
 - any metadata mapped from XML to this class must be compared in the
   equals method.
 - all metadata mapped from XML must be initialized in the initXMLObject
   method.
 - when loading from annotations, the constructor accepts the metadata
   accessor this metadata was loaded from. Used it to look up any
   'companion' annotation needed for processing.
 - methods should be preserved in alphabetical order.
- Since:
- TopLink EJB 3.0 Reference Implementation
- 
Field SummaryFields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadatam_project
- 
Constructor SummaryConstructorsConstructorDescriptionINTERNAL: Used for XML loading.SQLResultSetMappingMetadata(MetadataAnnotation sqlResultSetMapping, MetadataAccessor accessor) INTERNAL: Used for annotation loading.SQLResultSetMappingMetadata(MetadataClass entityClass, MetadataAccessibleObject accessibleObject, MetadataProject project, Object location) INTERNAL: Used for result class processing.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanINTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL:getName()INTERNAL: Used for OX mapping.inthashCode()voidinitXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:process()INTERNAL: Process an sql result set mapping metadata into a EclipseLink SqlResultSetMapping and store it on the session.voidsetColumnResults(List<ColumnResultMetadata> columnResults) INTERNAL: Used for OX mapping.voidsetConstructorResults(List<ConstructorResultMetadata> constructorResults) INTERNAL: Used for OX mapping.voidsetEntityResults(List<EntityResultMetadata> entityResults) INTERNAL: Used for OX mapping.voidINTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadatagetAccessibleObject, 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, valuesMatch
- 
Constructor Details- 
SQLResultSetMappingMetadatapublic SQLResultSetMappingMetadata()INTERNAL: Used for XML loading.
- 
SQLResultSetMappingMetadatapublic SQLResultSetMappingMetadata(MetadataAnnotation sqlResultSetMapping, MetadataAccessor accessor) INTERNAL: Used for annotation loading.
- 
SQLResultSetMappingMetadatapublic SQLResultSetMappingMetadata(MetadataClass entityClass, MetadataAccessibleObject accessibleObject, MetadataProject project, Object location) INTERNAL: Used for result class processing.
 
- 
- 
Method Details- 
equalsINTERNAL:- Specified by:
- equalsin class- ORMetadata
 
- 
hashCodepublic int hashCode()
- 
getColumnResultsINTERNAL: Used for OX mapping.
- 
getConstructorResultsINTERNAL: Used for OX mapping.
- 
getEntityResultsINTERNAL: Used for OX mapping.
- 
getIdentifierINTERNAL:- Overrides:
- getIdentifierin class- ORMetadata
- See Also:
 
- 
getNameINTERNAL: Used for OX mapping.
- 
initXMLObjectpublic void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:- Overrides:
- initXMLObjectin class- ORMetadata
 
- 
processINTERNAL: Process an sql result set mapping metadata into a EclipseLink SqlResultSetMapping and store it on the session. The order of processing the results and adding them is important to be spec compliant.
- 
setColumnResultsINTERNAL: Used for OX mapping.
- 
setConstructorResultsINTERNAL: Used for OX mapping.
- 
setEntityResultsINTERNAL: Used for OX mapping.
- 
setNameINTERNAL: Used for OX mapping.
 
-