public abstract class ObjectAccessor extends RelationshipAccessor
m_referenceClassm_accessibleObject, m_descriptor, m_logger, m_processor, m_project, m_validator| Modifier | Constructor and Description |
|---|---|
protected |
ObjectAccessor(MetadataAccessibleObject accessibleObject,
ClassAccessor classAccessor) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getReferenceClass()
INTERNAL: (Override from MetadataAccessor)
If a target entity is specified in metadata, it will be set as the
reference class, otherwise we will use the raw class.
|
protected OneToOneMapping |
initOneToOneMapping()
INTERNAL:
Initialize a OneToOneMapping.
|
protected void |
processOneToOneForeignKeyRelationship(OneToOneMapping mapping)
INTERNAL:
Process the @JoinColumn(s) for the owning side of a one to one mapping.
|
protected void |
processOneToOnePrimaryKeyRelationship(OneToOneMapping mapping)
INTERNAL:
Process the primary key join columns for the owning side of a one to one
mapping.
|
protected void |
processOwningMappingKeys(OneToOneMapping mapping)
INTERNAL:
Process the the correct metadata join column for the owning side of a
one to one mapping.
|
getCascadeTypes, getCascadeTypes, getJoinColumns, getLoggingContext, getMappedBy, getOwningMapping, getReferenceDescriptor, getTargetEntity, hasJoinColumn, hasJoinColumns, hasPrimaryKeyJoinColumns, isOneToOnePrimaryKeyRelationship, processCascadeTypes, processJoinColumns, processJoinColumns, processRelationship, setCascadeTypegetAnnotatedElement, getAnnotation, getAnnotation, getAttributeName, getDescriptor, getFetchType, 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, isOneToOne, isOptional, isProcessed, isRelationship, isXMLAccessor, process, processAccessor, processPrimaryKeyJoinColumns, processTable, setAccessorMethods, setAnnotatedElement, setIndirectionPolicy, setIsProcessed, usesIndirectionprotected ObjectAccessor(MetadataAccessibleObject accessibleObject, ClassAccessor classAccessor)
public java.lang.Class getReferenceClass()
getReferenceClass in class MetadataAccessorprotected OneToOneMapping initOneToOneMapping()
protected void processOneToOneForeignKeyRelationship(OneToOneMapping mapping)
protected void processOneToOnePrimaryKeyRelationship(OneToOneMapping mapping)
protected void processOwningMappingKeys(OneToOneMapping mapping)