Module org.eclipse.persistence.jpa
Class AccessMethodsMetadata
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.mappings.AccessMethodsMetadata
INTERNAL:
Metadata for user specified property access methods and also used with
VIRTUAL access types. When specified in XML the set and get method names
are required. For VIRTUAL access defaults we use the defaults "get" and
"set" if no access methods are specified.
Key notes:
- any metadata mapped from XML to this class must be compared in the
equals 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 1.0M8
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project
-
Constructor Summary
ConstructorDescriptionINTERNAL: Used for XML loading.AccessMethodsMetadata
(MetadataAnnotation virtualAccessMethods, MetadataAccessor accessor) -
Method Summary
Modifier and TypeMethodDescriptionclone()
INTERNAL:boolean
INTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.int
hashCode()
void
setGetMethodName
(String getMethodName) INTERNAL: Used for OX mapping.void
setSetMethodName
(String setMethodName) INTERNAL: Used for OX mapping.toString()
INTERNAL: Used for validation exception message string and debugging.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, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Constructor Details
-
AccessMethodsMetadata
-
AccessMethodsMetadata
public AccessMethodsMetadata()INTERNAL: Used for XML loading.
-
-
Method Details
-
clone
INTERNAL: -
equals
INTERNAL:- Specified by:
equals
in classORMetadata
-
hashCode
public int hashCode() -
getGetMethodName
INTERNAL: Used for OX mapping. -
getSetMethodName
INTERNAL: Used for OX mapping. -
setGetMethodName
INTERNAL: Used for OX mapping. -
setSetMethodName
INTERNAL: Used for OX mapping. -
toString
INTERNAL: Used for validation exception message string and debugging.
-