public class OneToOneAccessor extends ObjectAccessor
m_referenceClass
m_accessibleObject, m_descriptor, m_logger, m_processor, m_project, m_validator
Constructor and Description |
---|
OneToOneAccessor(MetadataAccessibleObject accessibleObject,
ClassAccessor classAccessor)
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getCascadeTypes()
INTERNAL: (Overridden in XMLOneToOneAccessor)
|
String |
getFetchType()
INTERNAL: (Overridden in XMLOneToOneAccessor)
|
protected String |
getLoggingContext()
INTERNAL:
Return the logging context for this accessor.
|
String |
getMappedBy()
INTERNAL: (Overridden in XMLOneToOneAccessor)
|
Class |
getTargetEntity()
INTERNAL: (Overridden in XMLOneToOneAccessor)
|
boolean |
isOneToOne()
INTERNAL:
|
boolean |
isOptional()
INTERNAL:
|
void |
process()
INTERNAL:
Process a @OneToOne or one-to-one element into a TopLink OneToOne
mapping.
|
getReferenceClass, initOneToOneMapping, processOneToOneForeignKeyRelationship, processOneToOnePrimaryKeyRelationship, processOwningMappingKeys
getCascadeTypes, getJoinColumns, getOwningMapping, getReferenceDescriptor, hasJoinColumn, hasJoinColumns, hasPrimaryKeyJoinColumns, isOneToOnePrimaryKeyRelationship, processCascadeTypes, processJoinColumns, processJoinColumns, processRelationship, setCascadeType
getAnnotatedElement, getAnnotation, getAnnotation, getAttributeName, getDescriptor, getJavaClass, getJavaClassName, getLogger, getMapKeyClass, getName, getName, getName, getPrimaryKeyJoinColumns, getProcessor, getProject, getRawClass, getReferenceClassName, getRelationType, getSetMethodName, getUpperCaseAttributeName, getUpperCaseShortJavaClassName, getValidator, hasColumn, isAnnotationPresent, isAnnotationPresent, isBasic, isClass, isEmbedded, isEmbeddedId, isManyToMany, isManyToOne, isOneToMany, isProcessed, isRelationship, isXMLAccessor, processAccessor, processPrimaryKeyJoinColumns, processTable, setAccessorMethods, setAnnotatedElement, setIndirectionPolicy, setIsProcessed, usesIndirection
public OneToOneAccessor(MetadataAccessibleObject accessibleObject, ClassAccessor classAccessor)
public List<String> getCascadeTypes()
getCascadeTypes
in class RelationshipAccessor
public String getFetchType()
getFetchType
in class MetadataAccessor
protected String getLoggingContext()
getLoggingContext
in class RelationshipAccessor
public String getMappedBy()
getMappedBy
in class RelationshipAccessor
public Class getTargetEntity()
getTargetEntity
in class RelationshipAccessor
public boolean isOneToOne()
isOneToOne
in class MetadataAccessor
public boolean isOptional()
isOptional
in class MetadataAccessor
public void process()
process
in class MetadataAccessor
Copyright © 2021. All rights reserved.