Modifier and Type | Method and Description |
---|---|
void |
ClassDescriptor.addMultipleTableForeignKeyField(DatabaseField sourceField,
DatabaseField targetField)
PUBLIC:
This protocol can be used to associate multiple tables with foreign key
information.
|
void |
ClassDescriptor.addMultipleTableForeignKeyFieldName(String sourceFieldName,
String targetFieldName)
PUBLIC:
This protocol can be used to associate multiple tables with foreign key
information.
|
protected void |
ClassDescriptor.addMultipleTableForeignKeys(DatabaseField sourceField,
DatabaseField targetField,
boolean isForeignKey)
INTERNAL:
Add the multiple fields, if is a foreign key then add the tables to the
foreign keys ordering.
|
protected void |
ClassDescriptor.addMultipleTableForeignKeys(String fieldNameInSourceTable,
String fieldNameInTargetTable,
boolean isForeignKey)
INTERNAL:
Add the multiple table fields, if is a foreign key then add the tables to the
foreign keys ordering.
|
void |
ClassDescriptor.addMultipleTablePrimaryKeyField(DatabaseField sourceField,
DatabaseField targetField)
PUBLIC:
This protocol can be used to map the primary key fields in a multiple
table descriptor.
|
void |
ClassDescriptor.addMultipleTablePrimaryKeyFieldName(String sourceFieldName,
String targetFieldName)
PUBLIC:
This protocol can be used to map the primary key field names in a
multiple table descriptor.
|
void |
ClassDescriptor.checkInheritanceTreeAggregateSettings(AbstractSession session,
AggregateMapping mapping)
INTERNAL:
Verify that an aggregate descriptor's inheritance tree
is full of aggregate descriptors.
|
Class |
InheritancePolicy.classFromRow(AbstractRecord rowFromDatabase,
AbstractSession session)
INTERNAL:
This method is invoked only for the abstract descriptors.
|
void |
DescriptorEventManager.executeEvent(DescriptorEvent event)
INTERNAL:
Execute the given selector with the event as argument.
|
protected Method |
DescriptorEventManager.findMethod(int selector)
Find the method corresponding to the event selector.
|
Vector<DatabaseTable> |
ClassDescriptor.getMultipleTableInsertOrder()
INTERNAL:
Returns the Vector of DatabaseTables in the order which INSERTS should take place.
|
DatabaseTable |
ClassDescriptor.getTable(String tableName)
INTERNAL:
Checks if table name exists with the current descriptor or not.
|
void |
WrapperPolicy.initialize(AbstractSession session)
PUBLIC:
Required: Lets the policy perform initialization.
|
void |
ClassDescriptor.initialize(AbstractSession session)
INTERNAL:
Initialize the mappings as a seperate step.
|
void |
CMPPolicy.initialize(ClassDescriptor descriptor,
AbstractSession session)
INTERNAL:
Initialize the CMPPolicy settings.
|
void |
MethodClassExtractor.initialize(ClassDescriptor descriptor,
Session session)
INTERNAL:
Setup the default classExtractionMethod, or if one was specified by the user make sure it is valid.
|
void |
ClassExtractor.initialize(ClassDescriptor descriptor,
Session session)
Allow for any initialization.
|
protected void |
InheritancePolicy.initializeClassExtractor(AbstractSession session)
INTERNAL:
Setup the default classExtractionMethod, or if one was specified by the user make sure it is valid.
|
protected void |
InheritancePolicy.initializeOnlyInstancesExpression()
INTERNAL:
Initialize the expression to use to check the specific type field.
|
protected void |
ClassDescriptor.initializeProperties(AbstractSession session)
INTERNAL:
Initialize the descriptor properties such as write lock and sequecning.
|
protected void |
InheritancePolicy.initializeWithAllSubclassesExpression()
INTERNAL:
Initialize the expression to use for queries to the class and its subclasses.
|
protected void |
DescriptorEventManager.notifyListener(DescriptorEventListener listener,
DescriptorEvent event)
INTERNAL:
Big ugly case statement to notify listeners.
|
void |
ClassDescriptor.postInitialize(AbstractSession session)
INTERNAL:
Post initializations after mappings are initialized.
|
void |
ClassDescriptor.preInitialize(AbstractSession session)
INTERNAL:
Allow the descriptor to initialize any dependancies on this session.
|
void |
InheritancePolicy.preInitialize(AbstractSession session)
INTERNAL:
Allow the inheritence properties of the descriptor to be initialized.
|
protected void |
ClassDescriptor.preInitializeInheritancePolicy(AbstractSession session)
Hook together the inheritance policy tree.
|
protected void |
ClassDescriptor.selfValidationAfterInitialization(AbstractSession session)
INTERNAL:
Validate that the descriptor was defined correctly.
|
protected void |
ClassDescriptor.selfValidationBeforeInitialization(AbstractSession session)
INTERNAL:
Validate that the descriptor's non-mapping attribute are defined correctly.
|
void |
DescriptorQueryManager.setExistenceCheck(String token)
INTERNAL:
This method is explicitly used by the Builder only.
|
void |
ClassDescriptor.setExistenceChecking(String token)
INTERNAL:
Set the existence check option from a string constant.
|
void |
ClassDescriptor.setMultipleTableForeignKeyFieldNames(Vector associations)
INTERNAL:
This method is used by the TopLink XML Deployment Descriptor to read and write these mappings
|
void |
ClassDescriptor.setMultipleTablePrimaryKeyFieldNames(Vector associations)
INTERNAL:
This method is used by the TopLink XML Deployment Descriptor to read and write these mappings
|
void |
RelationalDescriptor.setTableName(String tableName)
PUBLIC:
Specify the table name for the class of objects the receiver describes.
|
void |
ClassDescriptor.setTableName(String tableName)
PUBLIC:
Specify the table name for the class of objects the receiver describes.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
AbstractCopyPolicy.buildClone(Object domainObject,
Session session) |
Object |
CloneCopyPolicy.buildClone(Object domainObject,
Session session)
Clone through calling the clone method.
|
Object |
InstantiationCopyPolicy.buildClone(Object domainObject,
Session session) |
Object |
CopyPolicy.buildClone(Object object,
Session session)
Return a shallow clone of the object for usage with object copying, or unit of work backup cloning.
|
Object |
AbstractCopyPolicy.buildWorkingCopyClone(Object domainObject,
Session session)
By default use the buildClone.
|
Object |
CloneCopyPolicy.buildWorkingCopyClone(Object domainObject,
Session session)
Clone through the workingCopyClone method, or if not specified the clone method.
|
Object |
CopyPolicy.buildWorkingCopyClone(Object object,
Session session)
Return a shallow clone of the object for usage with the unit of work working copy.
|
Object |
AbstractCopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectBuildingQuery query)
By default create a new instance.
|
Object |
CloneCopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectBuildingQuery query)
Create a new instance, unless a workingCopyClone method is specified, then build a new instance and clone it.
|
Object |
CopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectBuildingQuery query)
Return an instance with the primary key set from the row, used for building a working copy during a unit of work transactional read.
|
Object |
AbstractCopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectLevelReadQuery query)
Create a new instance, unless a workingCopyClone method is specified, then build a new instance and clone it.
|
Object |
CopyPolicy.buildWorkingCopyCloneFromRow(Record row,
ObjectLevelReadQuery query)
Return an instance with the primary key set from the row, used for building a working copy during a unit of work transactional read.
|
void |
AbstractCopyPolicy.initialize(Session session)
Do nothing by default.
|
void |
CloneCopyPolicy.initialize(Session session)
Validate and build the methods.
|
void |
CopyPolicy.initialize(Session session)
Allow for any initialization or validation required.
|
Modifier and Type | Method and Description |
---|---|
protected Constructor |
InstantiationPolicy.buildDefaultConstructor()
Build and return the default (zero-argument) constructor for the descriptor class.
|
protected Constructor |
InstantiationPolicy.buildDefaultConstructorFor(Class javaClass)
Build and return the default (zero-argument) constructor for the specified class.
|
protected Object |
InstantiationPolicy.buildFactory() |
protected Constructor |
InstantiationPolicy.buildFactoryDefaultConstructor()
Build and return the default (zero-argument) constructor for the factory class.
|
protected Object |
InstantiationPolicy.buildFactoryUsingDefaultConstructor()
Build and return the factory, using its default constructor.
|
protected Object |
InstantiationPolicy.buildFactoryUsingStaticMethod()
Build and return the factory, using the specified static method.
|
protected Method |
InstantiationPolicy.buildMethod(Class methodClass,
String methodName,
Class[] methodParameterTypes)
Build the specified method.
|
Object |
InstantiationPolicy.buildNewInstance()
Build and return a new instance, using the appropriate mechanism.
|
protected Object |
InstantiationPolicy.buildNewInstanceUsingDefaultConstructor()
Build and return a new instance, using the default (zero-argument) constructor.
|
protected Object |
InstantiationPolicy.buildNewInstanceUsingFactory()
Build and return a new instance, using the factory.
|
Expression |
ObjectBuilder.buildPrimaryKeyExpression(DatabaseTable table)
Build the primary key expression for the secondary table.
|
Object |
ObjectBuilder.extractValueFromObjectForField(Object domainObject,
DatabaseField field,
AbstractSession session)
Extract the value of the primary key attribute from the specified object.
|
Object |
InstanceVariableAttributeAccessor.getAttributeValueFromObject(Object anObject)
Returns the value of the attribute on the specified object.
|
Object |
MethodAttributeAccessor.getAttributeValueFromObject(Object anObject)
Gets the value of an instance variable in the object.
|
protected Constructor |
InstantiationPolicy.getDefaultConstructor()
Return the default (zero-argument) constructor for the descriptor class.
|
Class |
ObjectBuilder.getFieldClassification(DatabaseField fieldToClassify)
INTERNAL:
Return the classifiction for the field contained in the mapping.
|
void |
ObjectBuilder.initialize(AbstractSession session)
Cache all the mappings by their attribute and fields.
|
void |
InstantiationPolicy.initialize(AbstractSession session)
If necessary, initialize the factory and the method.
|
void |
InstanceVariableAttributeAccessor.initializeAttributes(Class theJavaClass)
instanceVariableName is converted to Field type.
|
void |
MethodAttributeAccessor.initializeAttributes(Class theJavaClass)
Set get and set method after creating these methods by using
get and set method names
|
protected void |
InstantiationPolicy.initializeMethod()
Initialize the method.
|
void |
ObjectBuilder.initializePrimaryKey(AbstractSession session)
Cache primary key and non primary key mappings.
|
void |
InstanceVariableAttributeAccessor.setAttributeValueInObject(Object anObject,
Object value)
Sets the value of the instance variable in the object to the value.
|
void |
MethodAttributeAccessor.setAttributeValueInObject(Object domainObject,
Object attributeValue)
Sets the value of the instance variable in the object to the value.
|
void |
ObjectBuilder.validate(AbstractSession session)
Validates the object builder.
|
Modifier and Type | Method and Description |
---|---|
IdentityMap |
IdentityMapManager.buildNewIdentityMap(ClassDescriptor descriptor)
INTERNAL: (Public to allow testing to access)
Return a new empty identity map to cache instances of the class.
|
Modifier and Type | Method and Description |
---|---|
Object |
IndirectionPolicy.validateAttributeOfInstantiatedObject(Object attributeValue)
INTERNAL:
Verify that the value of the attribute within an instantiated object
is of the appropriate type for the indirection policy.
|
void |
TransparentIndirectionPolicy.validateContainerPolicy(IntegrityChecker checker)
INTERNAL:
Verify that the container policy is compatible with the
indirection policy.
|
void |
IndirectionPolicy.validateContainerPolicy(IntegrityChecker checker)
INTERNAL:
Verify that the container policy is compatible with the
indirection policy.
|
void |
NoIndirectionPolicy.validateDeclaredAttributeType(Class attributeType,
IntegrityChecker checker)
INTERNAL:
Verify that attributeType is correct for the
indirection policy.
|
void |
BasicIndirectionPolicy.validateDeclaredAttributeType(Class attributeType,
IntegrityChecker checker)
INTERNAL:
Verify that attributeType is correct for the
indirection policy.
|
void |
TransparentIndirectionPolicy.validateDeclaredAttributeType(Class attributeType,
IntegrityChecker checker)
INTERNAL:
Verify that attributeType is correct for the
indirection policy.
|
void |
IndirectionPolicy.validateDeclaredAttributeType(Class attributeType,
IntegrityChecker checker)
INTERNAL:
Verify that attributeType is correct for the
indirection policy.
|
void |
NoIndirectionPolicy.validateDeclaredAttributeTypeForCollection(Class attributeType,
IntegrityChecker checker)
INTERNAL:
Verify that attributeType is an appropriate collection type for the
indirection policy.
|
void |
IndirectionPolicy.validateDeclaredAttributeTypeForCollection(Class attributeType,
IntegrityChecker checker)
INTERNAL:
Verify that attributeType is an appropriate collection type for the
indirection policy.
|
void |
NoIndirectionPolicy.validateGetMethodReturnType(Class returnType,
IntegrityChecker checker)
INTERNAL:
Verify that getter returnType is correct for the
indirection policy.
|
void |
BasicIndirectionPolicy.validateGetMethodReturnType(Class returnType,
IntegrityChecker checker)
INTERNAL:
Verify that getter returnType is correct for the
indirection policy.
|
void |
TransparentIndirectionPolicy.validateGetMethodReturnType(Class returnType,
IntegrityChecker checker)
INTERNAL:
Verify that getter returnType is correct for the
indirection policy.
|
void |
IndirectionPolicy.validateGetMethodReturnType(Class returnType,
IntegrityChecker checker)
INTERNAL:
Verify that getter returnType is correct for the
indirection policy.
|
void |
NoIndirectionPolicy.validateGetMethodReturnTypeForCollection(Class returnType,
IntegrityChecker checker)
INTERNAL:
Verify that getter returnType is an appropriate collection type for the
indirection policy.
|
void |
IndirectionPolicy.validateGetMethodReturnTypeForCollection(Class returnType,
IntegrityChecker checker)
INTERNAL:
Verify that getter returnType is an appropriate collection type for the
indirection policy.
|
void |
NoIndirectionPolicy.validateSetMethodParameterType(Class parameterType,
IntegrityChecker checker)
INTERNAL:
Verify that setter parameterType is correct for the
indirection policy.
|
void |
BasicIndirectionPolicy.validateSetMethodParameterType(Class parameterType,
IntegrityChecker checker)
INTERNAL:
Verify that setter parameterType is correct for the
indirection policy.
|
void |
TransparentIndirectionPolicy.validateSetMethodParameterType(Class parameterType,
IntegrityChecker checker)
INTERNAL:
Verify that setter parameterType is correct for the
indirection policy.
|
void |
IndirectionPolicy.validateSetMethodParameterType(Class parameterType,
IntegrityChecker checker)
INTERNAL:
Verify that setter parameterType is correct for the
indirection policy.
|
void |
NoIndirectionPolicy.validateSetMethodParameterTypeForCollection(Class parameterType,
IntegrityChecker checker)
INTERNAL:
Verify that setter parameterType is an appropriate collection type for the
indirection policy.
|
void |
IndirectionPolicy.validateSetMethodParameterTypeForCollection(Class parameterType,
IntegrityChecker checker)
INTERNAL:
Verify that setter parameterType is an appropriate collection type for the
indirection policy.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseMapping.addToCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Add a new value and its change set to the collection change record.
|
void |
AggregateCollectionMapping.addToCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Add a new value and its change set to the collection change record.
|
void |
DirectMapMapping.addToCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Add a new value and its change set to the collection change record.
|
ChangeRecord |
DatabaseMapping.buildChangeRecord(Object newValue,
ObjectChangeSet owner,
AbstractSession session)
INTERNAL:
Directly build a change record without comparison
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregate(Object object,
Object attributeValue,
AbstractSession session)
INTERNAL:
Build and return a database row built with the values from
the specified attribute value.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregate(Object object,
Object attributeValue,
AbstractSession session,
boolean forceWriteOfReadOnlyClasses)
INTERNAL:
Build and return a database row built with the values from
the specified attribute value.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregateForUpdate(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
Build and return a database row built with the changed values from
the specified attribute value.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregateWithChangeRecord(ChangeRecord changeRecord,
ObjectChangeSet objectChangeSet,
AbstractSession session)
INTERNAL:
Build and return a database row built with the values from
the specified attribute value.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregateWithChangeRecord(ChangeRecord changeRecord,
ObjectChangeSet objectChangeSet,
AbstractSession session,
boolean forceWriteOfReadOnlyClasses)
INTERNAL:
Build and return a database row built with the values from
the specified attribute value.
|
Object |
ForeignReferenceMapping.getAttributeValueFromObject(Object object)
INTERNAL:
Return the value of an attribute which this mapping represents for an object.
|
Object |
DatabaseMapping.getAttributeValueFromObject(Object object)
INTERNAL:
Return the value of an attribute which this mapping represents for an object.
|
abstract Object |
AttributeAccessor.getAttributeValueFromObject(Object object)
Return the attribute value from the object.
|
Class |
OneToOneMapping.getFieldClassification(DatabaseField fieldToClassify)
INTERNAL:
Return the classifiction for the field contained in the mapping.
|
Object |
DatabaseMapping.getRealAttributeValueFromObject(Object object,
AbstractSession session)
INTERNAL:
Return the value of an attribute unwrapping value holders if required.
|
Object |
CollectionMapping.getRealAttributeValueFromObject(Object object,
AbstractSession session)
INTERNAL:
Return the value of an attribute, unwrapping value holders if necessary.
|
Object |
DatabaseMapping.getRealCollectionAttributeValueFromObject(Object object,
AbstractSession session)
INTERNAL:
Return the value of an attribute, unwrapping value holders if necessary.
|
Object |
CollectionMapping.getRealCollectionAttributeValueFromObject(Object object,
AbstractSession session)
Convenience method.
|
void |
ForeignReferenceMapping.initialize(AbstractSession session)
INTERNAL:
Initialize the state of mapping.
|
void |
DatabaseMapping.initialize(AbstractSession session)
INTERNAL:
Allow for initialization of properties and validation.
|
void |
ManyToManyMapping.initialize(AbstractSession session)
INTERNAL:
Initialize mappings
|
void |
OneToOneMapping.initialize(AbstractSession session)
INTERNAL:
Initialize the mapping.
|
void |
DirectCollectionMapping.initialize(AbstractSession session)
INTERNAL:
Initialize and validate the mapping properties.
|
void |
AggregateObjectMapping.initialize(AbstractSession session)
INTERNAL:
For an aggregate mapping the reference descriptor is cloned.
|
void |
OneToManyMapping.initialize(AbstractSession session)
INTERNAL:
Initialize the mapping.
|
void |
CollectionMapping.initialize(AbstractSession session)
INTERNAL:
Initialize the state of mapping.
|
void |
AggregateMapping.initialize(AbstractSession session)
INTERNAL:
Initialize the reference descriptor.
|
void |
AggregateCollectionMapping.initialize(AbstractSession session)
INTERNAL:
For aggregate collection mapping the reference descriptor is cloned.
|
void |
DirectMapMapping.initialize(AbstractSession session)
INTERNAL:
Initialize and validate the mapping properties.
|
void |
AttributeAccessor.initializeAttributes(Class descriptorClass)
Allow any initialization to be performed with the descriptor class.
|
void |
AggregateObjectMapping.initializeChildInheritance(ClassDescriptor parentDescriptor,
AbstractSession session)
INTERNAL:
For an aggregate mapping the reference descriptor is cloned.
|
void |
AggregateCollectionMapping.initializeChildInheritance(ClassDescriptor parentDescriptor,
AbstractSession session)
INTERNAL:
For aggregate mapping the reference descriptor is cloned.
|
protected void |
DirectCollectionMapping.initializeDirectField(AbstractSession session)
The field name on the reference table is initialized and cached.
|
protected void |
DirectMapMapping.initializeDirectKeyField(AbstractSession session)
The field name on the reference table is initialized and cached.
|
void |
AggregateObjectMapping.initializeParentInheritance(ClassDescriptor parentDescriptor,
ClassDescriptor childDescriptor,
AbstractSession session)
INTERNAL:
For an aggregate mapping the reference descriptor is cloned.
|
void |
AggregateCollectionMapping.initializeParentInheritance(ClassDescriptor parentDescriptor,
ClassDescriptor childDescriptor,
AbstractSession session)
INTERNAL:
For aggregate mapping the reference descriptor is cloned.
|
protected void |
ForeignReferenceMapping.initializeReferenceDescriptor(AbstractSession session)
Initialize and set the descriptor for the referenced class in this mapping.
|
protected void |
DirectCollectionMapping.initializeReferenceKeys(AbstractSession session)
The reference keys on the reference table are initalized
|
protected void |
DirectCollectionMapping.initializeReferenceTable(AbstractSession session) |
protected void |
ManyToManyMapping.initializeRelationTable(AbstractSession session)
INTERNAL:
Set the table qualifier on the relation table if required
|
protected void |
ForeignReferenceMapping.initializeSelectionQuery(AbstractSession session)
A subclass should implement this method if it wants non default behaviour.
|
protected void |
ManyToManyMapping.initializeSourceRelationKeys(AbstractSession session)
INTERNAL:
All the source relation key field names are converted to DatabaseField and stored.
|
protected void |
OneToManyMapping.initializeTargetForeignKeysToSourceKeys()
Verify, munge, and hash the target foreign keys and source keys.
|
protected void |
AggregateCollectionMapping.initializeTargetForeignKeyToSourceKeys(AbstractSession session)
INTERNAL:
The foreign keys and the primary key names are converted to DatabaseFields and stored.
|
protected void |
AggregateCollectionMapping.initializeTargetForeignKeyToSourceKeysWithDefaults(AbstractSession session)
INTERNAL:
The foreign keys and the primary key names are converted to DatabaseFields and stored.
|
void |
DatabaseMapping.performDataModificationEvent(Object[] event,
AbstractSession session)
INTERNAL:
Perform the commit event.
|
void |
ManyToManyMapping.performDataModificationEvent(Object[] event,
AbstractSession session)
INTERNAL:
Perform the commit event.
|
void |
DirectCollectionMapping.performDataModificationEvent(Object[] event,
AbstractSession session)
INTERNAL:
Perform the commit event.
|
void |
DatabaseMapping.postInitialize(AbstractSession session)
INTERNAL:
Allow for initialization of properties and validation that have dependecies no the descriptor
being initialized.
|
void |
AggregateObjectMapping.postInitialize(AbstractSession session)
INTERNAL:
For an aggregate mapping the reference descriptor is cloned.
|
void |
AggregateCollectionMapping.postInitialize(AbstractSession session)
INTERNAL:
For aggregate collection mapping the reference descriptor is cloned.
|
void |
DatabaseMapping.preInitialize(AbstractSession session)
INTERNAL:
Allow for initialization of properties and validation.
|
void |
DatabaseMapping.removeFromCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Remove a value and its change set from the collection change record.
|
void |
AggregateCollectionMapping.removeFromCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Remove a value and its change set from the collection change record.
|
void |
DirectMapMapping.removeFromCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Remove a value and its change set from the collection change record.
|
void |
DatabaseMapping.setAttributeValueInObject(Object object,
Object value)
INTERNAL:
Set the value of the attribute mapped by this mapping.
|
abstract void |
AttributeAccessor.setAttributeValueInObject(Object object,
Object value)
Set the attribute value into the object.
|
void |
ForeignReferenceMapping.setRealAttributeValueInObject(Object object,
Object value)
INTERNAL:
Set the value of the attribute mapped by this mapping,
placing it inside a value holder if necessary.
|
void |
DatabaseMapping.setRealAttributeValueInObject(Object object,
Object value)
INTERNAL:
Set the value of the attribute mapped by this mapping,
placing it inside a value holder if necessary.
|
void |
DatabaseMapping.simpleAddToCollectionChangeRecord(Object referenceKey,
Object changeSetToAdd,
ObjectChangeSet changeSet,
AbstractSession session)
ADVANCED:
This method is used to add an object to a collection once the changeSet is applied.
|
void |
DatabaseMapping.simpleRemoveFromCollectionChangeRecord(Object referenceKey,
Object changeSetToAdd,
ObjectChangeSet changeSet,
AbstractSession session)
ADVANCED:
This method is used to remove an object from a collection once the changeSet is applied.
|
void |
DatabaseMapping.updateChangeRecord(Object clone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update the change record with the new value.
|
void |
AggregateMapping.updateChangeRecord(Object sourceClone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update the change record with the new value.
|
void |
DirectMapMapping.updateChangeRecord(Object clone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update the change record with the new value.
|
void |
DatabaseMapping.validateAfterInitialization(AbstractSession session)
INTERNAL:
Allow for subclasses to perform validation.
|
void |
ForeignReferenceMapping.validateBeforeInitialization(AbstractSession session)
INTERNAL:
To validate mappings decleration
|
void |
DatabaseMapping.validateBeforeInitialization(AbstractSession session)
INTERNAL:
Allow for subclasses to perform validation.
|
void |
CollectionMapping.validateBeforeInitialization(AbstractSession session)
INTERNAL:
To validate mappings declaration
|
Object |
AggregateObjectMapping.valueFromObject(Object object,
DatabaseField field,
AbstractSession session)
INTERNAL:
Extract value of the field from the object
|
void |
AggregateObjectMapping.writeFromObjectIntoRow(Object object,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Get the attribute value from the object and add the appropriate
values to the specified database row.
|
void |
AggregateObjectMapping.writeFromObjectIntoRowForUpdate(WriteObjectQuery query,
AbstractRecord databaseRow)
INTERNAL:
Get the attribute value from the object and add the changed
values to the specified database row.
|
void |
AggregateObjectMapping.writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord,
AbstractRecord databaseRow,
AbstractSession session)
INTERNAL:
Get the attribute value from the object and add the appropriate
values to the specified database row.
|
Modifier and Type | Method and Description |
---|---|
Object |
SerializedObjectConverter.convertDataValueToObjectValue(Object fieldValue,
Session session)
INTERNAL:
The fieldValue will be a byte array.
|
void |
ObjectTypeConverter.initializeFieldClassification(Session session)
INTERNAL:
Set the field classification through searching the fields hashtable.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDirectMapping.initialize(AbstractSession session)
INTERNAL:
The mapping is initialized with the given session.
|
void |
AbstractDirectMapping.preInitialize(AbstractSession session)
INTERNAL:
Initialize the attribute classification.
|
void |
AbstractDirectMapping.validateBeforeInitialization(AbstractSession session)
INTERNAL:
Allow for subclasses to perform validation.
|
Object |
AbstractDirectMapping.valueFromObject(Object object,
DatabaseField field,
AbstractSession session)
INTERNAL:
Get the value from the object for this mapping.
|
Copyright © 2021. All rights reserved.