public class VariableOneToOneAccessor extends ObjectAccessor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_QUERY_KEY |
m_referenceClassKEY_DOT_NOTATION, m_field, VALUE_DOT_NOTATIONm_project| 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.
|
protected java.lang.String |
getLoggingContext()
INTERNAL:
Return the logging context for this accessor.
|
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.
|
int |
hashCode() |
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
boolean |
isVariableOneToOne()
INTERNAL:
|
void |
process()
INTERNAL:
Process a variable one to one setting into an EclipseLink
VariableOneToOneMapping.
|
protected void |
processForeignQueryKeyNames(VariableOneToOneMapping mapping)
INTERNAL:
|
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, getSimplePKType, hasAttributeType, hasId, hasMapsId, initManyToOneMapping, initOneToOneMapping, isOneToOnePrimaryKeyRelationship, isOptional, processAssociationOverride, processAssociationOverride, processForeignKeyRelationship, processId, processMapsId, processMapsIdFields, processOneToOnePrimaryKeyRelationship, processOwningMappingKeys, setId, setMapsId, setOptional, setPrimaryKeyForeignKey, setPrimaryKeyJoinColumnsaddJoinTableRelationKeyFields, getBatchFetch, getCascade, getCascadeOnDelete, getDefaultTableForEntityMapKey, getFetch, getForeignKey, getJoinColumns, getJoinFetch, getJoinFields, getJoinTable, getJoinTableMetadata, getMappedBy, getNonCacheable, getOrphanRemoval, getOwningMapping, getPrivateOwned, getTargetEntity, getTargetEntityName, hasJoinTable, hasMappedBy, isCascadeOnDelete, isLazy, isNonCacheable, isOrphanRemoval, isPrivateOwned, isValueHolderInterface, processBatchFetch, processCascadeTypes, processJoinTable, processMappedByRelationTable, processOrphanRemoval, processRelationshipMapping, setAccessorMethods, setBatchFetch, setCascade, setCascadeOnDelete, setFetch, setForeignKey, setJoinColumns, setJoinFetch, setJoinFields, setJoinTable, setMappedBy, setNonCacheable, setOrphanRemoval, setPrivateOwned, setTargetEntity, setTargetEntityName, usesIndirectionaddConvert, addConvertMetadata, addFieldNameTranslation, addMapKeyConvert, getAnnotation, getAssociationOverrides, getAttributeName, getAttributeOverride, getAttributeOverrides, getClassAccessor, getColumn, getConverts, getDatabaseField, getEnumerated, getField, getForeignKey, getGetMethodName, getJoinColumns, getJoinColumnsAndValidate, getLob, getMapKey, getMapKeyConverts, getMapKeyReferenceClass, getMapKeyReferenceClassName, getMapKeyReferenceClassWithGenerics, getMapping, getOwningDescriptor, getOwningDescriptors, getRawClass, getRawClassWithGenerics, getReferenceAccessors, getReferenceClassFromGeneric, getReferenceClassName, getReferenceClassWithGenerics, getReferenceDatabaseTable, getSetMethodName, getTemporal, hasAttributeOverride, hasEnumerated, hasLob, hasMapKey, hasReturnInsert, hasReturnUpdate, hasTemporal, initXMLMappingAccessor, isAnnotationPresent, isBasic, isBasicCollection, isBasicMap, isCollectionAccessor, isDerivedIdClass, isDirectCollection, isDirectEmbeddableCollection, isEmbedded, isEmbeddedId, isEnumerated, isId, isLob, isManyToMany, isManyToOne, isMapAccessor, isMappedKeyMapAccessor, isMultitenantId, isOneToMany, isOneToOne, isPrimitiveWrapperClass, isProcessed, isRelationship, isSerialized, isTemporal, isTimeClass, isTransient, isValidSerializedType, processAssociationOverrides, processAttributeOverrides, processContainerPolicyAndIndirection, processConvert, processConverts, processDirectMapKeyClass, processEmbeddableMapKeyClass, processEntityMapKeyClass, processEnumerated, processForeignKeyRelationship, processIndirection, processJoinFetch, processLob, processMapKeyClass, processMappingConverter, processMappingKeyConverter, processMappingValueConverter, processProperties, processProperty, processReturnInsert, processReturnInsertAndUpdate, processReturnUpdate, processSerialized, processSerialized, processTemporal, setAttributeType, setClassAccessor, setField, setIndirectionPolicy, setMapping, setOverrideMapping, setTemporal, toString, updatePrimaryKeyField, usesFieldAccess, usesPropertyAccess, usesVirtualAccessgetAccess, getAccessibleObject, getAccessMethods, getAnnotatedElement, getAnnotatedElementName, getAnnotation, getConverters, getDefaultAttributeName, getDescriptor, getDescriptorJavaClass, getHashPartitioning, getIdentifier, getJavaClass, getJavaClassName, getName, getObjectTypeConverters, getPartitioned, getPartitioning, getPinnedPartitioning, getProperties, getRangePartitioning, getReferencedField, getReferencedField, getReplicationPartitioning, getRoundRobinPartitioning, getSerializedConverters, getStructConverters, getTypeConverters, getUnionPartitioning, getUpperCaseShortJavaClassName, getValue, getValue, getValuePartitioning, hasAccess, hasAccessMethods, initAccess, initXMLAccessor, isAnnotationPresent, merge, processConverters, processCustomConverters, processObjectTypeConverters, processPartitioned, processPartitioning, processPrimaryKeyJoinColumns, processSerializedConverters, processStructConverters, processTable, processTypeConverters, setAccess, setAccessMethods, setConverters, setDescriptor, setHashPartitioning, setName, setObjectTypeConverters, setPartitioned, setPartitioning, setPinnedPartitioning, setProperties, setRangePartitioning, setReplicationPartitioning, setRoundRobinPartitioning, setSerializedConverters, setStructConverters, setTypeConverters, setUnionPartitioning, setValuePartitioninggetAccessibleObjectName, getAnnotation, getBoxedType, getDatabaseTypeEnum, getEntityMappings, getFullyQualifiedClassName, getJavaClass, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getName, getPrimitiveClassForName, getProject, getText, getXMLElement, hasIdentifier, hasText, initXMLClassName, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatchpublic 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 int hashCode()
hashCode in class ObjectAccessorpublic java.util.List<DiscriminatorClassMetadata> getDiscriminatorClasses()
public DiscriminatorColumnMetadata getDiscriminatorColumn()
protected java.lang.String getLoggingContext()
getLoggingContext in class RelationshipAccessorpublic 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 RelationshipAccessorprotected void processForeignQueryKeyNames(VariableOneToOneMapping mapping)
public void setDiscriminatorClasses(java.util.List<DiscriminatorClassMetadata> discriminatorClasses)
public void setDiscriminatorColumn(DiscriminatorColumnMetadata discriminatorColumn)