Class FetchAttributeMetadata
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.metadata.ORMetadata
-
- org.eclipse.persistence.internal.jpa.metadata.queries.FetchAttributeMetadata
-
public class FetchAttributeMetadata extends ORMetadata
INTERNAL: Object to hold onto a fetch attribute metadata from a named fetch group metadata. 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 2.1
- Author:
- Guy Pelletier
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringm_name-
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project
-
-
Constructor Summary
Constructors Constructor Description FetchAttributeMetadata()INTERNAL: Used for XML loading.FetchAttributeMetadata(MetadataAnnotation fetchAttribute, MetadataAccessor accessor)INTERNAL: Used for annotation loading.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object objectToCompare)INTERNAL:java.lang.StringgetName()INTERNAL: Used for OX mapping.inthashCode()voidsetName(java.lang.String name)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, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
-
-
-
Constructor Detail
-
FetchAttributeMetadata
public FetchAttributeMetadata()
INTERNAL: Used for XML loading.
-
FetchAttributeMetadata
public FetchAttributeMetadata(MetadataAnnotation fetchAttribute, MetadataAccessor accessor)
INTERNAL: Used for annotation loading.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object objectToCompare)
INTERNAL:- Specified by:
equalsin classORMetadata
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getName
public java.lang.String getName()
INTERNAL: Used for OX mapping.
-
setName
public void setName(java.lang.String name)
INTERNAL: Used for OX mapping.
-
-