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(java.lang.Object objectToCompare)
INTERNAL:
|
java.lang.String |
getAttributeType()
INTERNAL:
The attribute type for virtual object accessors is the target entity.
|
java.lang.String |
getDefaultFetchType()
INTERNAL:
Return the default fetch type for an object mapping.
|
java.lang.Boolean |
getId()
INTERNAL:
|
java.lang.String |
getMapsId()
INTERNAL:
Used for OX mapping.
|
java.lang.Boolean |
getOptional()
INTERNAL:
Used for OX mapping.
|
PrimaryKeyForeignKeyMetadata |
getPrimaryKeyForeignKey()
INTERNAL:
Used for OX mapping.
|
java.util.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(java.lang.Boolean id)
INTERNAL:
Used for OX mapping.
|
void |
setMapsId(java.lang.String mapsId)
INTERNAL:
Used for OX mapping.
|
void |
setOptional(java.lang.Boolean isOptional)
INTERNAL:
Used for OX mapping.
|
void |
setPrimaryKeyForeignKey(PrimaryKeyForeignKeyMetadata primaryKeyForeignKey)
INTERNAL:
Used for OX mapping.
|
void |
setPrimaryKeyJoinColumns(java.util.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, getSerializedConverters, 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, setSerializedConverters, 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(java.lang.Object objectToCompare)
equals
in class RelationshipAccessor
public boolean derivesId()
derivesId
in class MappingAccessor
ObjectAccessor
public java.lang.String getAttributeType()
getAttributeType
in class MappingAccessor
public java.lang.String getDefaultFetchType()
getDefaultFetchType
in class RelationshipAccessor
public java.lang.Boolean getId()
public java.lang.String getMapsId()
public PrimaryKeyForeignKeyMetadata getPrimaryKeyForeignKey()
public java.util.List<PrimaryKeyJoinColumnMetadata> getPrimaryKeyJoinColumns()
public java.lang.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(java.lang.Boolean id)
public void setMapsId(java.lang.String mapsId)
public void setOptional(java.lang.Boolean isOptional)
public void setPrimaryKeyForeignKey(PrimaryKeyForeignKeyMetadata primaryKeyForeignKey)
public void setPrimaryKeyJoinColumns(java.util.List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference