| Modifier and Type | Field and Description |
|---|---|
| private Boolean | |
| private String | |
| private Boolean | |
| private PrimaryKeyForeignKeyMetadata | |
| private List |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | ObjectAccessor(MetadataAnnotation annotation, MetadataAnnotatedElement annotatedElement, ClassAccessor classAccessor)
INTERNAL: |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | derivesId()
Overrides org. |
| public boolean | equals(Object
the reference object with which to compare. objectToCompare)Overrides org. |
| private Set | |
| public String | getAttributeType()
Overrides org. |
| public String | getDefaultFetchType()
Implements abstract org. |
| public Boolean | |
| public String | |
| public Boolean | |
| public PrimaryKeyForeignKeyMetadata | |
| public List | |
| public MetadataClass | getReferenceClass()
Overrides org. |
| protected MetadataClass | |
| public boolean | hasAttributeType()
Overrides org. |
| public int | hashCode()
Overrides org. |
| protected boolean | |
| protected boolean | |
| protected ObjectReferenceMapping | |
| protected ObjectReferenceMapping | |
| public void | initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
Overrides org. |
| public boolean | isOneToOnePrimaryKeyRelationship()
INTERNAL: Return true if this accessor represents a 1-1 primary key relationship. |
| public boolean | |
| protected void | processAssociationOverride(AssociationOverrideMetadata associationOverride, EmbeddableMapping embeddableMapping, MetadataDescriptor owningDescriptor)
INTERNAL:
Process an association override for either an embedded object mapping,
or a map mapping (element-collection, 1-M and M-M) containing an
embeddable object as the value or key.
|
| protected void | processAssociationOverride(AssociationOverrideMetadata associationOverride, EmbeddableMapping embeddableMapping, DatabaseTable defaultTable, MetadataDescriptor owningDescriptor)
INTERNAL: Process an association override for either an embedded object mapping, or a map mapping (element-collection, 1-M and M-M) containing an embeddable object as the value or key. |
| protected void | processForeignKeyRelationship(ObjectReferenceMapping mapping)
INTERNAL: Process the join columns for the owning side of a one to one mapping. |
| protected void | |
| protected void | processMapsId(OneToOneMapping oneToOneMapping)
INTERNAL: Process the mapping keys from the maps id value. |
| protected void | processMapsIdFields(OneToOneMapping oneToOneMapping, EmbeddedIdAccessor embeddedIdAccessor, MappingAccessor mapsIdAccessor)
INTERNAL: We're going to add field name translations where necessary. |
| 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 for the owning side of a one to one mapping. |
| public void | |
| public void | |
| public void | |
| public void | setPrimaryKeyForeignKey(PrimaryKeyForeignKeyMetadata primaryKeyForeignKey)
INTERNAL: Used for OX mapping. |
| public void | setPrimaryKeyJoinColumns(List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns)
INTERNAL: Used for OX mapping. |
| m_id | back to summary |
|---|---|
| private Boolean m_id | |
| m_mapsId | back to summary |
|---|---|
| private String m_mapsId | |
| m_optional | back to summary |
|---|---|
| private Boolean m_optional | |
| m_primaryKeyForeignKey | back to summary |
|---|---|
| private PrimaryKeyForeignKeyMetadata m_primaryKeyForeignKey | |
| m_primaryKeyJoinColumns | back to summary |
|---|---|
| private List<PrimaryKeyJoinColumnMetadata> m_primaryKeyJoinColumns | |
| ObjectAccessor | back to summary |
|---|---|
| protected ObjectAccessor(String xmlElement) INTERNAL: Used for OX mapping. | |
| ObjectAccessor | back to summary |
|---|---|
| protected ObjectAccessor(MetadataAnnotation annotation, MetadataAnnotatedElement annotatedElement, ClassAccessor classAccessor) INTERNAL: | |
| derivesId | back to summary |
|---|---|
| public boolean derivesId() Overrides org. INTERNAL: Return true is this accessor is a derived id accessor.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object objectToCompare) Overrides org. INTERNAL:
| |
| findAllFieldAccessors | back to summary |
|---|---|
| private Set | |
| getAttributeType | back to summary |
|---|---|
| public String getAttributeType() Overrides org. INTERNAL: The attribute type for virtual object accessors is the target entity.
| |
| getDefaultFetchType | back to summary |
|---|---|
| public String getDefaultFetchType() Implements abstract org. INTERNAL: Return the default fetch type for an object mapping.
| |
| getId | back to summary |
|---|---|
| public Boolean getId() INTERNAL: | |
| getMapsId | back to summary |
|---|---|
| public String getMapsId() INTERNAL: Used for OX mapping. | |
| getOptional | back to summary |
|---|---|
| public Boolean getOptional() INTERNAL: Used for OX mapping. | |
| getPrimaryKeyForeignKey | back to summary |
|---|---|
| public PrimaryKeyForeignKeyMetadata getPrimaryKeyForeignKey() INTERNAL: Used for OX mapping. | |
| getPrimaryKeyJoinColumns | back to summary |
|---|---|
| public List INTERNAL: Used for OX mapping. | |
| getReferenceClass | back to summary |
|---|---|
| public MetadataClass getReferenceClass() Overrides org. INTERNAL: If a target entity is specified in metadata, it will be set as the reference class, otherwise we will use the raw class.
| |
| getSimplePKType | back to summary |
|---|---|
| protected MetadataClass getSimplePKType() INTERNAL: Used to process primary keys and DerivedIds. | |
| hasAttributeType | back to summary |
|---|---|
| public boolean hasAttributeType() Overrides org. 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.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasId | back to summary |
|---|---|
| protected boolean hasId() INTERNAL: | |
| hasMapsId | back to summary |
|---|---|
| protected boolean hasMapsId() INTERNAL: | |
| initManyToOneMapping | back to summary |
|---|---|
| protected ObjectReferenceMapping initManyToOneMapping() INTERNAL: Initialize a ManyToOneMapping. | |
| initOneToOneMapping | back to summary |
|---|---|
| protected ObjectReferenceMapping initOneToOneMapping() INTERNAL: Initialize a OneToOneMapping. | |
| initXMLObject | back to summary |
|---|---|
| public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) Overrides org. INTERNAL:
| |
| isOneToOnePrimaryKeyRelationship | back to summary |
|---|---|
| public boolean isOneToOnePrimaryKeyRelationship() INTERNAL: Return true if this accessor represents a 1-1 primary key relationship. | |
| isOptional | back to summary |
|---|---|
| public boolean isOptional() INTERNAL: | |
| processAssociationOverride | back to summary |
|---|---|
| protected void processAssociationOverride(AssociationOverrideMetadata associationOverride, EmbeddableMapping embeddableMapping, MetadataDescriptor owningDescriptor) INTERNAL: Process an association override for either an embedded object mapping, or a map mapping (element-collection, 1-M and M-M) containing an embeddable object as the value or key.
| |
| processAssociationOverride | back to summary |
|---|---|
| protected void processAssociationOverride(AssociationOverrideMetadata associationOverride, EmbeddableMapping embeddableMapping, DatabaseTable defaultTable, MetadataDescriptor owningDescriptor) INTERNAL: Process an association override for either an embedded object mapping, or a map mapping (element-collection, 1-M and M-M) containing an embeddable object as the value or key. | |
| processForeignKeyRelationship | back to summary |
|---|---|
| protected void processForeignKeyRelationship(ObjectReferenceMapping mapping) INTERNAL: Process the join columns for the owning side of a one to one mapping. The default pk and pk field names are used only with single primary key entities. The processor should never get as far as to use them with entities that have a composite primary key (validation exception will be thrown). | |
| processId | back to summary |
|---|---|
| protected void processId(OneToOneMapping mapping) INTERNAL: Used to process primary keys and DerivedIds. | |
| processMapsId | back to summary |
|---|---|
| protected void processMapsId(OneToOneMapping oneToOneMapping) INTERNAL: Process the mapping keys from the maps id value. | |
| processMapsIdFields | back to summary |
|---|---|
| protected void processMapsIdFields(OneToOneMapping oneToOneMapping, EmbeddedIdAccessor embeddedIdAccessor, MappingAccessor mapsIdAccessor) INTERNAL: We're going to add field name translations where necessary. If the user specified (erroneously that is) attribute overrides this will override them. | |
| processOneToOnePrimaryKeyRelationship | back to summary |
|---|---|
| protected void processOneToOnePrimaryKeyRelationship(OneToOneMapping mapping) INTERNAL: Process the primary key join columns for the owning side of a one to one mapping. The default pk and pk field names are used only with single primary key entities. The processor should never get as far as to use them with entities that have a composite primary key (validation exception will be thrown). | |
| processOwningMappingKeys | back to summary |
|---|---|
| protected void processOwningMappingKeys(OneToOneMapping mapping) INTERNAL: Process the the correct metadata for the owning side of a one to one mapping. Note, the order of checking is important, that is, check for a mapsId first. | |
| setId | back to summary |
|---|---|
| public void setId(Boolean id) INTERNAL: Used for OX mapping. | |
| setMapsId | back to summary |
|---|---|
| public void setMapsId(String mapsId) INTERNAL: Used for OX mapping. | |
| setOptional | back to summary |
|---|---|
| public void setOptional(Boolean isOptional) INTERNAL: Used for OX mapping. | |
| setPrimaryKeyForeignKey | back to summary |
|---|---|
| public void setPrimaryKeyForeignKey(PrimaryKeyForeignKeyMetadata primaryKeyForeignKey) INTERNAL: Used for OX mapping. | |
| setPrimaryKeyJoinColumns | back to summary |
|---|---|
| public void setPrimaryKeyJoinColumns(List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns) INTERNAL: Used for OX mapping. | |