Uses of Class
org.eclipse.persistence.internal.helper.DatabaseField
-
-
Uses of DatabaseField in org.eclipse.persistence.descriptors
Fields in org.eclipse.persistence.descriptors declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldInheritancePolicy. classIndicatorFieldprotected DatabaseFieldCMPPolicy.KeyIsElementAccessor. databaseFieldprotected DatabaseFieldClassDescriptor. sequenceNumberFieldprotected DatabaseFieldVersionLockingPolicy. writeLockFieldFields in org.eclipse.persistence.descriptors with type parameters of type DatabaseField Modifier and Type Field Description protected List<DatabaseField>ClassDescriptor. additionalAggregateCollectionKeyFieldsused by aggregate descriptors to hold additional fields needed when they are stored in an AggregatateCollection These fields are generally foreign key fields that are required in addition to the fields in the descriptor's mappings to uniquely identify the Aggregateprotected Map<DatabaseTable,Map<DatabaseField,DatabaseField>>ClassDescriptor. additionalTablePrimaryKeyFieldsprotected Map<DatabaseTable,Map<DatabaseField,DatabaseField>>ClassDescriptor. additionalTablePrimaryKeyFieldsprotected List<DatabaseField>ClassDescriptor. additionalWritableMapKeyFieldsstores fields that are written by Map key mappings so they can be checked for multiple writable mappingsprotected Vector<DatabaseField>ClassDescriptor. allFieldsprotected List<DatabaseField>FieldsLockingPolicy. allNonPrimaryKeyFieldsprotected List<DatabaseField>ClassDescriptor. allSelectionFieldsprotected Map<List<DatabaseField>,CacheIndex>CachePolicy. cacheIndexesprotected List<DatabaseField>CacheIndex. fieldsprotected Vector<DatabaseField>ClassDescriptor. fieldsprotected Map<DatabaseField,DatabaseField>ReturningPolicy. fieldsNotFromDescriptor_DefaultTablecontains all default table the returning fields that are either unmapped or mapped supplied with types.protected Map<DatabaseField,DatabaseField>ReturningPolicy. fieldsNotFromDescriptor_DefaultTablecontains all default table the returning fields that are either unmapped or mapped supplied with types.protected Map<DatabaseField,DatabaseField>ReturningPolicy. fieldsNotFromDescriptor_OtherTablescontains all the other tables returning fields that are either unmapped or mapped supplied with types.protected Map<DatabaseField,DatabaseField>ReturningPolicy. fieldsNotFromDescriptor_OtherTablescontains all the other tables returning fields that are either unmapped or mapped supplied with types.protected Set<DatabaseField>ClassDescriptor. foreignKeyValuesForCachingStores a set of FK fields that will be cached to later retrieve noncacheable mappingsprotected List<DatabaseField>SelectedFieldsLockingPolicy. lockFieldsprotected Map<DatabaseTable,List<DatabaseField>>SelectedFieldsLockingPolicy. lockFieldsByTableprotected List<DatabaseField>ClassDescriptor. primaryKeyFieldsprotected Vector<DatabaseField>ClassDescriptor. returnFieldsToGenerateInsertprotected Vector<DatabaseField>ClassDescriptor. returnFieldsToGenerateUpdateprotected List<DatabaseField>ClassDescriptor. returnFieldsToMergeInsertprotected List<DatabaseField>ClassDescriptor. returnFieldsToMergeUpdateprotected List<DatabaseField>ClassDescriptor. selectionFieldsprotected Map<DatabaseField,String>SingleTableMultitenantPolicy. tenantDiscriminatorFieldsprotected Map<String,List<DatabaseField>>SingleTableMultitenantPolicy. tenantDiscriminatorFieldsKeyedOnContextMethods in org.eclipse.persistence.descriptors that return DatabaseField Modifier and Type Method Description DatabaseFieldClassDescriptor. buildField(String fieldName)INTERNAL: A DatabaseField is built from the given field name.DatabaseFieldClassDescriptor. buildField(DatabaseField field)INTERNAL: The table of the field is ensured to be unique from the descriptor's tables.DatabaseFieldClassDescriptor. buildField(DatabaseField field, DatabaseTable relationTable)protected DatabaseFieldReturningPolicy. createField(String qualifiedName, Class<?> type)INTERNAL:DatabaseFieldInheritancePolicy. getClassIndicatorField()INTERNAL: Returns field that the class type indicator is store when using inheritance.DatabaseFieldCMPPolicy.KeyElementAccessor. getDatabaseField()DatabaseFieldCMPPolicy.KeyIsElementAccessor. getDatabaseField()DatabaseFieldReturningPolicy. getField(DatabaseField field)INTERNAL: Returns an equal field held by ReturningPolicy, or null.DatabaseFieldReturningPolicy.Info. getField()DatabaseFieldSerializedObjectPolicy. getField()get the field that stores sopObject in the database (sopField)DatabaseFieldClassDescriptor. getSequenceNumberField()INTERNAL: Get sequence number fieldDatabaseFieldClassDescriptor. getTypedField(DatabaseField field)INTERNAL: searches first descriptor than its ReturningPolicy for an equal fieldDatabaseFieldFieldsLockingPolicy. getWriteLockField()INTERNAL: Return the write lock field.DatabaseFieldVersionLockingPolicy. getWriteLockField()INTERNAL: Return the write lock field.Methods in org.eclipse.persistence.descriptors that return types with arguments of type DatabaseField Modifier and Type Method Description protected List<DatabaseField>FieldsLockingPolicy. buildAllNonPrimaryKeyFields()INTERNAL: Returns the fields that should be compared in the where clause.protected Collection<DatabaseField>ReturningPolicy. createCollection()INTERNAL:List<DatabaseField>ClassDescriptor. getAdditionalAggregateCollectionKeyFields()INTERNAL: additionalAggregateCollectionKeyFields are used by aggregate descriptors to hold additional fields needed when they are stored in an AggregatateCollection These fields are generally foreign key fields that are required in addition to the fields in the descriptor's mappings to uniquely identify the AggregateMap<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.List<DatabaseField>ClassDescriptor. getAdditionalWritableMapKeyFields()INTERNAL: Return a list of fields that are written by map keys Used to determine if there is a multiple writable mappings issueVector<DatabaseField>ClassDescriptor. getAllFields()INTERNAL: Return all the fields which include all child class fields.protected List<DatabaseField>FieldsLockingPolicy. getAllNonPrimaryKeyFields()INTERNAL: Returns the fields that should be compared in the where clause.protected List<DatabaseField>FieldsLockingPolicy. getAllNonPrimaryKeyFields(DatabaseTable table)INTERNAL: filter the fields based on the passed in table.List<DatabaseField>ClassDescriptor. getAllSelectionFields()INTERNAL: Return all selection fields which include all child class fields.List<DatabaseField>ClassDescriptor. getAllSelectionFields(ObjectLevelReadQuery query)INTERNAL: Return all selection fields which include all child class fields.List<DatabaseField>SerializedObjectPolicy. getAllSelectionFields()Lists the database fields that should be read by the query using the policy, in case all inherited objects are read using outer joining.Map<List<DatabaseField>,CacheIndex>CachePolicy. getCacheIndexes()List<DatabaseField>CacheIndex. getFields()Vector<DatabaseField>ClassDescriptor. getFields()INTERNAL: Return all the fieldsprotected List<DatabaseField>AllFieldsLockingPolicy. getFieldsToCompare(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: Returns the fields that should be compared in the where clause.protected List<DatabaseField>ChangedFieldsLockingPolicy. getFieldsToCompare(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: Returns the fields that should be compared in the where clause.protected abstract List<DatabaseField>FieldsLockingPolicy. getFieldsToCompare(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: Returns the fields that should be compared in the where clause.protected List<DatabaseField>SelectedFieldsLockingPolicy. getFieldsToCompare(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: returns the lock fields to compare based on the passed in table.List<DatabaseField>ReturningPolicy. getFieldsToGenerateInsert(DatabaseTable table)INTERNAL:List<DatabaseField>ReturningPolicy. getFieldsToGenerateUpdate(DatabaseTable table)INTERNAL:Collection<DatabaseField>ReturningPolicy. getFieldsToMergeInsert()INTERNAL:Collection<DatabaseField>ReturningPolicy. getFieldsToMergeUpdate()INTERNAL:Set<DatabaseField>ClassDescriptor. getForeignKeyValuesForCaching()INTERNAL:List<DatabaseField>SelectedFieldsLockingPolicy. getLockFields()INTERNAL: Returns the lock fieldsprotected List<DatabaseField>SelectedFieldsLockingPolicy. getLockFields(DatabaseTable table)INTERNAL: returns the lock fields based on the passed in tableprotected Map<DatabaseTable,List<DatabaseField>>SelectedFieldsLockingPolicy. getLockFieldsByTable()INTERNAL: returns the lock fieldsList<DatabaseField>ClassDescriptor. getPrimaryKeyFields()INTERNAL: Return all the primary key fieldsVector<DatabaseField>ClassDescriptor. getReturnFieldsToGenerateInsert()INTERNAL: Return fields used to build insert statement.Vector<DatabaseField>ClassDescriptor. getReturnFieldsToGenerateUpdate()INTERNAL: Return fields used to build update statement.List<DatabaseField>ClassDescriptor. getReturnFieldsToMergeInsert()INTERNAL: Return fields used in to map into entity for insert.List<DatabaseField>ClassDescriptor. getReturnFieldsToMergeUpdate()INTERNAL: Return fields used in to map into entity for update.List<DatabaseField>ClassDescriptor. getSelectionFields()INTERNAL: Return all selection fieldsList<DatabaseField>ClassDescriptor. getSelectionFields(ObjectLevelReadQuery query)INTERNAL: Return all selection fieldsList<DatabaseField>SerializedObjectPolicy. getSelectionFields()Lists the database fields that should be read by the query using the policy.Map<DatabaseField,String>SingleTableMultitenantPolicy. getTenantDiscriminatorFields()INTERNAL:Map<String,List<DatabaseField>>SingleTableMultitenantPolicy. getTenantDiscriminatorFieldsKeyedOnContext()INTERNAL:protected Vector<DatabaseField>VersionLockingPolicy. getUnmappedFields()INTERNAL: This method returns any of the fields that are not mapped in the object.protected List<DatabaseField>ReturningPolicy. getVectorOfFieldsToGenerate(int operation, DatabaseTable table)INTERNAL:protected Hashtable<DatabaseField,ReturningPolicy.Info>ReturningPolicy. removeDuplicateAndValidateInfos(AbstractSession session)Methods in org.eclipse.persistence.descriptors with parameters of type DatabaseField Modifier and Type Method Description voidCachePolicy. addCacheIndex(DatabaseField[] fields)PUBLIC: Add the cache index to the descriptor's cache settings.voidCacheIndex. addField(DatabaseField field)protected voidReturningPolicy. addField(DatabaseField field, boolean isInsert, boolean isInsertModeReturnOnly, boolean isUpdate)INTERNAL:voidReturningPolicy. addFieldForInsert(DatabaseField field)PUBLIC: Define that the field will be returned from an insert operation.voidReturningPolicy. addFieldForInsertReturnOnly(DatabaseField field)PUBLIC: Define that the field will be returned from an insert operation.voidReturningPolicy. addFieldForUpdate(DatabaseField field)PUBLIC: Define that the field will be returned from an update operation.protected voidReturningPolicy. addFieldToMain(int operation, int state, DatabaseField field)voidClassDescriptor. addForeignKeyFieldForMultipleTable(DatabaseField sourceForeignKeyField, DatabaseField targetPrimaryKeyField)PUBLIC: This protocol can be used to associate multiple tables with foreign key information.protected voidReturningPolicy. addMappedFieldToMain(DatabaseField field, ReturningPolicy.Info info)voidClassDescriptor. addPrimaryKeyField(DatabaseField field)ADVANCED: Specify the primary key field of the descriptors table.voidSingleTableMultitenantPolicy. addTenantDiscriminatorField(String property, DatabaseField field)INTERNAL: Add a tenant discriminator field to the policy.voidVPDMultitenantPolicy. addTenantDiscriminatorField(String property, DatabaseField field)INTERNAL: Return all the tenant id fields.protected voidReturningPolicy. addUnmappedFieldToMain(DatabaseField field, ReturningPolicy.Info info)DatabaseFieldClassDescriptor. buildField(DatabaseField field)INTERNAL: The table of the field is ensured to be unique from the descriptor's tables.DatabaseFieldClassDescriptor. buildField(DatabaseField field, DatabaseTable relationTable)protected voidReturningPolicy. fieldIsNotFromDescriptor(DatabaseField field)INTERNAL:DatabaseFieldReturningPolicy. getField(DatabaseField field)INTERNAL: Returns an equal field held by ReturningPolicy, or null.DatabaseFieldClassDescriptor. getTypedField(DatabaseField field)INTERNAL: searches first descriptor than its ReturningPolicy for an equal fieldprotected booleanFieldsLockingPolicy. isPrimaryKey(DatabaseField dbField)INTERNAL: Returns whether or not this field is a primary key.protected static booleanReturningPolicy. isThereATypeConflict(DatabaseField field1, DatabaseField field2)INTERNAL:protected voidClassDescriptor. setAdditionalTablePrimaryKeyFields(DatabaseTable table, DatabaseField field1, DatabaseField field2)INTERNAL: This is used to map the primary key field names in a multiple table descriptor.voidInheritancePolicy. setClassIndicatorField(DatabaseField classIndicatorField)ADVANCED: To set the class indicator field.voidReturningPolicy.Info. setField(DatabaseField field)voidSerializedObjectPolicy. setField(DatabaseField field)set the field that stores sopObject in the database (sopField)voidClassDescriptor. setSequenceNumberField(DatabaseField sequenceNumberField)INTERNAL: Set the sequence number field.voidVersionLockingPolicy. setWriteLockField(DatabaseField writeLockField)ADVANCED: Set the write lock field.protected static booleanReturningPolicy. verifyField(AbstractSession session, DatabaseField field, ClassDescriptor descriptor)protected booleanReturningPolicy. verifyFieldAndMapping(AbstractSession session, DatabaseField field)protected static booleanReturningPolicy. verifyFieldAndMapping(AbstractSession session, DatabaseField field, ClassDescriptor descriptor, DatabaseMapping mapping)Method parameters in org.eclipse.persistence.descriptors with type arguments of type DatabaseField Modifier and Type Method Description protected voidReturningPolicy. addCollectionToMain(int operation, int state, Collection<? extends DatabaseField> collection)CacheIndexCachePolicy. getCacheIndex(List<DatabaseField> fields)PUBLIC: Return the cache index for the field names.voidClassDescriptor. setAdditionalTablePrimaryKeyFields(Map<DatabaseTable,Map<DatabaseField,DatabaseField>> additionalTablePrimaryKeyFields)INTERNAL: This is used to map the primary key field names in a multiple table descriptor.voidClassDescriptor. setAdditionalTablePrimaryKeyFields(Map<DatabaseTable,Map<DatabaseField,DatabaseField>> additionalTablePrimaryKeyFields)INTERNAL: This is used to map the primary key field names in a multiple table descriptor.protected voidClassDescriptor. setAllFields(Vector<DatabaseField> allFields)INTERNAL: Set all the fields.protected voidFieldsLockingPolicy. setAllNonPrimaryKeyFields(List<DatabaseField> allNonPrimaryKeyFields)INTERNAL: Set method for all the primary keysvoidCachePolicy. setCacheIndexes(Map<List<DatabaseField>,CacheIndex> cacheIndexes)voidCacheIndex. setFields(List<DatabaseField> fields)voidClassDescriptor. setFields(Vector<DatabaseField> fields)INTERNAL: Set the fields used by this descriptor.protected voidSelectedFieldsLockingPolicy. setLockFields(List<DatabaseField> lockFields)INTERNAL: Sets the lock fieldsprotected voidSelectedFieldsLockingPolicy. setLockFieldsByTable(Map<DatabaseTable,List<DatabaseField>> lockFieldsByTable)INTERNAL: Used to set the field names to be used in this policy.voidClassDescriptor. setPrimaryKeyFields(List<DatabaseField> thePrimaryKeyFields)INTERNAL: Set the primary key fieldsvoidSingleTableMultitenantPolicy. setTenantDiscriminatorFields(Map<DatabaseField,String> tenantDiscriminatorFields)INTERNAL:Constructors in org.eclipse.persistence.descriptors with parameters of type DatabaseField Constructor Description CacheIndex(DatabaseField[] fields)KeyIsElementAccessor(String attributeName, DatabaseField databaseField, DatabaseMapping mapping)TimestampLockingPolicy(DatabaseField field)INTERNAL: Create a new TimestampLockingPolicy.VersionLockingPolicy(DatabaseField field)PUBLIC: Create a new VersionLockingPolicy.Constructor parameters in org.eclipse.persistence.descriptors with type arguments of type DatabaseField Constructor Description CacheIndex(List<DatabaseField> fields) -
Uses of DatabaseField in org.eclipse.persistence.descriptors.partitioning
Fields in org.eclipse.persistence.descriptors.partitioning declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldFieldPartitioningPolicy. partitionFieldThe column to partition by.Methods in org.eclipse.persistence.descriptors.partitioning that return DatabaseField Modifier and Type Method Description DatabaseFieldFieldPartitioningPolicy. getPartitionField()PUBLIC: Return the database column or query parameter to partition queries by.Methods in org.eclipse.persistence.descriptors.partitioning with parameters of type DatabaseField Modifier and Type Method Description voidFieldPartitioningPolicy. setPartitionField(DatabaseField partitionField)PUBLIC: Set the database column or query parameter to partition queries by. -
Uses of DatabaseField in org.eclipse.persistence.eis
Methods in org.eclipse.persistence.eis that return DatabaseField Modifier and Type Method Description DatabaseFieldEISDescriptor. buildField(String fieldName)INTERNAL: XML type descriptors should use XMLFields.DatabaseFieldEISDescriptor. buildField(DatabaseField field)INTERNAL: If the field is an XMLField then set the namespace resolver from the descriptor.Methods in org.eclipse.persistence.eis that return types with arguments of type DatabaseField Modifier and Type Method Description Vector<DatabaseField>EISMappedRecord. getFields()INTERNAL: getFields() is sued internally in a few places, so try to make that work for mapped records.Methods in org.eclipse.persistence.eis with parameters of type DatabaseField Modifier and Type Method Description DatabaseFieldEISDescriptor. buildField(DatabaseField field)INTERNAL: If the field is an XMLField then set the namespace resolver from the descriptor.booleanEISMappedRecord. containsKey(DatabaseField key)Check if the field is contained in the row.ObjectEISMappedRecord. get(DatabaseField field)Forward the request to the record. -
Uses of DatabaseField in org.eclipse.persistence.eis.interactions
Fields in org.eclipse.persistence.eis.interactions with type parameters of type DatabaseField Modifier and Type Field Description protected Vector<DatabaseField>EISInteraction. outputArgumentsDefines the field values the output arguments of the interaction map to.Methods in org.eclipse.persistence.eis.interactions that return DatabaseField Modifier and Type Method Description protected DatabaseFieldXMLInteraction. createField(String fieldName)INTERNAL:Methods in org.eclipse.persistence.eis.interactions that return types with arguments of type DatabaseField Modifier and Type Method Description Vector<DatabaseField>EISInteraction. getOutputArguments()The argument fields to the interaction that map into the output record.Vector<DatabaseField>IndexedInteraction. getOutputArguments()The output arguments in order of occurance in the record.Method parameters in org.eclipse.persistence.eis.interactions with type arguments of type DatabaseField Modifier and Type Method Description voidEISInteraction. setOutputArguments(Vector<DatabaseField> outputArguments)The output arguments.voidIndexedInteraction. setOutputArguments(Vector<DatabaseField> outputArguments)The output arguments in order of occurance in the record. -
Uses of DatabaseField in org.eclipse.persistence.eis.mappings
Fields in org.eclipse.persistence.eis.mappings declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldEISOneToManyMapping. foreignKeyGroupingElementThe grouping-element field.Fields in org.eclipse.persistence.eis.mappings with type parameters of type DatabaseField Modifier and Type Field Description protected List<DatabaseField>EISOneToManyMapping. sourceForeignKeyFieldsThe (typically primary) source key fields that are referenced by the targetForeignKeyFields.protected Map<DatabaseField,DatabaseField>EISOneToManyMapping. sourceForeignKeysToTargetKeysThis maps the source foreign key fields to the corresponding (primary) target key fields.protected Map<DatabaseField,DatabaseField>EISOneToManyMapping. sourceForeignKeysToTargetKeysThis maps the source foreign key fields to the corresponding (primary) target key fields.protected Map<DatabaseField,DatabaseField>EISOneToOneMapping. sourceToTargetKeyFieldsMaps the source foreign/primary key fields to the target primary/foreign key fields.protected Map<DatabaseField,DatabaseField>EISOneToOneMapping. sourceToTargetKeyFieldsMaps the source foreign/primary key fields to the target primary/foreign key fields.protected List<DatabaseField>EISOneToManyMapping. targetForeignKeyFieldsThe target foreign key fields that reference the sourceKeyFields.protected Map<DatabaseField,DatabaseField>EISOneToOneMapping. targetToSourceKeyFieldsMaps the target primary/foreign key fields to the source foreign/primary key fields.protected Map<DatabaseField,DatabaseField>EISOneToOneMapping. targetToSourceKeyFieldsMaps the target primary/foreign key fields to the source foreign/primary key fields.Methods in org.eclipse.persistence.eis.mappings that return DatabaseField Modifier and Type Method Description DatabaseFieldEISOneToManyMapping. getForeignKeyGroupingElement()Get the grouping element field on the mapping.Methods in org.eclipse.persistence.eis.mappings that return types with arguments of type DatabaseField Modifier and Type Method Description protected Vector<DatabaseField>EISOneToManyMapping. collectFields()Return all the fields mapped by the mapping.List<DatabaseField>EISOneToManyMapping. getSourceForeignKeyFields()INTERNAL: Return the source foreign key fields.Map<DatabaseField,DatabaseField>EISOneToManyMapping. getSourceForeignKeysToTargetKeys()INTERNAL: Sets the target foreign key fields.Map<DatabaseField,DatabaseField>EISOneToManyMapping. getSourceForeignKeysToTargetKeys()INTERNAL: Sets the target foreign key fields.Map<DatabaseField,DatabaseField>EISOneToOneMapping. getSourceToTargetKeyFields()INTERNAL: Gets the foreign key fields.Map<DatabaseField,DatabaseField>EISOneToOneMapping. getSourceToTargetKeyFields()INTERNAL: Gets the foreign key fields.List<DatabaseField>EISOneToManyMapping. getTargetForeignKeyFields()INTERNAL: Return the source foreign key fields.Map<DatabaseField,DatabaseField>EISOneToOneMapping. getTargetToSourceKeyFields()INTERNAL: Gets the target foreign key fields.Map<DatabaseField,DatabaseField>EISOneToOneMapping. getTargetToSourceKeyFields()INTERNAL: Gets the target foreign key fields.Methods in org.eclipse.persistence.eis.mappings with parameters of type DatabaseField Modifier and Type Method Description voidEISOneToManyMapping. addForeignKeyField(DatabaseField sourceForeignKeyField, DatabaseField targetKeyField)PUBLIC: Define the source foreign key relationship in the one-to-many mapping.voidEISOneToOneMapping. addForeignKeyField(DatabaseField sourceForeignKeyField, DatabaseField targetKeyField)PUBLIC: Define the source foreign key relationship in the one-to-one mapping.Class<?>EISOneToOneMapping. getFieldClassification(DatabaseField fieldToClassify)INTERNAL: Return the classifiction for the field contained in the mapping.voidEISOneToManyMapping. setForeignKeyGroupingElement(DatabaseField field)Set if the grouping element field on the mapping.protected voidEISDirectMapping. writeValueIntoRow(AbstractRecord row, DatabaseField field, Object fieldValue)Method parameters in org.eclipse.persistence.eis.mappings with type arguments of type DatabaseField Modifier and Type Method Description voidEISOneToManyMapping. setSourceForeignKeyFields(List<DatabaseField> fields)INTERNAL: Sets the source foreign key fields.voidEISOneToManyMapping. setSourceForeignKeysToTargetKeys(Map<DatabaseField,DatabaseField> sourceToTargetKeyFields)INTERNAL: Set the source keys to target keys fields association.voidEISOneToManyMapping. setSourceForeignKeysToTargetKeys(Map<DatabaseField,DatabaseField> sourceToTargetKeyFields)INTERNAL: Set the source keys to target keys fields association.voidEISOneToOneMapping. setSourceToTargetKeyFields(Map<DatabaseField,DatabaseField> sourceToTargetKeyFields)INTERNAL: Set the source keys to target keys fields association.voidEISOneToOneMapping. setSourceToTargetKeyFields(Map<DatabaseField,DatabaseField> sourceToTargetKeyFields)INTERNAL: Set the source keys to target keys fields association.voidEISOneToManyMapping. setTargetForeignKeyFields(List<DatabaseField> fields)INTERNAL: Sets the target foreign key fields.voidEISOneToOneMapping. setTargetToSourceKeyFields(Map<DatabaseField,DatabaseField> targetToSourceKeyFields)INTERNAL: Set the target keys to source keys fields association.voidEISOneToOneMapping. setTargetToSourceKeyFields(Map<DatabaseField,DatabaseField> targetToSourceKeyFields)INTERNAL: Set the target keys to source keys fields association. -
Uses of DatabaseField in org.eclipse.persistence.exceptions
-
Uses of DatabaseField in org.eclipse.persistence.expressions
Methods in org.eclipse.persistence.expressions that return DatabaseField Modifier and Type Method Description DatabaseFieldExpression. getClonedField()INTERNAL: If there are any fields associated with this expression, return themMethods in org.eclipse.persistence.expressions that return types with arguments of type DatabaseField Modifier and Type Method Description List<DatabaseField>Expression. getFields()INTERNAL:List<DatabaseField>Expression. getSelectionFields()INTERNAL:List<DatabaseField>Expression. getSelectionFields(ReadQuery query)Methods in org.eclipse.persistence.expressions with parameters of type DatabaseField Modifier and Type Method Description ExpressionExpression. getField(DatabaseField field)ADVANCED: Return an expression representing a field in a data-level query.ExpressionExpression. getParameter(DatabaseField field)ADVANCED: Return an expression representing a parameter with the given name.ExpressionExpression. getProperty(DatabaseField field)ADVANCED: Return an expression representing a property with the given name.protected voidExpression. writeAlias(ExpressionSQLPrinter printer, DatabaseField field, SQLSelectStatement statement)INTERNAL: Append the field's alias to the writer.protected voidExpression. writeField(ExpressionSQLPrinter printer, DatabaseField field, SQLSelectStatement statement)INTERNAL: Append the field name to the writer.Method parameters in org.eclipse.persistence.expressions with type arguments of type DatabaseField Modifier and Type Method Description booleanExpression. extractFields(boolean requireExactMatch, boolean primaryKey, ClassDescriptor descriptor, List<DatabaseField> searchFields, Set<DatabaseField> foundFields)INTERNAL: Return if the expression is not a valid primary key expression and add all primary key fields to the set.booleanExpression. extractFields(boolean requireExactMatch, boolean primaryKey, ClassDescriptor descriptor, List<DatabaseField> searchFields, Set<DatabaseField> foundFields)INTERNAL: Return if the expression is not a valid primary key expression and add all primary key fields to the set.voidExpression. writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement)INTERNAL: called from SQLSelectStatement.writeFieldsFromExpression(...) -
Uses of DatabaseField in org.eclipse.persistence.history
Fields in org.eclipse.persistence.history with type parameters of type DatabaseField Modifier and Type Field Description protected List<DatabaseField>HistoryPolicy. endFieldsprotected List<DatabaseField>HistoryPolicy. startFieldsMethods in org.eclipse.persistence.history that return DatabaseField Modifier and Type Method Description protected DatabaseFieldHistoryPolicy. getEnd()INTERNAL:protected DatabaseFieldHistoryPolicy. getEnd(int i)INTERNAL:protected DatabaseFieldHistoryPolicy. getStart()INTERNAL:protected DatabaseFieldHistoryPolicy. getStart(int i)INTERNAL:Methods in org.eclipse.persistence.history that return types with arguments of type DatabaseField Modifier and Type Method Description List<DatabaseField>HistoryPolicy. getEndFields()INTERNAL:List<DatabaseField>HistoryPolicy. getStartFields()INTERNAL:Method parameters in org.eclipse.persistence.history with type arguments of type DatabaseField Modifier and Type Method Description protected voidHistoryPolicy. setEndFields(List<DatabaseField> endFields)INTERNAL:protected voidHistoryPolicy. setStartFields(List<DatabaseField> startFields)INTERNAL: -
Uses of DatabaseField in org.eclipse.persistence.internal.databaseaccess
Fields in org.eclipse.persistence.internal.databaseaccess declared as DatabaseField Modifier and Type Field Description protected DatabaseField[]DatabaseCall. fieldsArraystatic DatabaseFieldDatabaseCall. FIRSTRESULT_FIELDprotected DatabaseFieldInParameterForCallableStatement. inFieldstatic DatabaseFieldDatabaseCall. MAXROW_FIELDFollowing fields are used to bind MaxResults and FirstRow settings into the query instead of using the values stored in the call.Fields in org.eclipse.persistence.internal.databaseaccess with type parameters of type DatabaseField Modifier and Type Field Description protected Vector<DatabaseField>DatabaseCall. fieldsprotected List<DatabaseField>DatasourceCall. outputCursorsKeep a list of the output cursors.Methods in org.eclipse.persistence.internal.databaseaccess that return DatabaseField Modifier and Type Method Description protected DatabaseFieldDatasourceCall. createField(String fieldName)INTERNAL: Create a new Database Field This method can be overridden by subclasses to return other field typesDatabaseField[]DatabaseCall. getFieldsArray()INTERNAL: The array of fields returned by the call.protected DatabaseFieldDatabaseCall. 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).DatabaseFieldOutputParameterForCallableStatement. getOutputField()Methods in org.eclipse.persistence.internal.databaseaccess that return types with arguments of type DatabaseField Modifier and Type Method Description Vector<DatabaseField>DatabaseAccessor. buildSortedFields(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session)Return the field sorted in the correct order corresponding to the result set.protected Vector<DatabaseField>DatabaseAccessor. getColumnNames(ResultSet resultSet, AbstractSession session)Return the column names from a result sets meta data as a vector of DatabaseFields.Vector<DatabaseField>DatabaseCall. getFields()The fields expected by the calls result set.List<DatabaseField>DatasourceCall. getOutputCursors()INTERNAL: Return the output cursors for this stored procedure call.protected Vector<DatabaseField>DatabaseAccessor. sortFields(Vector<DatabaseField> fields, Vector<DatabaseField> columnNames)This method will sort the fields in correct order based on the column names.Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type DatabaseField Modifier and Type Method Description voidDatabaseCall. addContext(DatabaseField field, Object value)INTERNAL: Add a field - value pair for LOB field into the context.voidDatasourceCall. appendIn(Writer writer, DatabaseField field)INTERNAL: All values are printed as ? to allow for parameter binding or translation during the execute of the call.voidDatasourceCall. appendInOut(Writer writer, DatabaseField inoutField)INTERNAL: All values are printed as ? to allow for parameter binding or translation during the execute of the call.voidDatasourceCall. appendInOut(Object inValueOrField, DatabaseField outField)INTERNAL:voidDatasourceCall. appendInOut(Object inValueOrField, DatabaseField outField, Boolean shouldBind)INTERNAL:voidDatasourceCall. appendInOut(DatabaseField inoutField)INTERNAL:voidDatasourceCall. appendInOut(DatabaseField inoutField, Boolean shouldBind)INTERNAL:voidDatasourceCall. appendModify(Writer writer, DatabaseField modifyField)INTERNAL: All values are printed as ? to allow for parameter binding or translation during the execute of the call.voidDatasourceCall. appendModify(DatabaseField modifyField)INTERNAL:voidDatasourceCall. appendModify(DatabaseField modifyField, Boolean shouldBind)INTERNAL:voidQueryStringCall. appendModify(Writer writer, DatabaseField modifyField)All values are printed as ? to allow for parameter binding or translation during the execute of the call.voidDatasourceCall. appendOut(Writer writer, DatabaseField outField)INTERNAL: All values are printed as ? to allow for parameter binding or translation during the execute of the call.voidDatasourceCall. appendOut(DatabaseField outField)INTERNAL:voidDatasourceCall. appendOut(DatabaseField outField, Boolean shouldBind)INTERNAL:voidDatasourceCall. appendOutCursor(DatabaseField outField)INTERNAL:voidDatasourceCall. appendOutCursor(DatabaseField outField, Boolean shouldBind)INTERNAL:voidDatasourceCall. appendTranslation(Writer writer, DatabaseField modifyField)INTERNAL: All values are printed as ? to allow for parameter binding or translation during the execute of the call.voidDatasourceCall. appendTranslation(DatabaseField modifyField)INTERNAL:voidDatasourceCall. appendTranslation(DatabaseField modifyField, Boolean shouldBind)INTERNAL:voidQueryStringCall. appendTranslation(Writer writer, DatabaseField modifyField)All values are printed as ? to allow for parameter binding or translation during the execute of the call.ObjectBindCallCustomParameter. convert(Object parameter, DatabaseField dbField, AbstractSession session, Connection connection)INTERNAL: Converts the parameter object from a collection or java object into a JDBC type such as an Array or Struct object, based on the type information contained in the dbField object.ExpressionDatasourcePlatform. createExpressionFor(DatabaseField field, Expression builder, String fieldClassificationClassName)INTERNAL: Override this method if the platform needs to use a custom function based on the DatabaseFieldAbstractRecordDatabaseAccessor. fetchRow(Vector<DatabaseField> fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session)Return a new DatabaseRow.ObjectDatabasePlatform. getCustomModifyValueForCall(Call call, Object value, DatabaseField field, boolean shouldBind)This method determines if any special processing needs to occur prior to writing a field.ObjectDatasourcePlatform. getCustomModifyValueForCall(Call call, Object value, DatabaseField field, boolean shouldBind)Allow for the platform to handle the representation of parameters specially.ObjectPlatform. getCustomModifyValueForCall(Call call, Object value, DatabaseField field, boolean shouldBind)Allow for the platform to handle the representation of parameters specially.protected DatabaseFieldDatabaseCall. 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).intDatabasePlatform. getJDBCType(DatabaseField field)Return the JDBC type for the given database field.intDatabasePlatform. getJDBCTypeForSetNull(DatabaseField field)Return the JDBC type for the given database field to be passed to Statement.setNullObjectDatabaseAccessor. 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 ObjectDatabaseAccessor. getObjectThroughOptimizedDataConversion(ResultSet resultSet, DatabaseField field, int type, int columnNumber, DatabasePlatform platform, AbstractSession session)Handle theResultSetconversion into java optimally through calling the direct type API.voidDatabaseAccessor. populateRow(DatabaseField[] fieldsArray, Object[] values, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session, int startIndex, int endIndex)protected voidDatabasePlatform. setNullFromDatabaseField(DatabaseField databaseField, CallableStatement statement, String name)protected voidDatabasePlatform. setNullFromDatabaseField(DatabaseField databaseField, PreparedStatement statement, int index)booleanDatabasePlatform. shouldUseCustomModifyForCall(DatabaseField field)booleanDatasourcePlatform. shouldUseCustomModifyForCall(DatabaseField field)Used by SQLCall.appendModify(..) If the field should be passed to customModifyInDatabaseCall, retun true, otherwise false.booleanPlatform. shouldUseCustomModifyForCall(DatabaseField field)Allow for the platform to handle the representation of parameters specially.voidDatabasePlatform. writeLOB(DatabaseField field, Object value, ResultSet resultSet, AbstractSession session)INTERNAL: Write LOB value - only on Oracle8 and upMethod parameters in org.eclipse.persistence.internal.databaseaccess with type arguments of type DatabaseField Modifier and Type Method Description DatabaseCallDatabasePlatform. buildCallWithReturning(SQLCall sqlCall, Vector<DatabaseField> returnFields)INTERNAL Returns null unless the platform supports call with returningVector<DatabaseField>DatabaseAccessor. buildSortedFields(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session)Return the field sorted in the correct order corresponding to the result set.StructDatabasePlatform. createStruct(String structTypeName, Object[] attributes, AbstractRecord row, Vector<DatabaseField> orderedFields, AbstractSession session, Connection connection)INTERNAL: This method builds a Struct using the unwrapped connection within the sessionAbstractRecordDatabaseAccessor. cursorRetrieveNextRow(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session)Advance the result set and return a Record populated with values from the next valid row in the result set.AbstractRecordDatabaseAccessor. cursorRetrievePreviousRow(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session)Advance the result set and return a DatabaseRow populated with values from the next valid row in the result set.protected AbstractRecordDatabaseAccessor. fetchRow(Vector<DatabaseField> fields, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session)Return a new DatabaseRow.AbstractRecordDatabaseAccessor. fetchRow(Vector<DatabaseField> fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session)Return a new DatabaseRow.voidDatabaseCall. setFields(Vector<DatabaseField> fields)The fields expected by the calls result set.protected Vector<DatabaseField>DatabaseAccessor. sortFields(Vector<DatabaseField> fields, Vector<DatabaseField> columnNames)This method will sort the fields in correct order based on the column names.protected static voidDatabasePlatform. writeAutoAssignmentSetClause(Writer writer, String tableName1, String tableName2, Collection<DatabaseField> fields, DatasourcePlatform platform)INTERNAL: helper method, don't override.protected static voidDatabasePlatform. writeAutoJoinWhereClause(Writer writer, String tableName1, String tableName2, Collection<DatabaseField> pkFields, DatasourcePlatform platform)INTERNAL: helper method, don't override.voidDatabasePlatform. writeCreateTempTableSql(Writer writer, DatabaseTable table, AbstractSession session, Collection<DatabaseField> pkFields, Collection<DatabaseField> usedFields, Collection<DatabaseField> allFields)INTERNAL: Don't override this method.voidDatabasePlatform. writeDeleteFromTargetTableUsingTempTableSql(Writer writer, DatabaseTable table, DatabaseTable targetTable, Collection<DatabaseField> pkFields, Collection<DatabaseField> targetPkFields, DatasourcePlatform platform)INTERNAL: Write an sql string for deletion from target table using temporary table.protected static voidDatabasePlatform. writeFields(Writer writer, String tableName1, String tableName2, Collection<DatabaseField> fields1, Collection<DatabaseField> fields2, String separator, DatasourcePlatform platform)INTERNAL: helper method, don't override.protected static voidDatabasePlatform. writeFieldsAutoClause(Writer writer, String tableName1, String tableName2, Collection<DatabaseField> fields, String separator, DatasourcePlatform platform)INTERNAL: helper method, don't override.protected static voidDatabasePlatform. writeFieldsList(Writer writer, Collection<DatabaseField> fields, DatasourcePlatform platform)INTERNAL: helper method, don't override.voidDatabasePlatform. writeInsertIntoTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> usedFields)INTERNAL: May need to override this method if the platform supports temporary tables and the generated sql doesn't work.protected static voidDatabasePlatform. writeJoinWhereClause(Writer writer, String tableName1, String tableName2, Collection<DatabaseField> pkFields1, Collection<DatabaseField> pkFields2, DatasourcePlatform platform)INTERNAL: helper method, don't override.voidDatabasePlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: May need to override this method if the platform supports temporary tables and the generated sql doesn't work.Constructors in org.eclipse.persistence.internal.databaseaccess with parameters of type DatabaseField Constructor Description InOutputParameterForCallableStatement(Object inParameter, DatabaseField outField, AbstractSession session)InParameterForCallableStatement(Object inParameter, DatabaseField inField)OutputParameterForCallableStatement(DatabaseField field)OutputParameterForCallableStatement(DatabaseField field, AbstractSession session)OutputParameterForCallableStatement(DatabaseField field, AbstractSession session, boolean isCursor) -
Uses of DatabaseField in org.eclipse.persistence.internal.descriptors
Fields in org.eclipse.persistence.internal.descriptors declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldAbstractSerializedObjectPolicy. fieldDatabaseFieldFieldTransformation. fieldFields in org.eclipse.persistence.internal.descriptors with type parameters of type DatabaseField Modifier and Type Field Description protected Map<DatabaseField,DatabaseField>ObjectBuilder. fieldsMapUsed to maintain identity on the field objects.protected Map<DatabaseField,DatabaseField>ObjectBuilder. fieldsMapUsed to maintain identity on the field objects.protected Map<DatabaseField,DatabaseField>CascadeLockingPolicy. m_mappedQueryKeyFieldsprotected Map<DatabaseField,DatabaseField>CascadeLockingPolicy. m_mappedQueryKeyFieldsprotected Map<DatabaseField,DatabaseField>CascadeLockingPolicy. m_queryKeyFieldsprotected Map<DatabaseField,DatabaseField>CascadeLockingPolicy. m_queryKeyFieldsprotected Map<DatabaseField,DatabaseField>CascadeLockingPolicy. m_unmappedQueryKeyFieldsprotected Map<DatabaseField,DatabaseField>CascadeLockingPolicy. m_unmappedQueryKeyFieldsprotected Map<DatabaseField,DatabaseMapping>ObjectBuilder. mappingsByFieldMappings keyed by database field.protected Map<DatabaseField,List<DatabaseMapping>>ObjectBuilder. readOnlyMappingsByFieldList of read-only mappings using a database field.Methods in org.eclipse.persistence.internal.descriptors that return DatabaseField Modifier and Type Method Description DatabaseFieldAbstractSerializedObjectPolicy. getField()DatabaseFieldFieldTransformation. getField()DatabaseFieldObjectBuilder. getFieldForQueryKeyName(String name)Return the field used for the query key name.DatabaseFieldObjectBuilder. getTargetFieldForQueryKeyName(String queryKeyName)INTERNAL: return a database field based on a query key nameDatabaseFieldOptimisticLockingPolicy. getWriteLockField()INTERNAL: Return the write lock field.Methods in org.eclipse.persistence.internal.descriptors that return types with arguments of type DatabaseField Modifier and Type Method Description List<DatabaseField>SerializedObjectPolicyWrapper. getAllSelectionFields()Map<DatabaseField,DatabaseField>ObjectBuilder. getFieldsMap()Return the fields map.Map<DatabaseField,DatabaseField>ObjectBuilder. getFieldsMap()Return the fields map.Map<DatabaseField,DatabaseMapping>ObjectBuilder. getMappingsByField()INTERNAL: Return all the mapping to field associationsMap<DatabaseField,List<DatabaseMapping>>ObjectBuilder. getReadOnlyMappingsByField()INTERNAL: Return all the read-only mapping to field associationsList<DatabaseField>SerializedObjectPolicyWrapper. getSelectionFields()Methods in org.eclipse.persistence.internal.descriptors with parameters of type DatabaseField Modifier and Type Method Description voidObjectBuilder. assignReturnValueForField(Object object, ReadObjectQuery query, AbstractRecord row, DatabaseField field, Collection handledMappings, ObjectChangeSet changeSet)Assign the field value from the row to the object for all the mappings using field (read or write).protected voidObjectBuilder. assignReturnValueToMapping(Object object, ReadObjectQuery query, AbstractRecord row, DatabaseField field, DatabaseMapping mapping, Collection handledMappings, ObjectChangeSet changeSet)INTERNAL: Assign values from objectRow to the object through the mapping.ObjectObjectBuilder. buildObjectFromResultSet(ObjectBuildingQuery query, JoinedAttributeManager joinManager, ResultSet resultSet, AbstractSession executionSession, DatabaseAccessor accessor, ResultSetMetaData metaData, DatabasePlatform platform, Vector fieldsList, DatabaseField[] fieldsArray)INTERNAL: Builds a working copy clone directly from a result set.ObjectObjectBuilder. buildObjectsFromResultSetInto(ReadAllQuery query, ResultSet resultSet, Vector fields, DatabaseField[] fieldsArray, Object domainObjects)Version of buildObjectsInto method that takes call instead of rows.ObjectObjectBuilder. extractValueFromObjectForField(Object domainObject, DatabaseField field, AbstractSession session)Extract the value of the primary key attribute from the specified object.ChangeRecordObjectBuilder. getBaseChangeRecordForField(ObjectChangeSet objectChangeSet, Object object, DatabaseField databaseField, AbstractSession session)Return the base ChangeRecord for the given DatabaseField.DatabaseMappingObjectBuilder. getBaseMappingForField(DatabaseField databaseField)Return the base mapping for the given DatabaseField.ObjectObjectBuilder. getBaseValueForField(DatabaseField databaseField, Object domainObject)Return the base value that is mapped to for given field.Class<?>ObjectBuilder. getFieldClassification(DatabaseField fieldToClassify)INTERNAL: Return the classification for the field contained in the mapping.DatabaseMappingObjectBuilder. getMappingForField(DatabaseField field)Return al the mapping for the specified field.ObjectObjectBuilder. getParentObjectForField(DatabaseField databaseField, Object domainObject)Return the base value that is mapped to for given field.List<DatabaseMapping>ObjectBuilder. getReadOnlyMappingsForField(DatabaseField field)Return all the read-only mapping for the specified field.voidAbstractSerializedObjectPolicy. setField(DatabaseField field)voidFieldTransformation. setField(DatabaseField newField)Method parameters in org.eclipse.persistence.internal.descriptors with type arguments of type DatabaseField Modifier and Type Method Description voidObjectBuilder. setMappingsByField(Map<DatabaseField,DatabaseMapping> theFieldMappings)INTERNAL: All the mappings and their respective field associations are cached for performance improvement.voidCascadeLockingPolicy. setQueryKeyFields(Map<DatabaseField,DatabaseField> queryKeyFields)INTERNAL:voidCascadeLockingPolicy. setQueryKeyFields(Map<DatabaseField,DatabaseField> queryKeyFields)INTERNAL:voidCascadeLockingPolicy. setQueryKeyFields(Map<DatabaseField,DatabaseField> queryKeyFields, boolean lookForParentMapping)INTERNAL:voidCascadeLockingPolicy. setQueryKeyFields(Map<DatabaseField,DatabaseField> queryKeyFields, boolean lookForParentMapping)INTERNAL:voidObjectBuilder. setReadOnlyMappingsByField(Map<DatabaseField,List<DatabaseMapping>> theReadOnlyFieldMappings)INTERNAL: All the read-only mappings and their respective field associations are cached for performance improvement.Constructors in org.eclipse.persistence.internal.descriptors with parameters of type DatabaseField Constructor Description FieldTranslation(DatabaseField sourceField, DatabaseField targetField)Create an association.QueryKeyReference(DatabaseField field, String queryKey)Create an association. -
Uses of DatabaseField in org.eclipse.persistence.internal.expressions
Fields in org.eclipse.persistence.internal.expressions declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldClassTypeExpression. aliasedFieldCache the aliased field.protected DatabaseFieldFieldExpression. aliasedFieldprotected DatabaseFieldQueryKeyExpression. aliasedFieldCache the aliased field.protected DatabaseFieldClassTypeExpression. fieldCache the aliased field.protected DatabaseFieldFieldExpression. fieldprotected DatabaseFieldParameterExpression. fieldThe parameter field or name.Fields in org.eclipse.persistence.internal.expressions with type parameters of type DatabaseField Modifier and Type Field Description protected Map<DatabaseField,String>SQLSelectStatement. fieldAliasesUsed for caching the field alias written to the queryprotected List<DatabaseField>SQLModifyAllStatementForTempTable. primaryKeyFieldsprotected List<DatabaseField>SQLDeleteAllStatementForTempTable. targetPrimaryKeyFieldsMethods in org.eclipse.persistence.internal.expressions that return DatabaseField Modifier and Type Method Description DatabaseFieldClassTypeExpression. getAliasedField()INTERNAL: Return the field appropriately aliasedDatabaseFieldDataExpression. getAliasedField()INTERNAL: Return the field appropriately aliasedDatabaseFieldFieldExpression. getAliasedField()INTERNAL: Return the field appropriately aliasedDatabaseFieldQueryKeyExpression. getAliasedField()INTERNAL: Return the field appropriately aliasedDatabaseFieldFieldExpression. getClonedField()INTERNAL: If there are any fields associated with this expression, return themDatabaseFieldClassTypeExpression. getField()INTERNAL:DatabaseFieldDataExpression. getField()INTERNAL:DatabaseFieldFieldExpression. getField()INTERNAL:DatabaseFieldMapEntryExpression. getField()INTERNAL:DatabaseFieldParameterExpression. getField()DatabaseFieldQueryKeyExpression. getField()INTERNAL:Methods in org.eclipse.persistence.internal.expressions that return types with arguments of type DatabaseField Modifier and Type Method Description List<DatabaseField>FunctionExpression. getFields()INTERNAL: Not to be confused with the public getField(String) This returns a collection of all fields associated with this object.List<DatabaseField>SQLModifyAllStatementForTempTable. getPrimaryKeyFields()List<DatabaseField>FunctionExpression. getSelectionFields(ReadQuery query)INTERNAL:List<DatabaseField>MapEntryExpression. getSelectionFields(ReadQuery query)INTERNAL:List<DatabaseField>ObjectExpression. getSelectionFields(ReadQuery query)INTERNAL:List<DatabaseField>QueryKeyExpression. getSelectionFields(ReadQuery query)INTERNAL:List<DatabaseField>SQLDeleteAllStatementForTempTable. getTargetPrimaryKeyFields()Vector<DatabaseField>SQLSelectStatement. printSQL(ExpressionSQLPrinter printer)Print the SQL representation of the statement on a stream.Vector<DatabaseField>SQLSelectStatement. printSQLSelect(ExpressionSQLPrinter printer)protected Vector<DatabaseField>SQLSelectStatement. writeFieldsIn(ExpressionSQLPrinter printer)INTERNAL:Methods in org.eclipse.persistence.internal.expressions with parameters of type DatabaseField Modifier and Type Method Description voidSQLSelectStatement. addField(DatabaseField field)ExpressionDataExpression. existingDerivedField(DatabaseField field)INTERNAL:StringSQLSelectStatement. getAliasFor(DatabaseField field)ExpressionDataExpression. getField(DatabaseField field)ExpressionParameterExpression. getField(DatabaseField field)This allows for nesting of parametrized expression.ExpressionDataExpression. newDerivedField(DatabaseField field)INTERNAL:voidExpressionSQLPrinter. printField(DatabaseField field)voidExpressionSQLPrinter. printField(DatabaseField field, DatabaseTable tableAlias)voidExpressionSQLPrinter. printParameter(DatabaseField field)voidSQLSelectStatement. removeField(DatabaseField field)INTERNAL:voidFieldExpression. setField(DatabaseField newField)INTERNAL: Set the field in the mapping.voidParameterExpression. setField(DatabaseField field)INTERNAL: Used to set the internal field value.protected static voidSQLUpdateAllStatementForOracleAnonymousBlock. writeDeclareTypeAndVar(Writer writer, DatabaseField field, DatasourcePlatform platform)protected voidFieldExpression. writeField(ExpressionSQLPrinter printer, DatabaseField field, SQLSelectStatement statement)protected voidSQLSelectStatement. writeField(ExpressionSQLPrinter printer, DatabaseField field)INTERNAL:protected static voidSQLUpdateAllStatementForOracleAnonymousBlock. writeForAll(Writer writer, DatabaseField field, DatasourcePlatform platform)protected static voidSQLUpdateAllStatementForOracleAnonymousBlock. writeType(Writer writer, DatabaseField field, DatasourcePlatform platform)protected static voidSQLUpdateAllStatementForOracleAnonymousBlock. writeUniqueFieldName(Writer writer, DatabaseField field, DatasourcePlatform platform)protected static voidSQLUpdateAllStatementForOracleAnonymousBlock. writeVar(Writer writer, DatabaseField field, DatasourcePlatform platform)Method parameters in org.eclipse.persistence.internal.expressions with type arguments of type DatabaseField Modifier and Type Method Description booleanLogicalExpression. extractFields(boolean requireExactMatch, boolean primaryKey, ClassDescriptor descriptor, List<DatabaseField> searchFields, Set<DatabaseField> foundFields)INTERNAL: Return if the expression is not a valid primary key expression and add all primary key fields to the set.booleanLogicalExpression. extractFields(boolean requireExactMatch, boolean primaryKey, ClassDescriptor descriptor, List<DatabaseField> searchFields, Set<DatabaseField> foundFields)INTERNAL: Return if the expression is not a valid primary key expression and add all primary key fields to the set.booleanRelationExpression. extractFields(boolean requireExactMatch, boolean primaryKey, ClassDescriptor descriptor, List<DatabaseField> searchFields, Set<DatabaseField> foundFields)INTERNAL: Return if the expression is not a valid primary key expression and add all primary key fields to the set.booleanRelationExpression. extractFields(boolean requireExactMatch, boolean primaryKey, ClassDescriptor descriptor, List<DatabaseField> searchFields, Set<DatabaseField> foundFields)INTERNAL: Return if the expression is not a valid primary key expression and add all primary key fields to the set.voidSQLModifyAllStatementForTempTable. setPrimaryKeyFields(List<DatabaseField> primaryKeyFields)voidSQLDeleteAllStatementForTempTable. setTargetPrimaryKeyFields(List<DatabaseField> targetPrimaryKeyFields)voidConstantExpression. writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement)INTERNAL: Append the constant value into the printervoidFieldExpression. writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement)INTERNAL: called from SQLSelectStatement.writeFieldsFromExpression(...)voidFunctionExpression. writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement)INTERNAL: called from SQLSelectStatement.writeFieldsFromExpression(...)voidLiteralExpression. writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement)INTERNAL: Append the literal value into the printer, accounting for the first elementvoidParameterExpression. writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement)INTERNAL: Append the parameter into the printer.voidSubSelectExpression. writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement)INTERNAL: called from SQLSelectStatement.writeFieldsFromExpression(...) This allows a sub query in the select clause.voidTreatAsExpression. writeFields(ExpressionSQLPrinter printer, List<DatabaseField> newFields, SQLSelectStatement statement)protected voidSQLSelectStatement. writeFieldsFromExpression(ExpressionSQLPrinter printer, Expression expression, Vector<DatabaseField> newFields)INTERNAL:Constructors in org.eclipse.persistence.internal.expressions with parameters of type DatabaseField Constructor Description FieldExpression(DatabaseField newField)FieldExpression constructor comment.FieldExpression(DatabaseField newField, Expression myBase)FieldExpression constructor comment.ParameterExpression(DatabaseField field)ParameterExpression(DatabaseField field, Expression localbaseExpression) -
Uses of DatabaseField in org.eclipse.persistence.internal.helper
Subclasses of DatabaseField in org.eclipse.persistence.internal.helper Modifier and Type Class Description classFunctionFieldINTERNAL:Methods in org.eclipse.persistence.internal.helper that return DatabaseField Modifier and Type Method Description DatabaseFieldDatabaseField. clone()The table is not cloned because it is treated as an automatic value.Methods in org.eclipse.persistence.internal.helper with parameters of type DatabaseField Modifier and Type Method Description booleanDatabaseField. equals(DatabaseField field)Determine whether the receiver is equal to a DatabaseField.static booleanHelper. isLob(DatabaseField field)Method parameters in org.eclipse.persistence.internal.helper with type arguments of type DatabaseField Modifier and Type Method Description voidComplexDatabaseType. buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues)voidDatabaseType. buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues)voidDatabaseType.DatabaseTypeHelper. buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues)static booleanHelper. hasLob(Collection<DatabaseField> fields)voidComplexDatabaseType. translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call)voidDatabaseType.DatabaseTypeHelper. translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call)voidDatabaseType. translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call) -
Uses of DatabaseField in org.eclipse.persistence.internal.oxm
Methods in org.eclipse.persistence.internal.oxm with parameters of type DatabaseField Modifier and Type Method Description AbstractRecordXMLObjectBuilder. buildRow(Object object, AbstractSession session, DatabaseField xmlField, XMLRecord parentRecord)Build the nested row into the parent dom. -
Uses of DatabaseField in org.eclipse.persistence.internal.queries
Fields in org.eclipse.persistence.internal.queries declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldOrderedListContainerPolicy. listOrderFieldMethods in org.eclipse.persistence.internal.queries that return DatabaseField Modifier and Type Method Description DatabaseFieldInterfaceContainerPolicy. getDirectKeyField(CollectionMapping mapping)INTERNAL: Return the DatabaseField that represents the key in a DirectMapMapping.DatabaseFieldMapContainerPolicy. getDirectKeyField(CollectionMapping baseMapping)INTERNAL: Return the DatabaseField that represents the key in a DirectMapMapping.DatabaseFieldMappedKeyMapContainerPolicy. getDirectKeyField(CollectionMapping baseMapping)INTERNAL: Return the DatabaseField that represents the key in a DirectMapMapping.DatabaseFieldOrderedListContainerPolicy. getListOrderField()Methods in org.eclipse.persistence.internal.queries that return types with arguments of type DatabaseField Modifier and Type Method Description List<DatabaseField>ContainerPolicy. getAdditionalFieldsForJoin(CollectionMapping baseMapping)INTERNAL: Return any additional fields required by the policy for a fetch join.List<DatabaseField>MappedKeyMapContainerPolicy. getAdditionalFieldsForJoin(CollectionMapping baseMapping)INTERNAL: Return any additional fields required by the policy for a fetch join.List<DatabaseField>OrderedListContainerPolicy. getAdditionalFieldsForJoin(CollectionMapping baseMapping)INTERNAL: Return any additional fields required by the policy for a fetch join.Map<DatabaseField,DatabaseField>MappedKeyMapContainerPolicy. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKey.Map<DatabaseField,DatabaseField>MappedKeyMapContainerPolicy. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKey.List<DatabaseField>ContainerPolicy. getIdentityFieldsForMapKey()INTERNAL: Return the fields that make up the identity of the key if this mapping is a list This method will be overridden by subclasses.List<DatabaseField>MappedKeyMapContainerPolicy. getIdentityFieldsForMapKey()INTERNAL: Return the fields that make up the identity of the mapped object.protected List<DatabaseField>ExpressionQueryMechanism. getPrimaryKeyFieldsForTable(ClassDescriptor descriptor, DatabaseTable table)protected List<DatabaseField>ExpressionQueryMechanism. getPrimaryKeyFieldsForTable(DatabaseTable table)Methods in org.eclipse.persistence.internal.queries with parameters of type DatabaseField Modifier and Type Method Description protected SQLSelectStatementExpressionQueryMechanism. buildSelectStatementForDoesExist(DatabaseField field)Return the appropriate select statement to perform a does exist checkvoidCallQueryMechanism. prepareDoesExist(DatabaseField field)Pre-build configure the SQL call.abstract voidDatabaseQueryMechanism. prepareDoesExist(DatabaseField field)Pre-pare for a select execute.voidDatasourceCallQueryMechanism. prepareDoesExist(DatabaseField field)Pre-build configure the call.voidExpressionQueryMechanism. prepareDoesExist(DatabaseField field)Pre-build the SQL statement from the expression.voidStatementQueryMechanism. prepareDoesExist(DatabaseField field)Pre-build the SQL call from the statement.abstract AbstractRecordDatabaseQueryMechanism. selectRowForDoesExist(DatabaseField field)Read and return a row from the database for an existence check.AbstractRecordDatasourceCallQueryMechanism. selectRowForDoesExist(DatabaseField field)Perform a does exist checkvoidMappedKeyMapContainerPolicy. setKeyField(DatabaseField keyField, ClassDescriptor descriptor)INTERNAL: Set the DatabaseField that will represent the key in a DirectMapMapping.voidOrderedListContainerPolicy. setListOrderField(DatabaseField field)Method parameters in org.eclipse.persistence.internal.queries with type arguments of type DatabaseField Modifier and Type Method Description protected VectorExpressionQueryMechanism. buildStatementsForUpdateAllForTempTables(DatabaseTable table, HashMap databaseFieldsToValues, List<DatabaseField> primaryKeyFields) -
Uses of DatabaseField in org.eclipse.persistence.internal.sessions
Fields in org.eclipse.persistence.internal.sessions declared as DatabaseField Modifier and Type Field Description protected DatabaseField[]ArrayRecord. fieldsArrayprotected DatabaseFieldAbstractRecord. lookupFieldOptimize field creation for field name lookup.Fields in org.eclipse.persistence.internal.sessions with type parameters of type DatabaseField Modifier and Type Field Description protected Vector<DatabaseField>AbstractRecord. fieldsUse vector to store the fields/values for optimal performance.Methods in org.eclipse.persistence.internal.sessions that return DatabaseField Modifier and Type Method Description DatabaseFieldAbstractRecord. getField(DatabaseField key)INTERNAL: Returns the row's field with the same name.DatabaseFieldArrayRecord. getField(DatabaseField key)INTERNAL: Returns the row's field with the same name.protected DatabaseFieldAbstractRecord. getLookupField(String fieldName)Internal: factored out of getIndicatingNoEntry(String) to reduce complexity and have get(string) use get(DatabaseField) instead of getIndicatingNoEntry and then doing an extra checkMethods in org.eclipse.persistence.internal.sessions that return types with arguments of type DatabaseField Modifier and Type Method Description Vector<DatabaseField>AbstractRecord. getFields()INTERNAL:Methods in org.eclipse.persistence.internal.sessions with parameters of type DatabaseField Modifier and Type Method Description voidAbstractRecord. add(DatabaseField key, Object value)INTERNAL: Add the field-value pair to the row.voidArrayRecord. add(DatabaseField key, Object value)INTERNAL: Add the field-value pair to the row.voidEmptyRecord. add(DatabaseField key, Object value)booleanAbstractRecord. containsKey(DatabaseField key)INTERNAL: Check if the field is contained in the row.booleanArrayRecord. containsKey(DatabaseField key)INTERNAL: Check if the field is contained in the row.ObjectAbstractRecord. get(DatabaseField key)INTERNAL: Retrieve the value for the field.ObjectArrayRecord. get(DatabaseField key)INTERNAL: Retrieve the value for the field.ObjectResultSetRecord. get(DatabaseField key)INTERNAL: Retrieve the value for the field.ObjectSimpleResultSetRecord. get(DatabaseField key)INTERNAL: Retrieve the value for the field.DatabaseFieldAbstractRecord. getField(DatabaseField key)INTERNAL: Returns the row's field with the same name.DatabaseFieldArrayRecord. getField(DatabaseField key)INTERNAL: Returns the row's field with the same name.ObjectAbstractRecord. getIndicatingNoEntry(DatabaseField key)INTERNAL: Retrieve the value for the field.ObjectArrayRecord. getIndicatingNoEntry(DatabaseField key)INTERNAL: Retrieve the value for the field.ObjectResultSetRecord. getIndicatingNoEntry(DatabaseField key)INTERNAL: Retrieve the value for the field.ObjectSimpleResultSetRecord. getIndicatingNoEntry(DatabaseField key)INTERNAL: Retrieve the value for the field.protected ObjectSimpleResultSetRecord. getValueFromResultSet(int index, DatabaseField field)ObjectAbstractRecord. getValues(DatabaseField key)ObjectAbstractRecord. put(DatabaseField key, Object value)INTERNAL: Add the field-value pair to the row.ObjectArrayRecord. put(DatabaseField key, Object value)INTERNAL: Add the field-value pair to the row.ObjectEmptyRecord. put(DatabaseField key, Object value)ObjectAbstractRecord. remove(DatabaseField key)INTERNAL: Remove the field key from the row.ObjectArrayRecord. remove(DatabaseField key)INTERNAL: Remove the field key from the row.voidAbstractRecord. replaceAt(Object value, DatabaseField key)INTERNAL: replaces the value at field with valuevoidArrayRecord. replaceAt(Object value, DatabaseField key)INTERNAL: replaces the value at field with valueConstructors in org.eclipse.persistence.internal.sessions with parameters of type DatabaseField Constructor Description ArrayRecord(Vector fields, DatabaseField[] fieldsArray, Object[] valuesArray)ResultSetRecord(Vector fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, DatabaseAccessor accessor, AbstractSession session, DatabasePlatform platform, boolean optimizeData)SimpleResultSetRecord(Vector fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, DatabaseAccessor accessor, AbstractSession session, DatabasePlatform platform, boolean optimizeData) -
Uses of DatabaseField in org.eclipse.persistence.mappings
Fields in org.eclipse.persistence.mappings declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldDirectCollectionMapping. directFieldThe direct field name is converted and storedprotected DatabaseFieldCollectionMapping. listOrderFieldField holds the order of elements in the list in the db, requires collection of type List, may be not null only in case isListOrderFieldSupported==trueprotected DatabaseFieldVariableOneToOneMapping. typeFieldFields in org.eclipse.persistence.mappings with type parameters of type DatabaseField Modifier and Type Field Description protected Map<String,DatabaseField>AggregateCollectionMapping. aggregateToSourceFieldsMap the name of a field in the aggregate collection descriptor to a field in the actual table specified in the mapping.protected Map<String,DatabaseField>AggregateObjectMapping. aggregateToSourceFields322233 - changed to store the source DatabaseField to hold Case and other colunm infoprotected Vector<DatabaseField>DatabaseMapping. fieldsFields associated with the mappings are cachedprotected Vector<DatabaseField>ObjectReferenceMapping. foreignKeyFieldsKeeps track of which fields are foreign keys on a per field basis (can have mixed foreign key relationships).protected HashSet<DatabaseField>OneToOneMapping. insertableFieldsKeep track of which fields are insertable and updatable.protected Map<String,Map<String,DatabaseField>>AggregateCollectionMapping. nestedAggregateToSourceFieldsMap the name of an attribute of the reference descriptor mapped with AggregateCollectionMapping to aggregateToSourceFieldNames that should be applied to this mapping.protected static Vector<DatabaseField>DatabaseMapping. NO_FIELDSUsed to reduce memory for mappings with no fields.protected Vector<DatabaseField>DirectCollectionMapping. referenceKeyFieldsprotected Vector<DatabaseField>AggregateCollectionMapping. sourceKeyFieldsThis is a primary key in the source table that is used as foreign key in the target tableprotected Vector<DatabaseField>DirectCollectionMapping. sourceKeyFieldsprotected Vector<DatabaseField>OneToManyMapping. sourceKeyFieldsThe (typically primary) source key fields that are referenced by the targetForeignKeyFields.protected Vector<DatabaseField>RelationTableMechanism. sourceKeyFieldsThe field in the source table that corresponds to the key in the relation tableprotected Map<DatabaseField,DatabaseField>OneToManyMapping. sourceKeysToTargetForeignKeysThis maps the (primary) source key fields to the corresponding target foreign key fields.protected Map<DatabaseField,DatabaseField>OneToManyMapping. sourceKeysToTargetForeignKeysThis maps the (primary) source key fields to the corresponding target foreign key fields.protected Vector<DatabaseField>RelationTableMechanism. sourceRelationKeyFieldsThe field in the intermediate table that corresponds to the key in the source tableprotected Map<DatabaseField,DatabaseField>OneToOneMapping. sourceToTargetKeyFieldsMaps the source foreign/primary key fields to the target primary/foreign key fields.protected Map<DatabaseField,DatabaseField>OneToOneMapping. sourceToTargetKeyFieldsMaps the source foreign/primary key fields to the target primary/foreign key fields.protected Vector<DatabaseField>AggregateCollectionMapping. targetForeignKeyFieldsThis is a key in the target table which is a foreign key in the target table.protected Vector<DatabaseField>OneToManyMapping. targetForeignKeyFieldsThe target foreign key fields that reference the sourceKeyFields.protected Map<DatabaseField,DatabaseField>OneToManyMapping. targetForeignKeysToSourceKeysThis maps the target foreign key fields to the corresponding (primary) source key fields.protected Map<DatabaseField,DatabaseField>OneToManyMapping. targetForeignKeysToSourceKeysThis maps the target foreign key fields to the corresponding (primary) source key fields.protected Map<DatabaseField,DatabaseField>AggregateCollectionMapping. targetForeignKeyToSourceKeysForeign keys in the target table to the related keys in the source tableprotected Map<DatabaseField,DatabaseField>AggregateCollectionMapping. targetForeignKeyToSourceKeysForeign keys in the target table to the related keys in the source tableprotected Vector<DatabaseField>RelationTableMechanism. targetKeyFieldsThe field in the target table that corresponds to the key in the relation tableprotected List<DatabaseField>OneToManyMapping. targetPrimaryKeyFieldsPrimary keys of targetForeignKeyTable: the same as referenceDescriptor().getPrimaryKeyFields() in case the table is default table of reference descriptor; otherwise contains secondary table's primary key fields in the same order as default table primary keys mapped to them.protected Vector<DatabaseField>RelationTableMechanism. targetRelationKeyFieldsThe field in the intermediate table that corresponds to the key in the target tableprotected Map<DatabaseField,DatabaseField>OneToOneMapping. targetToSourceKeyFieldsMaps the target primary/foreign key fields to the source foreign/primary key fields.protected Map<DatabaseField,DatabaseField>OneToOneMapping. targetToSourceKeyFieldsMaps the target primary/foreign key fields to the source foreign/primary key fields.protected HashSet<DatabaseField>OneToOneMapping. updatableFieldsMethods in org.eclipse.persistence.mappings that return DatabaseField Modifier and Type Method Description DatabaseFieldDirectCollectionMapping. getDirectField()INTERNAL: Return the direct field.DatabaseFieldDirectMapMapping. getDirectKeyField()INTERNAL:DatabaseFieldDatabaseMapping. getField()INTERNAL: Return the field associated with this mapping if there is exactly one.DatabaseFieldCollectionMapping. getListOrderField()PUBLIC: Field holds the order of elements in the list in the db, requires collection of type List; may be not null only in case isListOrderFieldSupported==true.DatabaseFieldRelationTableMechanism. getRelationFieldForTargetField(DatabaseField targetField)INTERNAL: Return the relation field for the target field.DatabaseFieldVariableOneToOneMapping. getTypeField()Methods in org.eclipse.persistence.mappings that return types with arguments of type DatabaseField Modifier and Type Method Description protected Vector<DatabaseField>AggregateObjectMapping. collectFields()INTERNAL: Return the fields handled by the mapping.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>ObjectReferenceMapping. collectFields()INTERNAL: Return all the fields populated by this mapping, these are foreign keys only.protected Vector<DatabaseField>OneToOneMapping. collectFields()INTERNAL: Return all the fields populated by this mapping, these are foreign keys only.Map<String,DatabaseField>AggregateObjectMapping. getAggregateToSourceFields()INTERNAL: Return the hashtable that stores aggregate field name to source fields.List<DatabaseField>AggregateObjectMapping. getAllFieldsForMapKey()INTERNAL: Get all the fields for the map keyList<DatabaseField>OneToOneMapping. getAllFieldsForMapKey()INTERNAL: Get all the fields for the map keyVector<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.Map<DatabaseField,DatabaseField>AggregateObjectMapping. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKeyMap<DatabaseField,DatabaseField>AggregateObjectMapping. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKeyMap<DatabaseField,DatabaseField>OneToOneMapping. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKeyMap<DatabaseField,DatabaseField>OneToOneMapping. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKeyList<DatabaseField>AggregateObjectMapping. getIdentityFieldsForMapKey()INTERNAL: Return the fields that make up the identity of the mapped object.List<DatabaseField>OneToOneMapping. getIdentityFieldsForMapKey()INTERNAL: Return the fields that make up the identity of the mapped object.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>AggregateCollectionMapping. getSourceKeyFields()INTERNAL: Return the source key names associated with the mappingVector<DatabaseField>DirectCollectionMapping. getSourceKeyFields()INTERNAL: Return the source key fields.Vector<DatabaseField>ManyToManyMapping. getSourceKeyFields()INTERNAL: Return all the source key fields associated with the mapping.Vector<DatabaseField>OneToManyMapping. getSourceKeyFields()INTERNAL: Return the source key fields.Vector<DatabaseField>RelationTableMechanism. 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 relation key fields associated with the mapping.Vector<DatabaseField>RelationTableMechanism. getSourceRelationKeyFields()INTERNAL: Return all the source relation 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>AggregateCollectionMapping. getTargetForeignKeyFields()INTERNAL: Return the target foregin key fields associated with the mappingVector<DatabaseField>OneToManyMapping. getTargetForeignKeyFields()INTERNAL: Return the target foreign key fields.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>RelationTableMechanism. getTargetKeyFields()INTERNAL: Return all the target keys associated with the mapping.List<DatabaseField>CollectionMapping. getTargetPrimaryKeyFields()INTERNAL: Returns list of primary key fields from the reference descriptor.List<DatabaseField>OneToManyMapping. getTargetPrimaryKeyFields()INTERNAL: Primary keys of targetForeignKeyTable.Vector<DatabaseField>ManyToManyMapping. getTargetRelationKeyFields()INTERNAL: Return all the target relation key fields associated with the mapping.Vector<DatabaseField>RelationTableMechanism. 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.Methods in org.eclipse.persistence.mappings with parameters of type DatabaseField Modifier and Type Method Description voidAggregateCollectionMapping. addFieldTranslation(DatabaseField sourceField, String aggregateField)PUBLIC: Maps a field name in the aggregate descriptor to a field in the source table.voidAggregateObjectMapping. addFieldTranslation(DatabaseField sourceField, String aggregateFieldName)PUBLIC: Add a field translation that maps from a field in the source table to a field name in the aggregate descriptor.voidEmbeddableMapping. addFieldTranslation(DatabaseField sourceFieldName, String aggregateFieldName)voidForeignReferenceMapping. addForeignKeyField(DatabaseField sourceForeignKeyField, DatabaseField targetPrimaryKeyField)INTERNAL: Allow subclass to define a foreign key in the source's table.voidOneToOneMapping. addForeignKeyField(DatabaseField sourceForeignKeyField, DatabaseField targetPrimaryKeyField)PUBLIC: Define the foreign key relationship in the 1-1 mapping.voidVariableOneToOneMapping. addForeignQueryKeyName(DatabaseField sourceForeignKeyField, String targetQueryKeyName)PUBLIC: A foreign key from the source table and abstract query key from the interface descriptor are added to the mapping.voidAggregateCollectionMapping. addNestedFieldTranslation(String attributeName, DatabaseField sourceField, String aggregateFieldName)PUBLIC: Map the name of an attribute of the reference descriptor mapped with AggregateCollectionMapping to aggregateToSourceFieldNames that should be applied to this mapping.voidAggregateObjectMapping. addNestedFieldTranslation(String attributeName, DatabaseField sourceField, String aggregateFieldName)INTERNAL: Add a nested field translation that maps from a field in the source table to a field name in a nested aggregate descriptor.voidEmbeddableMapping. addNestedFieldTranslation(String attributeName, DatabaseField sourceField, String aggregateField)voidAggregateObjectMapping. addPrimaryKeyJoinField(DatabaseField primaryKeyField, DatabaseField secondaryField)INTERNAL: Add a primary key join column (secondary field).voidDirectCollectionMapping. addReferenceKeyField(DatabaseField referenceForeignKeyField, DatabaseField sourcePrimaryKeyField)PUBLIC: Add the reference key field.voidManyToManyMapping. addSourceRelationKeyField(DatabaseField sourceRelationKeyField, DatabaseField sourcePrimaryKeyField)PUBLIC: Add the fields in the intermediate table that corresponds to the primary key in the source table.voidRelationTableMechanism. addSourceRelationKeyField(DatabaseField sourceRelationKeyField, DatabaseField sourcePrimaryKeyField)PUBLIC: Add the fields in the intermediate table that corresponds to the primary key in the source table.voidAggregateCollectionMapping. addTargetForeignKeyField(DatabaseField targetForeignKey, DatabaseField sourceKey)PUBLIC: Define the target foreign key relationship in the 1-M aggregate collection mapping.voidForeignReferenceMapping. addTargetForeignKeyField(DatabaseField targetForeignKeyField, DatabaseField sourcePrimaryKeyField)INTERNAL: Allow subclass to define a foreign key in the target's table.voidOneToManyMapping. addTargetForeignKeyField(DatabaseField targetForeignKeyField, DatabaseField sourceKeyField)INTERNAL: Add the associated fields to the appropriate collections.voidOneToOneMapping. addTargetForeignKeyField(DatabaseField targetForeignKeyField, DatabaseField sourcePrimaryKeyField)PUBLIC: Define the target foreign key relationship in the 1-1 mapping.voidManyToManyMapping. addTargetRelationKeyField(DatabaseField targetRelationKeyField, DatabaseField targetPrimaryKeyField)PUBLIC: Add the fields in the intermediate table that corresponds to the primary key in the target table.voidRelationTableMechanism. addTargetRelationKeyField(DatabaseField targetRelationKeyField, DatabaseField targetPrimaryKeyField)PUBLIC: Add the fields in the intermediate table that corresponds to the primary key in the target table.Class<?>AggregateObjectMapping. getFieldClassification(DatabaseField fieldToClassify)INTERNAL: Return the classification for the field contained in the mapping.Class<?>DatabaseMapping. getFieldClassification(DatabaseField fieldToClassify)INTERNAL: Return the classification for the field contained in the mapping.Class<?>OneToOneMapping. getFieldClassification(DatabaseField fieldToClassify)INTERNAL: Return the classification for the field contained in the mapping.Class<?>VariableOneToOneMapping. getFieldClassification(DatabaseField fieldToClassify)INTERNAL: Return the classification for the field contained in the mapping.DatabaseFieldRelationTableMechanism. getRelationFieldForTargetField(DatabaseField targetField)INTERNAL: Return the relation field for the target field.voidDirectCollectionMapping. setDirectField(DatabaseField field)PUBLIC: Set the direct field in the reference table.voidDirectMapMapping. setDirectKeyField(DatabaseField keyField)INTERNAL:voidCollectionMapping. setListOrderField(DatabaseField field)PUBLIC: Field holds the order of elements in the list in the db, requires collection of type List.voidVariableOneToOneMapping. setTypeField(DatabaseField typeField)INTERNAL: This method set the typeField of the mapping to the parameter fieldprotected booleanOneToOneMapping. shouldWriteField(DatabaseField field, DatabaseMapping.WriteType writeType)INTERNAL: By default returns true.protected voidAggregateObjectMapping. translateField(DatabaseField sourceField, DatabaseField mappingField, ClassDescriptor clonedDescriptor)INTERNAL: Apply the field translation from the sourceField to the mappingField.protected voidOneToOneMapping. updateInsertableAndUpdatableFields(DatabaseField field)INTERNAL: Add the field to the updatable and/or insertable list.ObjectAggregateObjectMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Extract value of the field from the objectObjectDatabaseMapping. 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.ObjectMultitenantPrimaryKeyMapping. valueFromObject(Object anObject, DatabaseField field, AbstractSession session)INTERNAL: Return the Value from the object.ObjectOneToOneMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Get a value from the object and set that in the respective field of the row.ObjectVariableOneToOneMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Get a value from the object and set that in the respective field of the row.protected voidDirectToFieldMapping. writeValueIntoRow(AbstractRecord row, DatabaseField field, Object fieldValue)protected voidMultitenantPrimaryKeyMapping. writeValueIntoRow(AbstractRecord row, DatabaseField field, Object fieldValue)INTERNAL:Method parameters in org.eclipse.persistence.mappings with type arguments of type DatabaseField Modifier and Type Method Description voidAggregateCollectionMapping. addFieldTranslations(Map<String,DatabaseField> map)PUBLIC: Maps a field name in the aggregate descriptor to a field name in the source table.voidAggregateCollectionMapping. addNestedFieldNameTranslations(String attributeName, Map<String,DatabaseField> map)PUBLIC: Map the name of an attribute of the reference descriptor mapped with AggregateCollectionMapping to aggregateToSourceFields that should be applied to this mapping.voidAggregateCollectionMapping. collectQueryParameters(Set<DatabaseField> cacheFields)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityvoidAggregateObjectMapping. collectQueryParameters(Set<DatabaseField> record)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityvoidCollectionMapping. collectQueryParameters(Set<DatabaseField> record)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityvoidDatabaseMapping. collectQueryParameters(Set<DatabaseField> record)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityvoidDirectCollectionMapping. collectQueryParameters(Set<DatabaseField> cacheFields)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityabstract voidForeignReferenceMapping. collectQueryParameters(Set<DatabaseField> cacheFields)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityvoidManyToManyMapping. collectQueryParameters(Set<DatabaseField> cacheFields)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityvoidObjectReferenceMapping. collectQueryParameters(Set<DatabaseField> cacheFields)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityvoidOneToManyMapping. collectQueryParameters(Set<DatabaseField> cacheFields)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityvoidOneToOneMapping. collectQueryParameters(Set<DatabaseField> cacheFields)protected voidRelationTableMechanism. collectQueryParameters(Set<DatabaseField> cacheFields)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entityvoidAggregateCollectionMapping. initializeChildInheritance(ClassDescriptor parentDescriptor, AbstractSession session, HashMap<DatabaseField,DatabaseField> fieldTranslation, HashMap<DatabaseTable,DatabaseTable> tableTranslation)INTERNAL: For aggregate mapping the reference descriptor is cloned.voidAggregateCollectionMapping. initializeChildInheritance(ClassDescriptor parentDescriptor, AbstractSession session, HashMap<DatabaseField,DatabaseField> fieldTranslation, HashMap<DatabaseTable,DatabaseTable> tableTranslation)INTERNAL: For aggregate mapping the reference descriptor is cloned.voidAggregateCollectionMapping. initializeParentInheritance(ClassDescriptor parentDescriptor, ClassDescriptor childDescriptor, AbstractSession session, HashMap<DatabaseField,DatabaseField> fieldTranslation, HashMap<DatabaseTable,DatabaseTable> tableTranslation)INTERNAL: For aggregate mapping the reference descriptor is cloned.voidAggregateCollectionMapping. initializeParentInheritance(ClassDescriptor parentDescriptor, ClassDescriptor childDescriptor, AbstractSession session, HashMap<DatabaseField,DatabaseField> fieldTranslation, HashMap<DatabaseTable,DatabaseTable> tableTranslation)INTERNAL: For aggregate mapping the reference descriptor is cloned.voidAggregateObjectMapping. setAggregateToSourceFields(Map<String,DatabaseField> aggregateToSource)INTERNAL: Set the hashtable that stores target field name to the source field name.protected voidDatabaseMapping. setFields(Vector<DatabaseField> fields)INTERNAL: Set the mapping's field collection.protected voidObjectReferenceMapping. setForeignKeyFields(Vector<DatabaseField> foreignKeyFields)INTERNAL: Set the foreign key fields associated with the mapping.voidDirectCollectionMapping. setReferenceKeyFields(Vector<DatabaseField> aVector)INTERNAL: Set the reference fields.voidAggregateCollectionMapping. setSourceKeyFields(Vector<DatabaseField> sourceKeyFields)INTERNAL: set all the primary key names associated with this mappingvoidDirectCollectionMapping. setSourceKeyFields(Vector<DatabaseField> sourceKeyFields)INTERNAL: Set the source fields.voidManyToManyMapping. setSourceKeyFields(Vector<DatabaseField> sourceKeyFields)INTERNAL: Set the source fields.voidOneToManyMapping. setSourceKeyFields(Vector<DatabaseField> sourceKeyFields)INTERNAL: Set the source key fields.voidRelationTableMechanism. setSourceKeyFields(Vector<DatabaseField> sourceKeyFields)INTERNAL: Set the source fields.voidManyToManyMapping. setSourceRelationKeyFields(Vector<DatabaseField> sourceRelationKeyFields)INTERNAL: Set the source fields.voidRelationTableMechanism. setSourceRelationKeyFields(Vector<DatabaseField> sourceRelationKeyFields)INTERNAL: Set the source fields.voidOneToOneMapping. setSourceToTargetKeyFields(Map<DatabaseField,DatabaseField> sourceToTargetKeyFields)INTERNAL: Set the source keys to target keys fields association.voidOneToOneMapping. setSourceToTargetKeyFields(Map<DatabaseField,DatabaseField> sourceToTargetKeyFields)INTERNAL: Set the source keys to target keys fields association.voidAggregateCollectionMapping. setTargetForeignKeyFields(Vector<DatabaseField> targetForeignKeyFields)INTERNAL: set the target foregin key fields associated with the mappingvoidOneToManyMapping. setTargetForeignKeyFields(Vector<DatabaseField> targetForeignKeyFields)INTERNAL: Set the target fields.protected voidOneToManyMapping. setTargetForeignKeysToSourceKeys(Map<DatabaseField,DatabaseField> targetForeignKeysToSourceKeys)INTERNAL: Set the target fields.protected voidOneToManyMapping. setTargetForeignKeysToSourceKeys(Map<DatabaseField,DatabaseField> targetForeignKeysToSourceKeys)INTERNAL: Set the target fields.protected voidAggregateCollectionMapping. setTargetForeignKeyToSourceKeys(Map<DatabaseField,DatabaseField> targetForeignKeyToSourceKeys)protected voidAggregateCollectionMapping. setTargetForeignKeyToSourceKeys(Map<DatabaseField,DatabaseField> targetForeignKeyToSourceKeys)voidManyToManyMapping. setTargetKeyFields(Vector<DatabaseField> targetKeyFields)INTERNAL: Set the target fields.voidRelationTableMechanism. setTargetKeyFields(Vector<DatabaseField> targetKeyFields)INTERNAL: Set the target fields.voidManyToManyMapping. setTargetRelationKeyFields(Vector<DatabaseField> targetRelationKeyFields)INTERNAL: Set the target fields.voidRelationTableMechanism. setTargetRelationKeyFields(Vector<DatabaseField> targetRelationKeyFields)INTERNAL: Set the target fields.voidOneToOneMapping. setTargetToSourceKeyFields(Map<DatabaseField,DatabaseField> targetToSourceKeyFields)INTERNAL: Set the target keys to source keys fields association.voidOneToOneMapping. setTargetToSourceKeyFields(Map<DatabaseField,DatabaseField> targetToSourceKeyFields)INTERNAL: Set the target keys to source keys fields association.protected static voidAggregateCollectionMapping. translateTablesAndFields(ClassDescriptor descriptor, HashMap<DatabaseField,DatabaseField> fieldTranslation, HashMap<DatabaseTable,DatabaseTable> tableTranslation)INTERNAL: Called in case fieldTranslation != null Sets new primary keys, tables, appends fieldTranslation to fieldMap so that all fields in mappings, inheritance etc.protected static voidAggregateCollectionMapping. translateTablesAndFields(ClassDescriptor descriptor, HashMap<DatabaseField,DatabaseField> fieldTranslation, HashMap<DatabaseTable,DatabaseTable> tableTranslation)INTERNAL: Called in case fieldTranslation != null Sets new primary keys, tables, appends fieldTranslation to fieldMap so that all fields in mappings, inheritance etc. -
Uses of DatabaseField in org.eclipse.persistence.mappings.converters
Methods in org.eclipse.persistence.mappings.converters with parameters of type DatabaseField Modifier and Type Method Description Class<?>ObjectTypeConverter. getFieldClassification(DatabaseField fieldToClassify)INTERNAL: Return the classifiction for the field contained in the mapping. -
Uses of DatabaseField in org.eclipse.persistence.mappings.foundation
Fields in org.eclipse.persistence.mappings.foundation declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldAbstractColumnMapping. fieldDatabaseField which this mapping represents.protected DatabaseFieldAbstractCompositeCollectionMapping. fieldThe aggregate objects are stored in a single field.protected DatabaseFieldAbstractCompositeDirectCollectionMapping. fieldThis is the field holding the nested collection.protected DatabaseFieldAbstractCompositeObjectMapping. fieldThe aggregate object is stored in a single field.Methods in org.eclipse.persistence.mappings.foundation that return DatabaseField Modifier and Type Method Description DatabaseFieldAbstractColumnMapping. getField()INTERNAL: Returns the field which this mapping represents.DatabaseFieldAbstractCompositeCollectionMapping. getField()INTERNAL: Return the field mapped by this mapping.DatabaseFieldAbstractCompositeDirectCollectionMapping. getField()INTERNAL: Return the field that holds the nested collection.DatabaseFieldAbstractCompositeObjectMapping. getField()INTERNAL: The aggregate object is held in a single field.Methods in org.eclipse.persistence.mappings.foundation that return types with arguments of type DatabaseField Modifier and Type Method Description protected Vector<DatabaseField>AbstractColumnMapping. collectFields()Returns the field this mapping represents.List<DatabaseField>AbstractDirectMapping. getAllFieldsForMapKey()INTERNAL: Get all the fields for the map key.List<DatabaseField>MapKeyMapping. getAllFieldsForMapKey()INTERNAL: Get all the fields for the map keyMap<DatabaseField,DatabaseField>AbstractDirectMapping. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKey.Map<DatabaseField,DatabaseField>AbstractDirectMapping. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKey.Map<DatabaseField,DatabaseField>MapKeyMapping. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKeyMap<DatabaseField,DatabaseField>MapKeyMapping. getForeignKeyFieldsForMapKey()INTERNAL: Return a Map of any foreign keys defined within the the MapKeyList<DatabaseField>AbstractDirectMapping. getIdentityFieldsForMapKey()INTERNAL: Return the fields that make up the identity of the mapped object.List<DatabaseField>MapKeyMapping. getIdentityFieldsForMapKey()INTERNAL: Return the fields that make up the identity of the mapped object.Methods in org.eclipse.persistence.mappings.foundation with parameters of type DatabaseField Modifier and Type Method Description voidAbstractTransformationMapping. addFieldTransformation(DatabaseField field, String methodName)PUBLIC: Add the field and the name of the method that returns the value to be placed in said field when the object is written to the database.voidAbstractTransformationMapping. addFieldTransformer(DatabaseField field, FieldTransformer transformer)PUBLIC: Add the field and the transformer that returns the value to be placed in the field when the object is written to the database.voidAbstractTransformationMapping. addFieldTransformerClassName(DatabaseField field, String className)INTERNAL: Add the name of a field and the name of a class which implements the FieldTransformer interface.Class<?>AbstractCompositeDirectCollectionMapping. getFieldClassification(DatabaseField fieldToClassify)INTERNAL: Return the classifiction for the field contained in the mapping.Class<?>AbstractDirectMapping. getFieldClassification(DatabaseField fieldToClassify)INTERNAL: Return the classification for the field contained in the mapping.protected ObjectAbstractTransformationMapping. invokeFieldTransformer(DatabaseField field, Object domainObject, AbstractSession session)protected ObjectAbstractTransformationMapping. invokeFieldTransformer(DatabaseField field, FieldTransformer transformer, Object domainObject, AbstractSession session)INTERNAL: Invoke the buildFieldValue on the appropriate FieldTransformervoidAbstractColumnMapping. setField(DatabaseField theField)ADVANCED: Set the field in the mapping.voidAbstractCompositeCollectionMapping. setField(DatabaseField field)Set the field in the mapping.voidAbstractCompositeDirectCollectionMapping. setField(DatabaseField field)Set the field that holds the nested collection.voidAbstractCompositeObjectMapping. setField(DatabaseField field)The aggregate object is held in a single field.ObjectAbstractCompositeObjectMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Extract and return value of the field from the objectObjectAbstractDirectMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Get the value from the object for this mapping.ObjectAbstractTransformationMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Get a value from the object and set that in the respective field of the row.protected abstract voidAbstractColumnMapping. writeValueIntoRow(AbstractRecord row, DatabaseField field, Object value)INTERNAL:protected abstract voidAbstractDirectMapping. writeValueIntoRow(AbstractRecord row, DatabaseField field, Object value) -
Uses of DatabaseField in org.eclipse.persistence.mappings.querykeys
Methods in org.eclipse.persistence.mappings.querykeys that return DatabaseField Modifier and Type Method Description DatabaseFieldDirectQueryKey. getField()INTERNAL: Return the field for the query key.Methods in org.eclipse.persistence.mappings.querykeys with parameters of type DatabaseField Modifier and Type Method Description voidDirectQueryKey. setField(DatabaseField field)INTERNAL: Set the field for the query key. -
Uses of DatabaseField in org.eclipse.persistence.mappings.structures
Subclasses of DatabaseField in org.eclipse.persistence.mappings.structures Modifier and Type Class Description classObjectRelationalDatabaseFieldINTERNAL: A database field of object-relational type: either a java.sql.Array, java.sql.Struct, or java.sql.Ref.Fields in org.eclipse.persistence.mappings.structures declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldNestedTableMapping. fieldA ref is always stored in a single field.protected DatabaseFieldReferenceMapping. fieldA ref is always stored in a single field.protected DatabaseFieldObjectRelationalDatabaseField. nestedTypeFieldMethods in org.eclipse.persistence.mappings.structures that return DatabaseField Modifier and Type Method Description DatabaseFieldNestedTableMapping. getField()INTERNAL: Returns the field which this mapping represents.DatabaseFieldReferenceMapping. getField()INTERNAL: Returns the field which this mapping represents.DatabaseFieldObjectRelationalDatabaseField. getNestedTypeField()ADVANCED: For ARRAY fields, this field's type represents the type contained in the ARRAY.Methods in org.eclipse.persistence.mappings.structures with parameters of type DatabaseField Modifier and Type Method Description protected voidNestedTableMapping. setField(DatabaseField theField)Set the field in the mapping.protected voidReferenceMapping. setField(DatabaseField field)Set the field in the mapping.voidObjectRelationalDatabaseField. setNestedTypeField(DatabaseField nestedTypeField)ADVANCED: For ARRAY fields, this field's type represents the type contained in the ARRAY.Constructors in org.eclipse.persistence.mappings.structures with parameters of type DatabaseField Constructor Description ObjectRelationalDatabaseField(DatabaseField field) -
Uses of DatabaseField in org.eclipse.persistence.oxm
Subclasses of DatabaseField in org.eclipse.persistence.oxm Modifier and Type Class Description classXMLFieldTopLink XML mappings make use of XMLFields based on XPath statements to find the relevant data in an XML document.classXMLUnionFieldSubclass of XMLField for fields that are mapped to unions.Methods in org.eclipse.persistence.oxm that return DatabaseField Modifier and Type Method Description DatabaseFieldXMLDescriptor. buildField(String fieldName)INTERNAL: A DatabaseField is built from the given field name.DatabaseFieldXMLDescriptor. buildField(DatabaseField field)INTERNAL: This is used only in initialization.protected DatabaseFieldXMLDescriptor. getTypedField(StringTokenizer stringTokenizer)DatabaseFieldXMLDescriptor. getTypedField(DatabaseField field)Methods in org.eclipse.persistence.oxm with parameters of type DatabaseField Modifier and Type Method Description voidXMLDescriptor. addPrimaryKeyField(DatabaseField field)DatabaseFieldXMLDescriptor. buildField(DatabaseField field)INTERNAL: This is used only in initialization.DatabaseFieldXMLDescriptor. getTypedField(DatabaseField field)Method parameters in org.eclipse.persistence.oxm with type arguments of type DatabaseField Modifier and Type Method Description voidXMLDescriptor. setPrimaryKeyFields(List<DatabaseField> thePrimaryKeyFields) -
Uses of DatabaseField in org.eclipse.persistence.oxm.mappings
Methods in org.eclipse.persistence.oxm.mappings that return DatabaseField Modifier and Type Method Description DatabaseFieldXMLAnyAttributeMapping. getField()DatabaseFieldXMLAnyCollectionMapping. getField()DatabaseFieldXMLAnyObjectMapping. getField()DatabaseFieldXMLCollectionReferenceMapping. getField()Methods in org.eclipse.persistence.oxm.mappings that return types with arguments of type DatabaseField Modifier and Type Method Description protected Vector<DatabaseField>XMLChoiceCollectionMapping. collectFields()protected Vector<DatabaseField>XMLChoiceObjectMapping. collectFields()Vector<DatabaseField>XMLChoiceCollectionMapping. getFields()Vector<DatabaseField>XMLChoiceObjectMapping. getFields()Methods in org.eclipse.persistence.oxm.mappings with parameters of type DatabaseField Modifier and Type Method Description protected AbstractRecordXMLAnyCollectionMapping. buildCompositeRow(Object attributeValue, AbstractSession session, XMLDescriptor referenceDescriptor, AbstractRecord parentRow, DatabaseField field, Object originalObject, boolean wasXMLRoot)protected AbstractRecordXMLAnyObjectMapping. buildCompositeRow(Object attributeValue, AbstractSession session, XMLDescriptor referenceDescriptor, AbstractRecord parentRow, DatabaseField field, Object originalObject, boolean wasXMLRoot)voidXMLAnyAttributeMapping. setField(DatabaseField field)voidXMLAnyCollectionMapping. setField(DatabaseField field)voidXMLAnyObjectMapping. setField(DatabaseField field)voidXMLCollectionReferenceMapping. setField(DatabaseField field)voidXMLObjectReferenceMapping. setField(DatabaseField field)protected voidXMLDirectMapping. writeValueIntoRow(AbstractRecord row, DatabaseField aField, Object fieldValue) -
Uses of DatabaseField in org.eclipse.persistence.oxm.record
Methods in org.eclipse.persistence.oxm.record with parameters of type DatabaseField Modifier and Type Method Description voidDOMRecord. add(DatabaseField key, Object value)INTERNAL: Add the field-value pair to the document.booleanDOMRecord. containsKey(DatabaseField key)INTERNAL: Check if the field is contained in the row.protected XMLFieldXMLRecord. convertToXMLField(DatabaseField databaseField)INTERNAL: Convert a DatabaseField to an XMLFieldObjectDOMRecord. get(DatabaseField key)ObjectUnmarshalRecord. get(DatabaseField key)ObjectXMLRecord. get(DatabaseField key)INTERNAL: Retrieve the value for the field.ObjectDOMRecord. getIndicatingNoEntry(DatabaseField key)INTERNAL: Given a DatabaseField return the corresponding value from the documentObjectDOMRecord. getIndicatingNoEntry(DatabaseField key, boolean shouldReturnNode)ObjectDOMRecord. getIndicatingNoEntry(DatabaseField key, boolean shouldReturnNode, boolean checkForXsiNil)ObjectDOMRecord. getValues(DatabaseField key)INTERNAL: Given a DatabaseField, return the corresponding values from the documentObjectDOMRecord. getValues(DatabaseField key, AbstractNullPolicy nullPolicy)ObjectDOMRecord. getValuesIndicatingNoEntry(DatabaseField key)ObjectDOMRecord. getValuesIndicatingNoEntry(DatabaseField key, boolean shouldReturnNodes)INTERNAL: Given a DatabaseField, return the corresponding values from the documentObjectDOMRecord. getValuesIndicatingNoEntry(DatabaseField key, boolean shouldReturnNodes, AbstractNullPolicy nullPolicy)ObjectDOMRecord. getValuesIndicatingNoEntry(DatabaseField key, AbstractNullPolicy nullPolicy)ObjectDOMRecord. put(DatabaseField key, Object value)INTERNAL: Set the field value into the DOM.ObjectDOMRecord. remove(DatabaseField key)INTERNAL: Remove the field key from the row.Method parameters in org.eclipse.persistence.oxm.record with type arguments of type DatabaseField Modifier and Type Method Description protected List<XMLField>XMLRecord. convertToXMLField(List<DatabaseField> databaseFields)List<XMLEntry>DOMRecord. getValuesIndicatingNoEntry(List<DatabaseField> keys)List<XMLEntry>DOMRecord. getValuesIndicatingNoEntry(List<DatabaseField> keys, boolean shouldReturnNodes) -
Uses of DatabaseField in org.eclipse.persistence.platform.database
Methods in org.eclipse.persistence.platform.database with parameters of type DatabaseField Modifier and Type Method Description ExpressionOraclePlatform. createExpressionFor(DatabaseField field, Expression builder, String fieldClassificationClassName)ObjectOracle8Platform. getCustomModifyValueForCall(Call call, Object value, DatabaseField field, boolean shouldBind)INTERNAL Used by SQLCall.translate(..) Typically there is no field translation (and this is default implementation).protected voidDB2ZPlatform. setNullFromDatabaseField(DatabaseField databaseField, CallableStatement statement, String name)protected voidDerbyPlatform. setNullFromDatabaseField(DatabaseField databaseField, PreparedStatement statement, int index)protected voidPostgreSQLPlatform. setNullFromDatabaseField(DatabaseField databaseField, PreparedStatement statement, int index)booleanOracle8Platform. shouldUseCustomModifyForCall(DatabaseField field)INTERNAL Used by SQLCall.appendModify(..) If the field should be passed to customModifyInDatabaseCall, retun true, otherwise false.voidOracle8Platform. writeLOB(DatabaseField field, Object value, ResultSet resultSet, AbstractSession session)INTERNAL: Write LOB value - only on Oracle8 and upMethod parameters in org.eclipse.persistence.platform.database with type arguments of type DatabaseField Modifier and Type Method Description DatabaseCallOraclePlatform. buildCallWithReturning(SQLCall sqlCall, Vector<DatabaseField> returnFields)INTERNAL: Returns null unless the platform supports call with returningDatabaseCallPostgreSQLPlatform. buildCallWithReturning(SQLCall sqlCall, Vector<DatabaseField> returnFields)INTERNAL: Uses the returning clause on Postgres.voidMySQLPlatform. writeDeleteFromTargetTableUsingTempTableSql(Writer writer, DatabaseTable table, DatabaseTable targetTable, Collection<DatabaseField> pkFields, Collection<DatabaseField> targetPkFields, DatasourcePlatform platform)INTERNAL: Writes MySQL specific SQL for accessing temp tables for delete-all queries.voidDerbyPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: May need to override this method if the platform supports temporary tables and the generated sql doesn't work.voidH2Platform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)H2 does not allow using () in the update if only one field.voidHSQLPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: HSQL does not allow multiple fields to be set as a list, so each field needs to be set one by one.voidInformix11Platform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)OverridesDatabasePlatform.writeUpdateOriginalFromTempTableSql(Writer, DatabaseTable, Collection, Collection)to ensure that aSETclause that is supposed to set a value for only one column does not wrap that column name in parentheses.voidMySQLPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: Writes MySQL specific SQL for accessing temp tables for update-all queries.voidPostgreSQLPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: May need to override this method if the platform supports temporary tables and the generated sql doesn't work.voidSQLServerPlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL:voidSybasePlatform. writeUpdateOriginalFromTempTableSql(Writer writer, DatabaseTable table, Collection<DatabaseField> pkFields, Collection<DatabaseField> assignedFields)INTERNAL: -
Uses of DatabaseField in org.eclipse.persistence.platform.database.jdbc
Method parameters in org.eclipse.persistence.platform.database.jdbc with type arguments of type DatabaseField Modifier and Type Method Description voidJDBCTypes. buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues)voidJDBCTypes. translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call) -
Uses of DatabaseField in org.eclipse.persistence.platform.database.oracle.plsql
Methods in org.eclipse.persistence.platform.database.oracle.plsql with parameters of type DatabaseField Modifier and Type Method Description voidPLSQLStoredProcedureCall. addNamedInOutputArgument(String procedureParameterName, String inArgumentFieldName, String outArgumentFieldName, int type, String typeName, Class<?> javaType, DatabaseField nestedType)voidPLSQLStoredProcedureCall. addNamedOutputArgument(String procedureParameterName, String argumentFieldName, int jdbcType, String typeName, Class<?> javaType, DatabaseField nestedType)voidPLSQLStoredProcedureCall. addUnamedArgument(String argumentFieldName, int type, String typeName, DatabaseField nestedType)voidPLSQLStoredProcedureCall. addUnamedInOutputArgument(String inArgumentFieldName, String outArgumentFieldName, int type, String typeName, Class<?> collection, DatabaseField nestedType)voidPLSQLStoredProcedureCall. addUnamedOutputArgument(String argumentFieldName, int jdbcType, String typeName, Class<?> javaType, DatabaseField nestedType)Method parameters in org.eclipse.persistence.platform.database.oracle.plsql with type arguments of type DatabaseField Modifier and Type Method Description voidOraclePLSQLTypes. buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues)INTERNAL: Build the query output row from the call output row.voidPLSQLrecord. buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues)voidOraclePLSQLTypes. translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call)INTERNAL: Translate the argument value from the query translation row to call translation row.voidPLSQLrecord. translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call) -
Uses of DatabaseField in org.eclipse.persistence.queries
Fields in org.eclipse.persistence.queries declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldColumnResult. columnStores the Columns name from the result setprotected DatabaseFieldFieldResult. columnStores the Columns name from the result set that contains the attribute valueprotected DatabaseFieldEntityResult. discriminatorColumnStores the column that will contain the value to determine the correct subclass to create if applicable.Fields in org.eclipse.persistence.queries with type parameters of type DatabaseField Modifier and Type Field Description protected List<DatabaseField>DatabaseQuery. argumentFieldsPERF: Argument fields are cached in prepare to avoid rebuilding on each execution.protected Vector<DatabaseField>Cursor. fieldsThe fields expected in the result set.protected List<DatabaseField>DatabaseQuery. nullableArgumentsList of arguments to check for null.protected List<DatabaseField>StoredProcedureCall. optionalArgumentsMethods in org.eclipse.persistence.queries that return DatabaseField Modifier and Type Method Description protected DatabaseFieldSQLCall. afterTranslateCustomQueryUpdateParameter(DatabaseField field, int index, DatasourceCall.ParameterType parameterType, List updatedParameters, List<DatasourceCall.ParameterType> updatedParameterTypes)INTERNAL: Set the data passed through setCustomSQLArgumentType and useCustomSQLCursorOutputAsResultSet methods.DatabaseFieldColumnResult. getColumn()DatabaseFieldFieldResult. getColumn()DatabaseFieldEntityResult. getDiscriminatorColumn()Returns the column name for the column that will store the value used to determine the subclass type if applicable.protected DatabaseFieldDoesExistQuery. getDoesExistField()INTERNAL: Return the write lock field or the first primary key field if not using locking.DatabaseFieldEntityResult. processValueFromRecordForMapping(ClassDescriptor descriptor, String[] attributeNames, int currentLoc)INTERNAL: This method is for processing a single FieldResult, returning the DatabaseField it refers to.Methods in org.eclipse.persistence.queries that return types with arguments of type DatabaseField Modifier and Type Method Description List<DatabaseField>DatabaseQuery. buildArgumentFields()INTERNAL: Build the list of arguments fields from the argument names and types.Set<DatabaseField>ObjectLevelReadQuery. getFetchGroupNonNestedFieldsSet()INTERNAL: Return the set of fields required in the select clause, for fetch group reading.Set<DatabaseField>ObjectLevelReadQuery. getFetchGroupNonNestedFieldsSet(DatabaseMapping nestedMapping)INTERNAL: Return the set of fields required in the select clause, for fetch group reading.List<DatabaseField>ObjectLevelReadQuery. getFetchGroupSelectionFields()INTERNAL: Return the fields required in the select clause, for fetch group reading.protected List<DatabaseField>ObjectLevelReadQuery. getFetchGroupSelectionFields(DatabaseMapping nestedMapping)INTERNAL: Return the fields required in the select clause, for fetch group reading.Vector<DatabaseField>Cursor. getFields()INTERNAL: Return the fields for the stream.List<DatabaseField>DatabaseQuery. getNullableArguments()INTERNAL: Return the list of arguments to check for null.List<DatabaseField>StoredProcedureCall. getOptionalArguments()INTERNAL: Return the list of optional arguments.Methods in org.eclipse.persistence.queries with parameters of type DatabaseField Modifier and Type Method Description voidObjectLevelReadQuery. addAdditionalField(DatabaseField field)INTERNAL: Additional fields can be added to a query.voidStoredProcedureCall. addNamedArgument(String procedureParameterName, String argumentFieldName, int type, String typeName, Class<?> javaType, DatabaseField nestedType)PUBLIC: Define the inout argument to the stored procedure and the field/argument name to be substituted for it.voidStoredProcedureCall. addNamedArgument(String procedureParameterName, String argumentFieldName, int type, String typeName, DatabaseField nestedType)PUBLIC: Define the output argument to the stored procedure and the field/argument name to be substitute for it.voidStoredProcedureCall. addNamedInOutputArgument(String procedureParameterName, String inArgumentFieldName, String outArgumentFieldName, int type, String typeName, Class<?> javaType, DatabaseField nestedType)PUBLIC: Define the inoutput argument to the stored procedure and the field/argument name to be substitute for it on the way in and out.voidStoredProcedureCall. addNamedOutputArgument(String procedureParameterName, String argumentFieldName, int jdbcType, String typeName, Class<?> javaType, DatabaseField nestedType)PUBLIC: Define the output argument to the stored procedure and the field/argument name to be substitute for it.voidStoredProcedureCall. addUnamedArgument(String argumentFieldName, int type, String typeName, DatabaseField nestedType)PUBLIC: Define the argument to the stored procedure for the index argument.voidStoredProcedureCall. addUnamedInOutputArgument(String inArgumentFieldName, String outArgumentFieldName, int type, String typeName, Class<?> collection, DatabaseField nestedType)PUBLIC: Define the inoutput argument to the stored procedure for the index argument and the field/argument name to be substitute for it on the way in and out.voidStoredProcedureCall. addUnamedOutputArgument(String argumentFieldName, int jdbcType, String typeName, Class<?> javaType, DatabaseField nestedType)PUBLIC: Define the field/argument name to be substitute for the index output argument.protected DatabaseFieldSQLCall. afterTranslateCustomQueryUpdateParameter(DatabaseField field, int index, DatasourceCall.ParameterType parameterType, List updatedParameters, List<DatasourceCall.ParameterType> updatedParameterTypes)INTERNAL: Set the data passed through setCustomSQLArgumentType and useCustomSQLCursorOutputAsResultSet methods.ObjectReadAllQuery. registerResultSetInUnitOfWork(ResultSet resultSet, Vector fields, DatabaseField[] fieldsArray, UnitOfWorkImpl unitOfWork, AbstractRecord arguments)INTERNAL: Version of the previous method for ResultSet optimization.voidSQLCall. setCustomSQLArgumentType(String argumentFieldName, int type, String typeName, Class<?> javaType, DatabaseField nestedType)PUBLIC: This method should only be used with custom SQL: it sets a type to IN, OUT or INOUT parameter (prefixed with #, ### or #### in custom SQL string).voidSQLCall. setCustomSQLArgumentType(String argumentFieldName, int type, String typeName, DatabaseField nestedType)PUBLIC: This method should only be used with custom SQL: it sets a type to IN, OUT or INOUT parameter (prefixed with #, ### or #### in custom SQL string).voidEntityResult. setDiscriminatorColumn(DatabaseField column)voidStoredFunctionCall. setResult(int type, String typeName, Class<?> javaType, DatabaseField nestedType)PUBLIC: Define the ObjectRelationalDatabaseField to be substituted for the function return.Method parameters in org.eclipse.persistence.queries with type arguments of type DatabaseField Modifier and Type Method Description protected voidCursor. setFields(Vector<DatabaseField> fields)INTERNAL: Set the fields for the stream.voidDatabaseQuery. setNullableArguments(List<DatabaseField> nullableArguments)INTERNAL: Set the list of arguments to check for null.voidStoredProcedureCall. setOptionalArguments(List<DatabaseField> optionalArguments)INTERNAL: Set the list of optional arguments.Constructors in org.eclipse.persistence.queries with parameters of type DatabaseField Constructor Description ColumnResult(DatabaseField column)FieldResult(String attributeName, DatabaseField column)StoredFunctionCall(int sqlType, String sqlTypeName, Class<?> javaType, DatabaseField nestedType)StoredFunctionCall(int sqlType, String sqlTypeName, String javaTypeClassName, DatabaseField nestedType) -
Uses of DatabaseField in org.eclipse.persistence.tools.schemaframework
Fields in org.eclipse.persistence.tools.schemaframework declared as DatabaseField Modifier and Type Field Description protected DatabaseFieldFieldDefinition. fieldDatabaseField stores the field name with case and delimiting information.Fields in org.eclipse.persistence.tools.schemaframework with type parameters of type DatabaseField Modifier and Type Field Description protected Map<DatabaseField,DatabaseField>DefaultTableGenerator. databaseFieldsDatabaseField pool (synchronized with above 'fieldMap')protected Map<DatabaseField,DatabaseField>DefaultTableGenerator. databaseFieldsDatabaseField pool (synchronized with above 'fieldMap')protected Map<DatabaseField,FieldDefinition>DefaultTableGenerator. fieldMapUsed to track the field definition: keyed by the database field object, and valued by the field definition.Methods in org.eclipse.persistence.tools.schemaframework that return DatabaseField Modifier and Type Method Description DatabaseFieldFieldDefinition. getDatabaseField()INTERNAL: Return the databasefield.protected DatabaseFieldDefaultTableGenerator. resolveDatabaseField(DatabaseField childField, DatabaseField parentField)Resolve the foreign key database field metadata in relation table or direct collection/map table.Methods in org.eclipse.persistence.tools.schemaframework with parameters of type DatabaseField Modifier and Type Method Description protected voidDefaultTableGenerator. buildRelationTableDefinition(ForeignReferenceMapping mapping, RelationTableMechanism relationTableMechanism, DatabaseField listOrderField, ContainerPolicy cp)Build relation table definitions for all many-to-many relationships in a EclipseLink descriptor.protected FieldDefinitionDefaultTableGenerator. getFieldDefFromDBField(DatabaseField dbField)Build a field definition object from a database field.protected DatabaseFieldDefaultTableGenerator. resolveDatabaseField(DatabaseField childField, DatabaseField parentField)Resolve the foreign key database field metadata in relation table or direct collection/map table.voidFieldDefinition. setDatabaseField(DatabaseField field)INTERNAL: Set the DatabaseField that is associated to this FieldDefinition object.protected voidDefaultTableGenerator. setFieldToRelationTable(DatabaseField dbField, TableDefinition table)Build and add a field definition object to relation tableMethod parameters in org.eclipse.persistence.tools.schemaframework with type arguments of type DatabaseField Modifier and Type Method Description protected voidDefaultTableGenerator. addForeignMappingFkConstraint(Map<DatabaseField,DatabaseField> srcFields, boolean cascadeOnDelete)protected voidDefaultTableGenerator. addForeignMappingFkConstraint(Map<DatabaseField,DatabaseField> srcFields, boolean cascadeOnDelete)protected voidDefaultTableGenerator. addJoinColumnsFkConstraint(List<DatabaseField> fkFields, List<DatabaseField> targetFields, boolean cascadeOnDelete)protected voidDefaultTableGenerator. buildRelationTableFields(ForeignReferenceMapping mapping, TableDefinition table, List<DatabaseField> fkFields, List<DatabaseField> targetFields)Build field definitions and foreign key constraints for all many-to-many relation table.protected StoredProcedureDefinitionStoredProcedureGenerator. generateObjectStoredProcedure(DatabaseQuery query, List<DatabaseField> fields, String namePrefix)INTERNAL: Generates the object level stored procedure based on the passed in queryprotected StoredProcedureDefinitionStoredProcedureGenerator. generateOneToManyMappingProcedures(OneToManyMapping mapping, DatabaseQuery query, Map<DatabaseField,DatabaseField> fields, String namePrefix)INTERNAL: Generates all the stored procedures for this mappingprotected StoredProcedureDefinitionStoredProcedureGenerator. generateOneToManyMappingProcedures(OneToManyMapping mapping, DatabaseQuery query, Map<DatabaseField,DatabaseField> fields, String namePrefix)INTERNAL: Generates all the stored procedures for this mappingprotected StoredProcedureDefinitionStoredProcedureGenerator. generateStoredProcedure(DatabaseQuery query, List<DatabaseField> fields, String name)INTERNAL: Generates the stored procedure for this query.protected StoredProcedureDefinitionStoredProcedureGenerator. generateStoredProcedure(DatabaseQuery query, List<DatabaseField> fields, AbstractRecord rowForPrepare, String name)INTERNAL: Generates the stored procedure for this query using the row passed in for the check prepare.
-