public abstract class ObjectAccessor extends RelationshipAccessor
Modifier and Type | Method and Description |
---|---|
boolean |
derivesId()
INTERNAL:
Return true is this accessor is a derived id accessor.
|
boolean |
equals(Object objectToCompare)
INTERNAL:
|
String |
getAttributeType()
INTERNAL:
The attribute type for virtual object accessors is the target entity.
|
String |
getDefaultFetchType()
INTERNAL:
Return the default fetch type for an object mapping.
|
Boolean |
getId()
INTERNAL:
|
String |
getMapsId()
INTERNAL:
Used for OX mapping.
|
Boolean |
getOptional()
INTERNAL:
Used for OX mapping.
|
PrimaryKeyForeignKeyMetadata |
getPrimaryKeyForeignKey()
INTERNAL:
Used for OX mapping.
|
List<PrimaryKeyJoinColumnMetadata> |
getPrimaryKeyJoinColumns()
INTERNAL:
Used for OX mapping.
|
MetadataClass |
getReferenceClass()
INTERNAL:
If a target entity is specified in metadata, it will be set as the
reference class, otherwise we will use the raw class.
|
boolean |
hasAttributeType()
INTERNAL:
Object accessors don't require a separate attribute-type specification
in XML, instead they can use the reference class to determine the
attribute-type.
|
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
boolean |
isOneToOnePrimaryKeyRelationship()
INTERNAL:
Return true if this accessor represents a 1-1 primary key relationship.
|
boolean |
isOptional()
INTERNAL:
|
void |
setId(Boolean id)
INTERNAL:
Used for OX mapping.
|
void |
setMapsId(String mapsId)
INTERNAL:
Used for OX mapping.
|
void |
setOptional(Boolean isOptional)
INTERNAL:
Used for OX mapping.
|
void |
setPrimaryKeyForeignKey(PrimaryKeyForeignKeyMetadata primaryKeyForeignKey)
INTERNAL:
Used for OX mapping.
|
void |
setPrimaryKeyJoinColumns(List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns)
INTERNAL:
Used for OX mapping.
|
getBatchFetch, getCascade, getCascadeOnDelete, getFetch, getForeignKey, getJoinColumns, getJoinFetch, getJoinFields, getJoinTable, getMappedBy, getNonCacheable, getOrphanRemoval, getPrivateOwned, getReferenceDescriptor, getTargetEntity, getTargetEntityName, hasMappedBy, isCascadeOnDelete, isLazy, isNonCacheable, isPrivateOwned, isValueHolderInterface, process, setBatchFetch, setCascade, setCascadeOnDelete, setFetch, setForeignKey, setJoinColumns, setJoinFetch, setJoinFields, setJoinTable, setMappedBy, setNonCacheable, setOrphanRemoval, setPrivateOwned, setTargetEntity, setTargetEntityName
getAttributeName, getClassAccessor, getEnumerated, getField, getGetMethodName, getLob, getMapKey, getMapKeyReferenceClass, getMapKeyReferenceClassName, getMapKeyReferenceClassWithGenerics, getMapping, getOwningDescriptor, getOwningDescriptors, getRawClass, getRawClassWithGenerics, getReferenceAccessors, getReferenceClassFromGeneric, getReferenceClassName, getReferenceClassWithGenerics, getSetMethodName, getTemporal, hasMapKey, hasTemporal, initXMLMappingAccessor, isAnnotationPresent, isBasic, isBasicCollection, isBasicMap, isCollectionAccessor, isDerivedIdClass, isDirectCollection, isDirectEmbeddableCollection, isEmbedded, isEmbeddedId, isId, isManyToMany, isManyToOne, isMapAccessor, isMappedKeyMapAccessor, isMultitenantId, isOneToMany, isOneToOne, isProcessed, isRelationship, isSerialized, isTransient, isVariableOneToOne, setAttributeType, setClassAccessor, setField, toString, usesFieldAccess, usesPropertyAccess, usesVirtualAccess
getAccess, getAccessibleObject, getAccessMethods, getAnnotatedElement, getAnnotatedElementName, getAnnotation, getConverters, getDescriptor, getDescriptorJavaClass, getHashPartitioning, getIdentifier, getJavaClass, getName, getObjectTypeConverters, getPartitioned, getPartitioning, getPinnedPartitioning, getProperties, getRangePartitioning, getReplicationPartitioning, getRoundRobinPartitioning, getStructConverters, getTypeConverters, getUnionPartitioning, getValuePartitioning, hasAccess, hasAccessMethods, initAccess, initXMLAccessor, isAnnotationPresent, merge, processConverters, processPartitioned, setAccess, setAccessMethods, setConverters, setDescriptor, setHashPartitioning, setName, setObjectTypeConverters, setPartitioned, setPartitioning, setPinnedPartitioning, setProperties, setRangePartitioning, setReplicationPartitioning, setRoundRobinPartitioning, setStructConverters, setTypeConverters, setUnionPartitioning, setValuePartitioning
getAccessibleObjectName, getAnnotation, getEntityMappings, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getProject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, setAccessibleObject, setEntityMappings, setProject, shouldOverride
public boolean equals(Object objectToCompare)
equals
in class RelationshipAccessor
public boolean derivesId()
derivesId
in class MappingAccessor
ObjectAccessor
public String getAttributeType()
getAttributeType
in class MappingAccessor
public String getDefaultFetchType()
getDefaultFetchType
in class RelationshipAccessor
public Boolean getId()
public String getMapsId()
public PrimaryKeyForeignKeyMetadata getPrimaryKeyForeignKey()
public List<PrimaryKeyJoinColumnMetadata> getPrimaryKeyJoinColumns()
public Boolean getOptional()
public MetadataClass getReferenceClass()
getReferenceClass
in class MappingAccessor
public boolean hasAttributeType()
hasAttributeType
in class MappingAccessor
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
initXMLObject
in class RelationshipAccessor
public boolean isOneToOnePrimaryKeyRelationship()
public boolean isOptional()
public void setId(Boolean id)
public void setMapsId(String mapsId)
public void setOptional(Boolean isOptional)
public void setPrimaryKeyForeignKey(PrimaryKeyForeignKeyMetadata primaryKeyForeignKey)
public void setPrimaryKeyJoinColumns(List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns)
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference