Uses of Class
org.eclipse.persistence.tools.schemaframework.FieldDefinition
Packages that use FieldDefinition
Package
Description
-
Uses of FieldDefinition in org.eclipse.persistence.internal.databaseaccess
Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type FieldDefinitionModifier and TypeMethodDescriptionprotected voidDatabasePlatform.printFieldTypeSize(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType) voidDatabasePlatform.printFieldTypeSize(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType, boolean shouldPrintFieldIdentityClause) voidDatabasePlatform.writeAddColumnClause(Writer writer, AbstractSession session, TableDefinition table, FieldDefinition field) INTERNAL: May need to override this method if the platform supports ALTER TABLE ADD <column> and the generated sql doesn't work. -
Uses of FieldDefinition in org.eclipse.persistence.platform.database
Methods in org.eclipse.persistence.platform.database with parameters of type FieldDefinitionModifier and TypeMethodDescriptionvoidAccessPlatform.printFieldTypeSize(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType, boolean shouldPrintFieldIdentityClause) protected voidDB2Platform.printFieldTypeSize(Writer writer, FieldDefinition field, FieldTypeDefinition ftd) protected voidHANAPlatform.printFieldTypeSize(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType) voidInformixPlatform.printFieldTypeSize(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType, boolean shouldPrintFieldIdentityClause) Append the field type to a writer unless the field uses an Identity strategy to generate its value.protected voidMaxDBPlatform.printFieldTypeSize(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType) voidPervasivePlatform.printFieldTypeSize(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType, boolean shouldPrintFieldIdentityClause) Taken from org.eclipse.persistence\foundation\org.eclipse.persistence.core\src\org\eclipse\persistence\platform\database\AccessPlatform.javavoidPostgreSQLPlatform.printFieldTypeSize(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType, boolean shouldPrintFieldIdentityClause) voidHANAPlatform.writeAddColumnClause(Writer writer, AbstractSession session, TableDefinition table, FieldDefinition field) -
Uses of FieldDefinition in org.eclipse.persistence.sessions.factories
Methods in org.eclipse.persistence.sessions.factories with parameters of type FieldDefinitionModifier and TypeMethodDescriptionprotected voidTableCreatorClassGenerator.addFieldLines(FieldDefinition field, NonreflectiveMethodDefinition method) -
Uses of FieldDefinition in org.eclipse.persistence.tools.schemaframework
Fields in org.eclipse.persistence.tools.schemaframework with type parameters of type FieldDefinitionModifier and TypeFieldDescriptionprotected List<FieldDefinition> StoredProcedureDefinition.argumentsprotected Map<DatabaseField, FieldDefinition> DefaultTableGenerator.fieldMapUsed to track the field definition: keyed by the database field object, and valued by the field definition.protected List<FieldDefinition> TableDefinition.fieldsprotected List<FieldDefinition> TypeDefinition.fieldsprotected List<FieldDefinition> StoredProcedureDefinition.variablesMethods in org.eclipse.persistence.tools.schemaframework that return FieldDefinitionModifier and TypeMethodDescriptionPUBLIC: Return the field the corresponds to the name.protected FieldDefinitionDefaultTableGenerator.getFieldDefFromDBField(DatabaseField dbField) Build a field definition object from a database field.Methods in org.eclipse.persistence.tools.schemaframework that return types with arguments of type FieldDefinitionModifier and TypeMethodDescriptionStoredProcedureDefinition.getArguments()The arguments are the names of the parameters to the procedure.TableDefinition.getFields()PUBLIC:TypeDefinition.getFields()StoredProcedureDefinition.getVariables()The variables are the names of the declared variables used in the procedure.Methods in org.eclipse.persistence.tools.schemaframework with parameters of type FieldDefinitionModifier and TypeMethodDescriptionvoidStoredProcedureDefinition.addArgument(FieldDefinition argument) The arguments are the names of the parameters to the procedure.voidTableDefinition.addField(FieldDefinition field) PUBLIC: Add the field to the table.voidTypeDefinition.addField(FieldDefinition field) PUBLIC: Add the field to the type.voidTableDefinition.addFieldOnDatabase(AbstractSession session, FieldDefinition field) INTERNAL: Execute the SQL alter table to add the field to the table.voidStoredProcedureDefinition.addInOutputArgument(FieldDefinition argument) The output arguments are used to get values back from the proc, such as cursors.voidStoredProcedureDefinition.addOutputArgument(FieldDefinition argument) The output arguments are used to get values back from the proc, such as cursors.voidStoredProcedureDefinition.addVariable(FieldDefinition variable) The variables are the names of the declared variables used in the procedure.TableDefinition.buildAddFieldWriter(AbstractSession session, FieldDefinition field, Writer writer) INTERNAL: Return the alter table statement to add a field to the table.protected ForeignKeyConstraintTableDefinition.buildForeignKeyConstraint(FieldDefinition field, DatabasePlatform platform) Build a foreign key constraint using FieldDefinition.getForeignKeyFieldName().protected voidStoredProcedureDefinition.printArgument(FieldDefinition argument, Writer writer, AbstractSession session) Print the argument and its type.protected voidStoredProcedureDefinition.printInOutputArgument(FieldDefinition argument, Writer writer, AbstractSession session) Print the argument and its type.protected voidStoredProcedureDefinition.printOutputArgument(FieldDefinition argument, Writer writer, AbstractSession session) Print the argument and its type.Method parameters in org.eclipse.persistence.tools.schemaframework with type arguments of type FieldDefinitionModifier and TypeMethodDescriptionvoidStoredProcedureDefinition.setArguments(List<FieldDefinition> arguments) The arguments are the field defs of the parameters names and types to the procedure.voidTableDefinition.setFields(List<FieldDefinition> fields) PUBLIC:voidTypeDefinition.setFields(List<FieldDefinition> fields) voidStoredProcedureDefinition.setVariables(List<FieldDefinition> variables) The variables are the field defs of the declared variables used in the procedure.