Modifier and Type | Field and Description |
---|---|
protected DatabaseField |
InheritancePolicy.classIndicatorField |
protected DatabaseField |
ClassDescriptor.sequenceNumberField |
protected DatabaseField |
VersionLockingPolicy.writeLockField |
Modifier and Type | Field and Description |
---|---|
protected Map<DatabaseTable,Map<DatabaseField,DatabaseField>> |
ClassDescriptor.additionalTablePrimaryKeyFields |
protected Map<DatabaseTable,Map<DatabaseField,DatabaseField>> |
ClassDescriptor.additionalTablePrimaryKeyFields |
protected Vector<DatabaseField> |
ClassDescriptor.allFields |
protected Vector<DatabaseField> |
ClassDescriptor.fields |
protected List<DatabaseField> |
ClassDescriptor.primaryKeyFields |
Modifier and Type | Method and Description |
---|---|
DatabaseField |
ClassDescriptor.buildField(String fieldName)
INTERNAL:
A DatabaseField is built from the given field name.
|
DatabaseField |
InheritancePolicy.getClassIndicatorField()
INTERNAL:
Returns field that the class type indicator is store when using inheritence.
|
DatabaseField |
ClassDescriptor.getSequenceNumberField()
INTERNAL:
Get sequence number field
|
DatabaseField |
ClassDescriptor.getTypedField(DatabaseField field)
INTERNAL:
searches first descriptor than its ReturningPolicy for an equal field
|
DatabaseField |
VersionLockingPolicy.getWriteLockField()
INTERNAL:
Return the write lock field.
|
Modifier and Type | Method and Description |
---|---|
Map<DatabaseTable,Map<DatabaseField,DatabaseField>> |
ClassDescriptor.getAdditionalTablePrimaryKeyFields()
INTERNAL:
This is used to map the primary key field names in a multiple table descriptor.
|
Map<DatabaseTable,Map<DatabaseField,DatabaseField>> |
ClassDescriptor.getAdditionalTablePrimaryKeyFields()
INTERNAL:
This is used to map the primary key field names in a multiple table descriptor.
|
Vector<DatabaseField> |
ClassDescriptor.getAllFields()
INTERNAL:
Return all the fields which include all child class fields.
|
Vector<DatabaseField> |
ClassDescriptor.getFields()
INTERNAL:
Return all the fields
|
List<DatabaseField> |
ClassDescriptor.getPrimaryKeyFields()
INTERNAL:
Return all the primary key fields
|
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.
|
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.
|
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.addPrimaryKeyField(DatabaseField field)
ADVANCED:
Specify the primary key field of the descriptors table.
|
void |
ClassDescriptor.buildField(DatabaseField field)
INTERNAL:
The table of the field is ensured to be unique from the descriptor's tables.
|
DatabaseField |
ClassDescriptor.getTypedField(DatabaseField field)
INTERNAL:
searches first descriptor than its ReturningPolicy for an equal field
|
protected void |
ClassDescriptor.initializePrimaryKey(DatabaseField primaryKey)
INTERNAL:
|
protected void |
ClassDescriptor.setAdditionalTablePrimaryKeyFields(DatabaseTable table,
DatabaseField field1,
DatabaseField field2)
INTERNAL:
This is used to map the primary key field names in a multiple table
descriptor.
|
void |
InheritancePolicy.setClassIndicatorField(DatabaseField classIndicatorField)
ADVANCED:
To set the class indicator field.
|
void |
ClassDescriptor.setSequenceNumberField(DatabaseField sequenceNumberField)
INTERNAL:
Set the sequence number field.
|
void |
VersionLockingPolicy.setWriteLockField(DatabaseField writeLockField)
ADVANCED:
Set the write lock field.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassDescriptor.setAdditionalTablePrimaryKeyFields(Map<DatabaseTable,Map<DatabaseField,DatabaseField>> additionalTablePrimaryKeyFields)
INTERNAL:
This is used to map the primary key field names in a multiple table
descriptor.
|
void |
ClassDescriptor.setAdditionalTablePrimaryKeyFields(Map<DatabaseTable,Map<DatabaseField,DatabaseField>> additionalTablePrimaryKeyFields)
INTERNAL:
This is used to map the primary key field names in a multiple table
descriptor.
|
protected void |
ClassDescriptor.setAllFields(Vector<DatabaseField> allFields)
INTERNAL:
Set all the fields.
|
void |
ClassDescriptor.setFields(Vector<DatabaseField> fields)
INTERNAL:
Set the fields used by this descriptor.
|
void |
ClassDescriptor.setPrimaryKeyFields(List<DatabaseField> thePrimaryKeyFields)
INTERNAL:
Set the primary key fields
|
Constructor and Description |
---|
TimestampLockingPolicy(DatabaseField field)
INTERNAL:
Create a new TimestampLockingPolicy.
|
VersionLockingPolicy(DatabaseField field)
PUBLIC:
Create a new VersionLockingPolicy.
|
Modifier and Type | Method and Description |
---|---|
static DescriptorException |
DescriptorException.missingForeignKeyTranslation(ForeignReferenceMapping mapping,
DatabaseField primaryKeyField) |
static DescriptorException |
DescriptorException.missingMappingForField(DatabaseField field,
ClassDescriptor descriptor) |
static DescriptorException |
DescriptorException.noFieldValueConversionToAttributeValueProvided(Object fieldValue,
DatabaseField field,
DatabaseMapping mapping) |
static DescriptorException |
DescriptorException.noMappingForPrimaryKey(DatabaseField field,
ClassDescriptor descriptor) |
static DescriptorException |
DescriptorException.referenceKeyFieldNotProperlySpecified(DatabaseField field,
ForeignReferenceMapping mapping) |
static DescriptorException |
DescriptorException.relationKeyFieldNotProperlySpecified(DatabaseField field,
ForeignReferenceMapping mapping) |
Modifier and Type | Method and Description |
---|---|
DatabaseField |
Expression.getClonedField()
INTERNAL:
If there are any fields associated with this expression, return them
|
Modifier and Type | Method and Description |
---|---|
Expression |
Expression.getField(DatabaseField field)
ADVANCED: Return an expression representing a field in a data-level query.
|
Expression |
Expression.getParameter(DatabaseField field)
ADVANCED:
Return an expression representing a parameter with the given name.
|
protected void |
Expression.writeField(ExpressionSQLPrinter printer,
DatabaseField field,
SQLSelectStatement statement)
INTERNAL:
Append the field name to the writer.
|
Modifier and Type | Method and Description |
---|---|
protected DatabaseField |
DatasourceCall.createField(String fieldName)
INTERNAL:
Create a new Database Field
This method can be overridden by subclasses to return other field types
|
protected DatabaseField |
DatabaseCall.getFieldWithTypeFromDescriptor(DatabaseField outField)
INTERNAL:
Unfortunately can't avoid referencing query and descriptor:
the call should be performed after the translateCustomSQL (in SQLCall)
in the middle of prepare method (no parameter available earlier).
|
DatabaseField |
OutputParameterForCallableStatement.getOutputField() |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseCall.addContext(DatabaseField field,
Object value)
INTERNAL:
Add a field - value pair for LOB field into the context.
|
void |
DatasourceCall.appendIn(Writer writer,
DatabaseField field)
INTERNAL:
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
void |
DatabaseCall.appendInOut(DatabaseField inoutField)
INTERNAL:
|
void |
DatabaseCall.appendInOut(Object inValueOrField,
DatabaseField outField)
INTERNAL:
|
void |
DatasourceCall.appendInOut(Writer writer,
DatabaseField inoutField)
INTERNAL:
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
void |
DatasourceCall.appendModify(Writer writer,
DatabaseField modifyField)
INTERNAL:
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
void |
QueryStringCall.appendModify(Writer writer,
DatabaseField modifyField)
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
void |
DatabaseCall.appendOut(DatabaseField outField)
INTERNAL:
|
void |
DatasourceCall.appendOut(Writer writer,
DatabaseField outField)
INTERNAL:
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
void |
DatabaseCall.appendOutCursor(DatabaseField outField)
INTERNAL:
|
void |
DatasourceCall.appendTranslation(Writer writer,
DatabaseField modifyField)
INTERNAL:
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
void |
QueryStringCall.appendTranslation(Writer writer,
DatabaseField modifyField)
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
Object |
Platform.getCustomModifyValueForCall(Call call,
Object value,
DatabaseField field,
boolean shouldBind)
Allow for the platform to handle the representation of parameters specially.
|
Object |
DatasourcePlatform.getCustomModifyValueForCall(Call call,
Object value,
DatabaseField field,
boolean shouldBind)
Allow for the platform to handle the representation of parameters specially.
|
protected DatabaseField |
DatabaseCall.getFieldWithTypeFromDescriptor(DatabaseField outField)
INTERNAL:
Unfortunately can't avoid referencing query and descriptor:
the call should be performed after the translateCustomSQL (in SQLCall)
in the middle of prepare method (no parameter available earlier).
|
int |
DatabasePlatform.getJDBCType(DatabaseField field)
Return the JDBC type for the given database field.
|
protected Object |
DatabaseAccessor.getObject(ResultSet resultSet,
DatabaseField field,
ResultSetMetaData metaData,
int columnNumber,
DatabasePlatform platform,
boolean optimizeData,
AbstractSession session)
Return an object retrieved from resultSet with the getObject() method.
|
protected Object |
DatabaseAccessor.getObjectThroughOptimizedDataConversion(ResultSet resultSet,
DatabaseField field,
int type,
int columnNumber,
DatabasePlatform platform,
AbstractSession session)
Handle the conversion into java optimially through calling the direct type API.
|
boolean |
Platform.shouldUseCustomModifyForCall(DatabaseField field)
Allow for the platform to handle the representation of parameters specially.
|
boolean |
DatasourcePlatform.shouldUseCustomModifyForCall(DatabaseField field)
Used by SQLCall.appendModify(..)
If the field should be passed to customModifyInDatabaseCall, retun true,
otherwise false.
|
void |
DatabasePlatform.writeLOB(DatabaseField field,
Object value,
ResultSet resultSet,
AbstractSession session)
INTERNAL:
Write LOB value - only on Oracle8 and up
|
Constructor and Description |
---|
InOutputParameterForCallableStatement(Object inParameter,
DatabaseField outField,
DatabasePlatform platform) |
OutputParameterForCallableStatement(DatabaseField field) |
OutputParameterForCallableStatement(DatabaseField field,
DatabasePlatform platform) |
OutputParameterForCallableStatement(DatabaseField field,
DatabasePlatform platform,
boolean isCursor) |
Modifier and Type | Field and Description |
---|---|
protected Map<DatabaseField,DatabaseMapping> |
ObjectBuilder.mappingsByField |
protected Map<DatabaseField,Vector<DatabaseMapping>> |
ObjectBuilder.readOnlyMappingsByField |
Modifier and Type | Method and Description |
---|---|
DatabaseField |
ObjectBuilder.getFieldForQueryKeyName(String name)
Return the field used for the query key name.
|
DatabaseField |
ObjectBuilder.getTargetFieldForQueryKeyName(String queryKeyName)
INTERNAL: return a database field based on a query key name
|
DatabaseField |
OptimisticLockingPolicy.getWriteLockField()
INTERNAL:
Return the write lock field.
|
Modifier and Type | Method and Description |
---|---|
Map<DatabaseField,DatabaseMapping> |
ObjectBuilder.getMappingsByField()
INTERNAL:
Return all the mapping to field associations
|
Map<DatabaseField,Vector<DatabaseMapping>> |
ObjectBuilder.getReadOnlyMappingsByField()
INTERNAL:
Return all the read-only mapping to field associations
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectBuilder.assignReturnValueForField(Object object,
ReadObjectQuery query,
AbstractRecord row,
DatabaseField field,
Collection handledMappings)
INTERNAL:
Assign values from objectRow to the object through all the mappings corresponding to the field.
|
protected void |
ObjectBuilder.assignReturnValueToMapping(Object object,
ReadObjectQuery query,
AbstractRecord row,
DatabaseField field,
DatabaseMapping mapping,
Collection handledMappings)
INTERNAL:
Assign values from objectRow to the object through the mapping.
|
Object |
ObjectBuilder.extractValueFromObjectForField(Object domainObject,
DatabaseField field,
AbstractSession session)
Extract the value of the primary key attribute from the specified object.
|
DatabaseMapping |
ObjectBuilder.getBaseMappingForField(DatabaseField databaseField)
Return the base mapping for the given DatabaseField.
|
Object |
ObjectBuilder.getBaseValueForField(DatabaseField databaseField,
Object domainObject)
Return the base value that is mapped to for given field.
|
Class |
ObjectBuilder.getFieldClassification(DatabaseField fieldToClassify)
INTERNAL:
Return the classifiction for the field contained in the mapping.
|
DatabaseMapping |
ObjectBuilder.getMappingForField(DatabaseField field)
Return al the mapping for the specified field.
|
Object |
ObjectBuilder.getParentObjectForField(DatabaseField databaseField,
Object domainObject)
Return the base value that is mapped to for given field.
|
Vector<DatabaseMapping> |
ObjectBuilder.getReadOnlyMappingsForField(DatabaseField field)
Return all the read-only mapping for the specified field.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectBuilder.setMappingsByField(Map<DatabaseField,DatabaseMapping> theFieldMappings)
INTERNAL:
All the mappings and their respective field associations are cached for performance improvement.
|
void |
ObjectBuilder.setReadOnlyMappingsByField(Map<DatabaseField,Vector<DatabaseMapping>> theReadOnlyFieldMappings)
INTERNAL:
All the read-only mappings and their respective field associations are cached for performance improvement.
|
Modifier and Type | Method and Description |
---|---|
DatabaseField |
MetadataDescriptor.getClassIndicatorField()
INTERNAL:
|
DatabaseField |
MetadataDescriptor.getSequenceNumberField()
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
List<DatabaseField> |
MetadataDescriptor.getPrimaryKeyFields()
INTERNAL:
Return the primary key fields for this descriptor metadata.
|
Modifier and Type | Method and Description |
---|---|
void |
MetadataDescriptor.addMultipleTableForeignKeyField(DatabaseField pkField,
DatabaseField fkField)
INTERNAL:
|
void |
MetadataDescriptor.addMultipleTablePrimaryKeyField(DatabaseField pkField,
DatabaseField fkField)
INTERNAL:
|
void |
MetadataDescriptor.addPrimaryKeyField(DatabaseField field)
INTERNAL:
|
void |
MetadataDescriptor.setClassIndicatorField(DatabaseField field)
INTERNAL:
|
void |
MetadataDescriptor.setSequenceNumberField(DatabaseField field)
INTERNAL:
|
void |
MetadataDescriptor.useTimestampLockingPolicy(DatabaseField field)
INTERNAL:
|
void |
MetadataDescriptor.useVersionLockingPolicy(DatabaseField field)
INTERNAL:
|
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,DatabaseField> |
EmbeddedIdAccessor.m_idFields |
Modifier and Type | Method and Description |
---|---|
DatabaseField |
DirectAccessor.getDatabaseField(String loggingCtx)
INTERNAL:
Process column details from an @Column or column element into a
MetadataColumn and return it.
|
Modifier and Type | Method and Description |
---|---|
protected String |
MetadataAccessor.getName(DatabaseField field,
String defaultName,
String context)
INTERNAL:
Helper method to return a field name from a candidate field name and a
default field name.
|
protected void |
BasicAccessor.processDirectToFieldMapping(DatabaseField field)
INTERNAL:
Process a Serialized or Basic into a DirectToFieldMapping.
|
protected void |
BasicAccessor.processGeneratedValue(DatabaseField field)
INTERNAL: (Overridden In XMLBasicAccessor)
Process a @GeneratedValue.
|
protected void |
BasicAccessor.processGeneratedValue(MetadataGeneratedValue generatedValue,
DatabaseField sequenceNumberField)
INTERNAL:
|
protected void |
BasicAccessor.processId(DatabaseField field)
INTERNAL:
Process an @Id or id element if there is one.
|
protected void |
BasicAccessor.processVersion(DatabaseField field)
INTERNAL:
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseField |
MetadataColumn.m_databaseField |
protected DatabaseField |
MetadataPrimaryKeyJoinColumn.m_fkField |
protected DatabaseField |
MetadataJoinColumn.m_fkField |
protected DatabaseField |
MetadataPrimaryKeyJoinColumn.m_pkField |
protected DatabaseField |
MetadataJoinColumn.m_pkField |
Modifier and Type | Method and Description |
---|---|
DatabaseField |
MetadataColumn.getDatabaseField()
INTERNAL:
|
DatabaseField |
MetadataPrimaryKeyJoinColumn.getForeignKeyField()
INTERNAL:
|
DatabaseField |
MetadataJoinColumn.getForeignKeyField()
INTERNAL:
|
DatabaseField |
MetadataPrimaryKeyJoinColumn.getPrimaryKeyField()
INTERNAL:
|
DatabaseField |
MetadataJoinColumn.getPrimaryKeyField()
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
void |
MetadataColumn.setDatabaseField(DatabaseField databaseField)
INTERNAL:
This method will get called if we have an attribute override that
overrides another attribute override.
|
Modifier and Type | Method and Description |
---|---|
protected void |
XMLBasicAccessor.processGeneratedValue(DatabaseField field)
INTERNAL: (Override from BasicAccessor)
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseField |
QueryKeyExpression.aliasedField
Cache the aliased field.
|
protected DatabaseField |
FieldExpression.aliasedField |
protected DatabaseField |
ParameterExpression.field
The parameter field or name.
|
protected DatabaseField |
FieldExpression.field |
Modifier and Type | Method and Description |
---|---|
DatabaseField |
DataExpression.getAliasedField()
INTERNAL:
Return the field appropriately aliased
|
DatabaseField |
QueryKeyExpression.getAliasedField()
INTERNAL:
Return the field appropriately aliased
|
DatabaseField |
FieldExpression.getAliasedField()
INTERNAL:
Return the field appropriately aliased
|
DatabaseField |
FieldExpression.getClonedField()
INTERNAL:
If there are any fields associated with this expression, return them
|
DatabaseField |
DataExpression.getField()
INTERNAL:
|
DatabaseField |
QueryKeyExpression.getField()
INTERNAL:
|
DatabaseField |
ParameterExpression.getField() |
DatabaseField |
FieldExpression.getField()
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
void |
SQLSelectStatement.addField(DatabaseField field) |
Expression |
DataExpression.existingDerivedField(DatabaseField field)
INTERNAL:
|
Expression |
DataExpression.getField(DatabaseField field) |
Expression |
ParameterExpression.getField(DatabaseField field)
This allows for nesting of parametrized expression.
|
Expression |
DataExpression.newDerivedField(DatabaseField field)
INTERNAL:
|
void |
ExpressionSQLPrinter.printField(DatabaseField field) |
void |
ExpressionSQLPrinter.printParameter(DatabaseField field) |
void |
SQLSelectStatement.removeField(DatabaseField field)
INTERNAL:
|
void |
FieldExpression.setField(DatabaseField newField)
INTERNAL:
Set the field in the mapping.
|
protected static void |
SQLUpdateAllStatementForOracleAnonymousBlock.writeDeclareTypeAndVar(Writer writer,
DatabaseField field) |
protected void |
SQLSelectStatement.writeField(ExpressionSQLPrinter printer,
DatabaseField field)
INTERNAL:
|
protected static void |
SQLUpdateAllStatementForOracleAnonymousBlock.writeForAll(Writer writer,
DatabaseField field) |
protected static void |
SQLUpdateAllStatementForOracleAnonymousBlock.writeType(Writer writer,
DatabaseField field) |
protected static void |
SQLUpdateAllStatementForOracleAnonymousBlock.writeUniqueFieldName(Writer writer,
DatabaseField field) |
protected static void |
SQLUpdateAllStatementForOracleAnonymousBlock.writeVar(Writer writer,
DatabaseField field) |
Constructor and Description |
---|
FieldExpression(DatabaseField newField)
FieldExpression constructor comment.
|
FieldExpression(DatabaseField newField,
Expression myBase)
FieldExpression constructor comment.
|
ParameterExpression(DatabaseField field) |
ParameterExpression(DatabaseField field,
Expression baseExpression) |
Modifier and Type | Method and Description |
---|---|
boolean |
DatabaseField.equals(DatabaseField field)
Determine whether the receiver is equal to a DatabaseField.
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseField |
DirectMapContainerPolicy.keyField |
protected DatabaseField |
DirectMapContainerPolicy.valueField |
Modifier and Type | Method and Description |
---|---|
protected SQLSelectStatement |
ExpressionQueryMechanism.buildSelectStatementForDoesExist(DatabaseField field)
Return the appropriate select statement to perform a does exist check
|
abstract void |
DatabaseQueryMechanism.prepareDoesExist(DatabaseField field)
Pre-pare for a select execute.
|
void |
CallQueryMechanism.prepareDoesExist(DatabaseField field)
Pre-build configure the SQL call.
|
void |
ExpressionQueryMechanism.prepareDoesExist(DatabaseField field)
Pre-build the SQL statement from the expression.
|
void |
StatementQueryMechanism.prepareDoesExist(DatabaseField field)
Pre-build the SQL call from the statement.
|
void |
DatasourceCallQueryMechanism.prepareDoesExist(DatabaseField field)
Pre-build configure the call.
|
abstract AbstractRecord |
DatabaseQueryMechanism.selectRowForDoesExist(DatabaseField field)
Read and return a row from the database for an existence check.
|
AbstractRecord |
DatasourceCallQueryMechanism.selectRowForDoesExist(DatabaseField field)
Perform a does exist check
|
void |
DirectMapContainerPolicy.setKeyField(DatabaseField field) |
void |
DirectMapContainerPolicy.setValueField(DatabaseField field) |
protected void |
DatabaseQueryMechanism.updateChangeSet(ClassDescriptor desc,
ObjectChangeSet objectChangeSet,
DatabaseField field,
Object object) |
protected void |
DatabaseQueryMechanism.updateChangeSet(ClassDescriptor desc,
ObjectChangeSet objectChangeSet,
DatabaseField field,
Object object,
Collection handledMappings) |
protected void |
DatabaseQueryMechanism.updateChangeSet(DatabaseMapping mapping,
ObjectChangeSet objectChangeSet,
DatabaseField field,
Object object,
Collection handledMappings) |
Modifier and Type | Field and Description |
---|---|
protected DatabaseField |
AbstractRecord.lookupField
Optimize field creation for field name lookup.
|
Modifier and Type | Method and Description |
---|---|
DatabaseField |
AbstractRecord.getField(DatabaseField key)
INTERNAL:
Returns the row's field with the same name.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractRecord.add(DatabaseField key,
Object value)
INTERNAL:
Add the field-value pair to the row.
|
boolean |
AbstractRecord.containsKey(DatabaseField key)
INTERNAL:
Check if the field is contained in the row.
|
Object |
AbstractRecord.get(DatabaseField key)
INTERNAL:
Retrieve the value for the field.
|
DatabaseField |
AbstractRecord.getField(DatabaseField key)
INTERNAL:
Returns the row's field with the same name.
|
Object |
AbstractRecord.getIndicatingNoEntry(DatabaseField key)
INTERNAL:
Retrieve the value for the field.
|
Object |
AbstractRecord.getValues(DatabaseField key) |
Object |
AbstractRecord.put(DatabaseField key,
Object value)
INTERNAL:
Add the field-value pair to the row.
|
Object |
AbstractRecord.remove(DatabaseField key)
INTERNAL:
Remove the field key from the row.
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseField |
DirectCollectionMapping.directField
The direct field name is converted and stored
|
protected DatabaseField |
DirectMapMapping.directKeyField
The direct key field name is converted and stored
|
Modifier and Type | Field and Description |
---|---|
protected Vector<DatabaseField> |
DatabaseMapping.fields
Fields associated with the mappings are cached
|
protected Vector<DatabaseField> |
ObjectReferenceMapping.foreignKeyFields
Keeps track of which fields are foreign keys on a per field basis (can have mixed foreign key relationships).
|
protected Vector<DatabaseField> |
DirectCollectionMapping.referenceKeyFields |
protected Vector<DatabaseField> |
OneToManyMapping.sourceKeyFields
The (typically primary) source key fields that are referenced by the targetForeignKeyFields.
|
protected Vector<DatabaseField> |
DirectCollectionMapping.sourceKeyFields |
protected Vector<DatabaseField> |
AggregateCollectionMapping.sourceKeyFields
This is a primary key in the source table that is used as foreign key in the target table
|
protected Vector<DatabaseField> |
ManyToManyMapping.sourceKeyFields
The field in the source table that corresponds to the key in the relation table
|
protected Map<DatabaseField,DatabaseField> |
OneToManyMapping.sourceKeysToTargetForeignKeys
This maps the (primary) source key fields to the corresponding target foreign key fields.
|
protected Map<DatabaseField,DatabaseField> |
OneToManyMapping.sourceKeysToTargetForeignKeys
This maps the (primary) source key fields to the corresponding target foreign key fields.
|
protected Vector<DatabaseField> |
ManyToManyMapping.sourceRelationKeyFields
The field in the intermediate table that corresponds to the key in the source table
|
protected Map<DatabaseField,DatabaseField> |
OneToOneMapping.sourceToTargetKeyFields
Maps the source foreign/primary key fields to the target primary/foreign key fields.
|
protected Map<DatabaseField,DatabaseField> |
OneToOneMapping.sourceToTargetKeyFields
Maps the source foreign/primary key fields to the target primary/foreign key fields.
|
protected Vector<DatabaseField> |
OneToManyMapping.targetForeignKeyFields
The target foreign key fields that reference the sourceKeyFields.
|
protected Vector<DatabaseField> |
AggregateCollectionMapping.targetForeignKeyFields
This is a key in the target table which is a foreign key in the target table.
|
protected Map<DatabaseField,DatabaseField> |
OneToManyMapping.targetForeignKeysToSourceKeys
This maps the target foreign key fields to the corresponding (primary) source key fields.
|
protected Map<DatabaseField,DatabaseField> |
OneToManyMapping.targetForeignKeysToSourceKeys
This maps the target foreign key fields to the corresponding (primary) source key fields.
|
protected Map<DatabaseField,DatabaseField> |
AggregateCollectionMapping.targetForeignKeyToSourceKeys
Foreign keys in the target table to the related keys in the source table
|
protected Map<DatabaseField,DatabaseField> |
AggregateCollectionMapping.targetForeignKeyToSourceKeys
Foreign keys in the target table to the related keys in the source table
|
protected Vector<DatabaseField> |
ManyToManyMapping.targetKeyFields
The field in the target table that corresponds to the key in the relation table
|
protected Vector<DatabaseField> |
ManyToManyMapping.targetRelationKeyFields
The field in the intermediate table that corresponds to the key in the target table
|
protected Map<DatabaseField,DatabaseField> |
OneToOneMapping.targetToSourceKeyFields
Maps the target primary/foreign key fields to the source foreign/primary key fields.
|
protected Map<DatabaseField,DatabaseField> |
OneToOneMapping.targetToSourceKeyFields
Maps the target primary/foreign key fields to the source foreign/primary key fields.
|
Modifier and Type | Method and Description |
---|---|
DatabaseField |
DirectCollectionMapping.getDirectField()
INTERNAL:
Return the direct field.
|
DatabaseField |
DirectMapMapping.getDirectKeyField()
INTERNAL:
|
DatabaseField |
DatabaseMapping.getField()
INTERNAL:
Return the field associated with this mapping if there is exactly one.
|
Modifier and Type | Method and Description |
---|---|
protected Vector<DatabaseField> |
ObjectReferenceMapping.collectFields()
INTERNAL:
Return all the fields populated by this mapping, these are foreign keys only.
|
protected Vector<DatabaseField> |
DatabaseMapping.collectFields()
This method must be overwritten in the subclasses to return a vector of all the
fields this mapping represents.
|
protected Vector<DatabaseField> |
AggregateObjectMapping.collectFields()
INTERNAL:
Return the fields handled by the mapping.
|
Vector<DatabaseField> |
DatabaseMapping.getFields()
INTERNAL:
Returns a vector of all the fields this mapping represents.
|
Vector<DatabaseField> |
ObjectReferenceMapping.getForeignKeyFields()
INTERNAL:
Returns the foreign key names associated with the mapping.
|
protected Vector<DatabaseField> |
AggregateObjectMapping.getReferenceFields()
INTERNAL:
Return the fields used to build the aggregate object.
|
Vector<DatabaseField> |
DirectCollectionMapping.getReferenceKeyFields()
INTERNAL:
Return the reference key fields.
|
Vector<DatabaseField> |
OneToManyMapping.getSourceKeyFields()
INTERNAL:
Return the source key fields.
|
Vector<DatabaseField> |
DirectCollectionMapping.getSourceKeyFields()
INTERNAL:
Return the source key fields.
|
Vector<DatabaseField> |
AggregateCollectionMapping.getSourceKeyFields()
INTERNAL:
Return the source key names associated with the mapping
|
Vector<DatabaseField> |
ManyToManyMapping.getSourceKeyFields()
INTERNAL:
Return all the source key fields associated with the mapping.
|
Map<DatabaseField,DatabaseField> |
OneToManyMapping.getSourceKeysToTargetForeignKeys()
INTERNAL:
Return the source/target key fields.
|
Map<DatabaseField,DatabaseField> |
OneToManyMapping.getSourceKeysToTargetForeignKeys()
INTERNAL:
Return the source/target key fields.
|
Vector<DatabaseField> |
ManyToManyMapping.getSourceRelationKeyFields()
INTERNAL:
Return all the source realtion key fields associated with the mapping.
|
Map<DatabaseField,DatabaseField> |
OneToOneMapping.getSourceToTargetKeyFields()
INTERNAL:
Returns the source keys to target keys fields association.
|
Map<DatabaseField,DatabaseField> |
OneToOneMapping.getSourceToTargetKeyFields()
INTERNAL:
Returns the source keys to target keys fields association.
|
Vector<DatabaseField> |
OneToManyMapping.getTargetForeignKeyFields()
INTERNAL:
Return the target foreign key fields.
|
Vector<DatabaseField> |
AggregateCollectionMapping.getTargetForeignKeyFields()
INTERNAL:
Return the target foregin key fields associated with the mapping
|
Map<DatabaseField,DatabaseField> |
OneToManyMapping.getTargetForeignKeysToSourceKeys()
INTERNAL:
Return the target/source key fields.
|
Map<DatabaseField,DatabaseField> |
OneToManyMapping.getTargetForeignKeysToSourceKeys()
INTERNAL:
Return the target/source key fields.
|
Map<DatabaseField,DatabaseField> |
AggregateCollectionMapping.getTargetForeignKeyToSourceKeys()
INTERNAL:
|
Map<DatabaseField,DatabaseField> |
AggregateCollectionMapping.getTargetForeignKeyToSourceKeys()
INTERNAL:
|
Vector<DatabaseField> |
ManyToManyMapping.getTargetKeyFields()
INTERNAL:
Return all the target keys associated with the mapping.
|
Vector<DatabaseField> |
ManyToManyMapping.getTargetRelationKeyFields()
INTERNAL:
Return all the target relation key fields associated with the mapping.
|
Map<DatabaseField,DatabaseField> |
OneToOneMapping.getTargetToSourceKeyFields()
INTERNAL:
Returns the target keys to source keys fields association.
|
Map<DatabaseField,DatabaseField> |
OneToOneMapping.getTargetToSourceKeyFields()
INTERNAL:
Returns the target keys to source keys fields association.
|
Modifier and Type | Method and Description |
---|---|
void |
OneToOneMapping.addForeignKeyField(DatabaseField sourceForeignKeyField,
DatabaseField targetPrimaryKeyField)
PUBLIC:
Define the foreign key relationship in the 1-1 mapping.
|
void |
AggregateObjectMapping.addPrimaryKeyJoinField(DatabaseField primaryKeyField,
DatabaseField secondaryField)
INTERNAL:
Add a primary key join column (secondary field).
|
void |
DirectCollectionMapping.addReferenceKeyField(DatabaseField referenceForeignKeyField,
DatabaseField sourcePrimaryKeyField)
PUBLIC:
Add the reference key field.
|
void |
ManyToManyMapping.addSourceRelationKeyField(DatabaseField sourceRelationKeyField,
DatabaseField sourcePrimaryKeyField)
PUBLIC:
Add the fields in the intermediate table that corresponds to the primary
key in the source table.
|
void |
OneToManyMapping.addTargetForeignKeyField(DatabaseField targetForeignKeyField,
DatabaseField sourceKeyField)
INTERNAL:
Add the associated fields to the appropriate collections.
|
void |
OneToOneMapping.addTargetForeignKeyField(DatabaseField targetForeignKeyField,
DatabaseField sourcePrimaryKeyField)
PUBLIC:
Define the target foreign key relationship in the 1-1 mapping.
|
void |
ManyToManyMapping.addTargetRelationKeyField(DatabaseField targetRelationKeyField,
DatabaseField targetPrimaryKeyField)
PUBLIC:
Add the fields in the intermediate table that corresponds to the primary
key in the target table.
|
Class |
OneToOneMapping.getFieldClassification(DatabaseField fieldToClassify)
INTERNAL:
Return the classifiction for the field contained in the mapping.
|
Class |
DatabaseMapping.getFieldClassification(DatabaseField fieldToClassify)
INTERNAL:
Return the classifiction for the field contained in the mapping.
|
Class |
AggregateObjectMapping.getFieldClassification(DatabaseField fieldToClassify)
INTERNAL:
Return the classification for the field contained in the mapping.
|
void |
DirectCollectionMapping.setDirectField(DatabaseField field)
PUBLIC:
Set the direct field in the reference table.
|
void |
DirectMapMapping.setDirectKeyField(DatabaseField keyField)
INTERNAL:
|
Object |
OneToOneMapping.valueFromObject(Object object,
DatabaseField field,
AbstractSession session)
INTERNAL:
Get a value from the object and set that in the respective field of the row.
|
Object |
DatabaseMapping.valueFromObject(Object anObject,
DatabaseField field,
AbstractSession session)
INTERNAL:
A subclass should extract the value from the object for the field, if it does not map the field then
it should return null.
|
Object |
AggregateObjectMapping.valueFromObject(Object object,
DatabaseField field,
AbstractSession session)
INTERNAL:
Extract value of the field from the object
|
protected void |
DirectToFieldMapping.writeValueIntoRow(AbstractRecord row,
DatabaseField field,
Object fieldValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
DatabaseMapping.setFields(Vector<DatabaseField> fields)
INTERNAL:
Set the mapping's field collection.
|
protected void |
ObjectReferenceMapping.setForeignKeyFields(Vector<DatabaseField> foreignKeyFields)
INTERNAL:
Set the foreign key fields associated with the mapping.
|
void |
DirectCollectionMapping.setReferenceKeyFields(Vector<DatabaseField> aVector)
INTERNAL:
Set the reference fields.
|
void |
OneToManyMapping.setSourceKeyFields(Vector<DatabaseField> sourceKeyFields)
INTERNAL:
Set the source key fields.
|
void |
DirectCollectionMapping.setSourceKeyFields(Vector<DatabaseField> sourceKeyFields)
INTERNAL:
Set the source fields.
|
void |
AggregateCollectionMapping.setSourceKeyFields(Vector<DatabaseField> sourceKeyFields)
INTERNAL:
set all the primary key names associated with this mapping
|
void |
ManyToManyMapping.setSourceKeyFields(Vector<DatabaseField> sourceKeyFields)
INTERNAL:
Set the source fields.
|
void |
ManyToManyMapping.setSourceRelationKeyFields(Vector<DatabaseField> sourceRelationKeyFields)
INTERNAL:
Set the source fields.
|
void |
OneToOneMapping.setSourceToTargetKeyFields(Map<DatabaseField,DatabaseField> sourceToTargetKeyFields)
INTERNAL:
Set the source keys to target keys fields association.
|
void |
OneToOneMapping.setSourceToTargetKeyFields(Map<DatabaseField,DatabaseField> sourceToTargetKeyFields)
INTERNAL:
Set the source keys to target keys fields association.
|
void |
OneToManyMapping.setTargetForeignKeyFields(Vector<DatabaseField> targetForeignKeyFields)
INTERNAL:
Set the target fields.
|
void |
AggregateCollectionMapping.setTargetForeignKeyFields(Vector<DatabaseField> targetForeignKeyFields)
INTERNAL:
set the target foregin key fields associated with the mapping
|
protected void |
OneToManyMapping.setTargetForeignKeysToSourceKeys(Map<DatabaseField,DatabaseField> targetForeignKeysToSourceKeys)
INTERNAL:
Set the target fields.
|
protected void |
OneToManyMapping.setTargetForeignKeysToSourceKeys(Map<DatabaseField,DatabaseField> targetForeignKeysToSourceKeys)
INTERNAL:
Set the target fields.
|
protected void |
AggregateCollectionMapping.setTargetForeignKeyToSourceKeys(Map<DatabaseField,DatabaseField> targetForeignKeyToSourceKeys) |
protected void |
AggregateCollectionMapping.setTargetForeignKeyToSourceKeys(Map<DatabaseField,DatabaseField> targetForeignKeyToSourceKeys) |
void |
ManyToManyMapping.setTargetKeyFields(Vector<DatabaseField> targetKeyFields)
INTERNAL:
Set the target fields.
|
void |
ManyToManyMapping.setTargetRelationKeyFields(Vector<DatabaseField> targetRelationKeyFields)
INTERNAL:
Set the target fields.
|
void |
OneToOneMapping.setTargetToSourceKeyFields(Map<DatabaseField,DatabaseField> targetToSourceKeyFields)
INTERNAL:
Set the target keys to source keys fields association.
|
void |
OneToOneMapping.setTargetToSourceKeyFields(Map<DatabaseField,DatabaseField> targetToSourceKeyFields)
INTERNAL:
Set the target keys to source keys fields association.
|
Modifier and Type | Method and Description |
---|---|
Class |
ObjectTypeConverter.getFieldClassification(DatabaseField fieldToClassify)
INTERNAL:
Return the classifiction for the field contained in the mapping.
|
Modifier and Type | Field and Description |
---|---|
protected DatabaseField |
AbstractDirectMapping.field
DatabaseField which this mapping represents.
|
Modifier and Type | Method and Description |
---|---|
DatabaseField |
AbstractDirectMapping.getField()
INTERNAL:
Returns the field which this mapping represents.
|
Modifier and Type | Method and Description |
---|---|
protected Vector<DatabaseField> |
AbstractDirectMapping.collectFields()
Returns the field this mapping represents.
|
Modifier and Type | Method and Description |
---|---|
Class |
AbstractDirectMapping.getFieldClassification(DatabaseField fieldToClassify)
INTERNAL:
Return the classifiction for the field contained in the mapping.
|
void |
AbstractDirectMapping.setField(DatabaseField theField)
ADVANCED:
Set the field in the mapping.
|
Object |
AbstractDirectMapping.valueFromObject(Object object,
DatabaseField field,
AbstractSession session)
INTERNAL:
Get the value from the object for this mapping.
|
protected abstract void |
AbstractDirectMapping.writeValueIntoRow(AbstractRecord row,
DatabaseField field,
Object value) |
Modifier and Type | Method and Description |
---|---|
protected DatabaseField |
DoesExistQuery.getDoesExistField()
INTERNAL:
Return the write lock field or the first primary key field if not using locking.
|
DatabaseField |
EntityResult.processValueFromRecordForMapping(ClassDescriptor descriptor,
String[] attributeNames,
int currentLoc)
INTERNAL:
This method is for processing a single FieldResult, returning the DatabaseField it refers to.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectLevelReadQuery.addAdditionalField(DatabaseField field)
INTERNAL:
Additional fields can be added to a query.
|
protected void |
SQLCall.afterTranslateCustomQueryUpdateParameter(DatabaseField field,
int index,
Integer parameterType,
Vector updatedParameters,
Vector updatedParameterTypes)
INTERNAL:
Set the data passed through setCustomSQLArgumentType and useCustomSQLCursorOutputAsResultSet methods.
|
Modifier and Type | Method and Description |
---|---|
DatabaseField |
DirectQueryKey.getField()
INTERNAL:
Return the field for the query key.
|
Modifier and Type | Method and Description |
---|---|
void |
DirectQueryKey.setField(DatabaseField field)
INTERNAL:
Set the field for the query key.
|
Modifier and Type | Method and Description |
---|---|
Object |
DatabaseRecord.getValues(DatabaseField key)
PUBLIC:
Returns the Object associated with the given key
(null if the key does not map to an Object.)
|
Copyright © 2022. All rights reserved.