org.eclipse.persistence.mappings.foundation.AbstractDirectMapping , org.eclipse.persistence.mappings.MultitenantPrimaryKeyMapping
| Modifier and Type | Field and Description |
|---|---|
| protected Converter | converter
Allows user defined conversion between the object attribute value and the database value. |
| protected String | |
| protected DatabaseField | field
DatabaseField which this mapping represents. |
| protected boolean | isInsertable
Flag to support insertable JPA setting |
| protected boolean | isUpdatable
Flag to support updatable JPA setting |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | cascadePerformRemoveIfRequired(Object
TODO object, UnitOfWorkImpl TODO uow, Map<K, V> TODO visitedObjects)Implements abstract org. |
| public void | cascadeRegisterNewIfRequired(Object
TODO object, UnitOfWorkImpl TODO uow, Map<K, V> TODO visitedObjects)Implements abstract org. |
| public Object | clone()
Overrides org. |
| protected Vector | collectFields()
Overrides org. |
| public void | convertClassNamesToClasses(ClassLoader
TODO classLoader)Overrides org. |
| public void | fixObjectReferences(Object
TODO object, Map<Object, ObjectDescriptor> TODO objectDescriptors, Map<Object, Object> TODO processedObjects, ObjectLevelReadQuery TODO query, DistributedSession TODO session)Implements abstract org. |
| public Converter | |
| public DatabaseField | getField()
Overrides org. |
| public abstract Object | getFieldValue(Object objectValue, AbstractSession session)
INTERNAL: Convert the object (attribute or property) value to a field value. |
| public abstract Object | getObjectValue(Object fieldValue, Session session)
INTERNAL: Allows for subclasses to convert the the attribute or property value. |
| public boolean | Returns: true if there is a converter set on the mapping, false otherwise.Indicates if the mapping has a converter set on it. |
| public boolean | |
| protected boolean | |
| protected boolean | |
| public void | iterate(DescriptorIterator iterator)
Implements abstract org. |
| public void | |
| public void | setConverterClassName(String converterClassName)
PUBLIC: Set the converter class name on the mapping. |
| public void | |
| public String | |
| protected abstract void |
| converter | back to summary |
|---|---|
| protected Converter converter Allows user defined conversion between the object attribute value and the database value. | |
| converterClassName | back to summary |
|---|---|
| protected String converterClassName | |
| field | back to summary |
|---|---|
| protected DatabaseField field DatabaseField which this mapping represents. | |
| isInsertable | back to summary |
|---|---|
| protected boolean isInsertable Flag to support insertable JPA setting | |
| isUpdatable | back to summary |
|---|---|
| protected boolean isUpdatable Flag to support updatable JPA setting | |
| AbstractColumnMapping | back to summary |
|---|---|
| protected AbstractColumnMapping() Default constructor. | |
| cascadePerformRemoveIfRequired | back to summary |
|---|---|
| public void cascadePerformRemoveIfRequired(Object object, UnitOfWorkImpl uow, Map<K, V> visitedObjects) Implements abstract org. INTERNAL: Cascade perform delete through mappings that require the cascade.
| |
| cascadeRegisterNewIfRequired | back to summary |
|---|---|
| public void cascadeRegisterNewIfRequired(Object object, UnitOfWorkImpl uow, Map<K, V> visitedObjects) Implements abstract org. INTERNAL: Cascade registerNew for Create through mappings that require the cascade.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides org. INTERNAL: The mapping clones itself to create deep copy.
| |
| collectFields | back to summary |
|---|---|
| protected Vector Overrides org. Returns the field this mapping represents.
| |
| convertClassNamesToClasses | back to summary |
|---|---|
| public void convertClassNamesToClasses(ClassLoader classLoader) Overrides org. INTERNAL: Convert all the class-name-based settings in this mapping to actual class-based settings This method is implemented by subclasses as necessary.
| |
| getConverter | back to summary |
|---|---|
| public Converter getConverter() PUBLIC: Return the converter on the mapping. A converter can be used to convert between the object's value and database value of the attribute. | |
| getField | back to summary |
|---|---|
| public DatabaseField getField() Overrides org. INTERNAL: Returns the field which this mapping represents.
| |
| getFieldValue | back to summary |
|---|---|
| public abstract Object getFieldValue(Object objectValue, AbstractSession session) INTERNAL: Convert the object (attribute or property) value to a field value. | |
| getObjectValue | back to summary |
|---|---|
| public abstract Object getObjectValue(Object fieldValue, Session session) INTERNAL: Allows for subclasses to convert the the attribute or property value. | |
| hasConverter | back to summary |
|---|---|
| public boolean hasConverter() Indicates if the mapping has a converter set on it.
| |
| isAbstractColumnMapping | back to summary |
|---|---|
| public boolean isAbstractColumnMapping() Overrides org. INTERNAL:
| |
| isInsertable | back to summary |
|---|---|
| protected boolean isInsertable() INTERNAL: Return true if this mapping is insertable. | |
| isUpdatable | back to summary |
|---|---|
| protected boolean isUpdatable() INTERNAL: Return true if this mapping is updatable. | |
| iterate | back to summary |
|---|---|
| public void iterate(DescriptorIterator iterator) Implements abstract org. INTERNAL: Iterate on the appropriate attribute.
| |
| setConverter | back to summary |
|---|---|
| public void setConverter(Converter converter) PUBLIC: Set the converter on the mapping. A converter can be used to convert between the object's value and database value of the attribute. | |
| setConverterClassName | back to summary |
|---|---|
| public void setConverterClassName(String converterClassName) PUBLIC: Set the converter class name on the mapping. It will be instantiated during the convertClassNamesToClasses. A converter can be used to convert between the object's value and database value of the attribute. | |
| setField | back to summary |
|---|---|
| public void setField(DatabaseField theField) ADVANCED: Set the field in the mapping. This can be used for advanced field types, such as XML nodes, or to set the field type. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. INTERNAL:
| |
| writeValueIntoRow | back to summary |
|---|---|
| protected abstract void writeValueIntoRow(AbstractRecord row, DatabaseField field, Object value) INTERNAL: | |