Module org.eclipse.persistence.jpa
Class NamedPLSQLStoredFunctionQueryMetadata
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.NamedQueryMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.NamedNativeQueryMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.NamedPLSQLStoredProcedureQueryMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.NamedPLSQLStoredFunctionQueryMetadata
INTERNAL:
Object to hold onto a named PLSQL stored function query.
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:
- EclipseLink 2.3
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project -
Constructor Summary
ConstructorsConstructorDescriptionINTERNAL: Used for XML loading.NamedPLSQLStoredFunctionQueryMetadata(MetadataAnnotation namedStoredProcedureQuery, MetadataAccessor accessor) INTERNAL: -
Method Summary
Modifier and TypeMethodDescriptionbooleanINTERNAL:INTERNAL: Used for OX mapping.inthashCode()voidinitXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:voidprocess(AbstractSession session) INTERNAL:voidsetReturnParameter(PLSQLParameterMetadata returnParameter) INTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.NamedPLSQLStoredProcedureQueryMetadata
getParameters, getProcedureName, setParameters, setProcedureNameMethods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.NamedNativeQueryMetadata
getResultClass, getResultClassName, getResultSetMapping, hasResultSetMapping, setResultClass, setResultClassName, setResultSetMappingMethods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.NamedQueryMetadata
addJPAQuery, getHints, getIdentifier, getLockMode, getName, getQuery, processQueryHints, setHints, setLockMode, setName, setQueryMethods inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
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, valuesMatch
-
Constructor Details
-
NamedPLSQLStoredFunctionQueryMetadata
public NamedPLSQLStoredFunctionQueryMetadata()INTERNAL: Used for XML loading. -
NamedPLSQLStoredFunctionQueryMetadata
public NamedPLSQLStoredFunctionQueryMetadata(MetadataAnnotation namedStoredProcedureQuery, MetadataAccessor accessor) INTERNAL:
-
-
Method Details
-
equals
INTERNAL:- Overrides:
equalsin classNamedPLSQLStoredProcedureQueryMetadata
-
hashCode
public int hashCode()- Overrides:
hashCodein classNamedPLSQLStoredProcedureQueryMetadata
-
getReturnParameter
INTERNAL: Used for OX mapping. -
initXMLObject
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:- Overrides:
initXMLObjectin classNamedPLSQLStoredProcedureQueryMetadata
-
process
INTERNAL:- Overrides:
processin classNamedPLSQLStoredProcedureQueryMetadata
-
setReturnParameter
INTERNAL: Used for OX mapping.
-