public class VariableOneToOneAccessor extends ObjectAccessor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_QUERY_KEY |
| Constructor and Description |
|---|
VariableOneToOneAccessor()
INTERNAL:
Used for OX mapping.
|
VariableOneToOneAccessor(MetadataAnnotation variableOneToOne,
MetadataAnnotatedElement annotatedElement,
ClassAccessor classAccessor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDiscriminatorClassFor(EntityAccessor accessor)
INTERNAL:
In stage 2 processing entities may be added to the discriminator
class list for this variable one to one accessor if they were not
explicitely added but define the interface associated with this
accessors target interface.
|
boolean |
equals(java.lang.Object objectToCompare)
INTERNAL:
|
java.util.List<DiscriminatorClassMetadata> |
getDiscriminatorClasses()
INTERNAL:
Used for OX mapping.
|
DiscriminatorColumnMetadata |
getDiscriminatorColumn()
INTERNAL:
Used for OX mapping.
|
MetadataDescriptor |
getReferenceDescriptor()
INTERNAL:
In a variable one to one case, there is no knowledge of a reference
descriptor and the join columns should be defaulted based on the owner
of the variable one to one's descriptor.
|
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
boolean |
isVariableOneToOne()
INTERNAL:
|
void |
process()
INTERNAL:
Process a variable one to one setting into an EclipseLink
VariableOneToOneMapping.
|
void |
setDiscriminatorClasses(java.util.List<DiscriminatorClassMetadata> discriminatorClasses)
INTERNAL:
Used for OX mapping.
|
void |
setDiscriminatorColumn(DiscriminatorColumnMetadata discriminatorColumn)
INTERNAL:
Used for OX mapping.
|
derivesId, getAttributeType, getDefaultFetchType, getId, getMapsId, getOptional, getPrimaryKeyForeignKey, getPrimaryKeyJoinColumns, getReferenceClass, hasAttributeType, isOneToOnePrimaryKeyRelationship, isOptional, setId, setMapsId, setOptional, setPrimaryKeyForeignKey, setPrimaryKeyJoinColumnsgetBatchFetch, getCascade, getCascadeOnDelete, getFetch, getForeignKey, getJoinColumns, getJoinFetch, getJoinFields, getJoinTable, getMappedBy, getNonCacheable, getOrphanRemoval, getPrivateOwned, getTargetEntity, getTargetEntityName, hasMappedBy, isCascadeOnDelete, isLazy, isNonCacheable, isPrivateOwned, isValueHolderInterface, setBatchFetch, setCascade, setCascadeOnDelete, setFetch, setForeignKey, setJoinColumns, setJoinFetch, setJoinFields, setJoinTable, setMappedBy, setNonCacheable, setOrphanRemoval, setPrivateOwned, setTargetEntity, setTargetEntityNamegetAttributeName, 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, setAttributeType, setClassAccessor, setField, toString, usesFieldAccess, usesPropertyAccess, usesVirtualAccessgetAccess, 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, setValuePartitioninggetAccessibleObjectName, getAnnotation, getEntityMappings, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getProject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, setAccessibleObject, setEntityMappings, setProject, shouldOverridepublic static final java.lang.String DEFAULT_QUERY_KEY
public VariableOneToOneAccessor()
public VariableOneToOneAccessor(MetadataAnnotation variableOneToOne, MetadataAnnotatedElement annotatedElement, ClassAccessor classAccessor)
public void addDiscriminatorClassFor(EntityAccessor accessor)
public boolean equals(java.lang.Object objectToCompare)
equals in class ObjectAccessorpublic java.util.List<DiscriminatorClassMetadata> getDiscriminatorClasses()
public DiscriminatorColumnMetadata getDiscriminatorColumn()
public MetadataDescriptor getReferenceDescriptor()
getReferenceDescriptor in class RelationshipAccessorpublic void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
initXMLObject in class ObjectAccessorpublic boolean isVariableOneToOne()
isVariableOneToOne in class MappingAccessorpublic void process()
process in class RelationshipAccessorpublic void setDiscriminatorClasses(java.util.List<DiscriminatorClassMetadata> discriminatorClasses)
public void setDiscriminatorColumn(DiscriminatorColumnMetadata discriminatorColumn)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference