Uses of Class
org.eclipse.persistence.tools.schemaframework.FieldDefinition
Package
Description
-
Uses of FieldDefinition in org.eclipse.persistence.internal.databaseaccess
Modifier and TypeMethodDescriptionprotected void
DatabasePlatform.printFieldTypeSize
(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType) void
DatabasePlatform.printFieldTypeSize
(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType, boolean shouldPrintFieldIdentityClause) void
DatabasePlatform.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
Modifier and TypeMethodDescriptionvoid
AccessPlatform.printFieldTypeSize
(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType, boolean shouldPrintFieldIdentityClause) protected void
DB2Platform.printFieldTypeSize
(Writer writer, FieldDefinition field, FieldTypeDefinition ftd) protected void
HANAPlatform.printFieldTypeSize
(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType) void
InformixPlatform.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 void
MaxDBPlatform.printFieldTypeSize
(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType) void
PervasivePlatform.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.javavoid
PostgreSQLPlatform.printFieldTypeSize
(Writer writer, FieldDefinition field, FieldTypeDefinition fieldType, boolean shouldPrintFieldIdentityClause) void
HANAPlatform.writeAddColumnClause
(Writer writer, AbstractSession session, TableDefinition table, FieldDefinition field) -
Uses of FieldDefinition in org.eclipse.persistence.sessions.factories
Modifier and TypeMethodDescriptionprotected void
TableCreatorClassGenerator.addFieldLines
(FieldDefinition field, NonreflectiveMethodDefinition method) -
Uses of FieldDefinition in org.eclipse.persistence.tools.schemaframework
Modifier and TypeFieldDescriptionprotected List
<FieldDefinition> StoredProcedureDefinition.arguments
protected Map
<DatabaseField, FieldDefinition> DefaultTableGenerator.fieldMap
Used to track the field definition: keyed by the database field object, and valued by the field definition.protected List
<FieldDefinition> TableDefinition.fields
protected List
<FieldDefinition> TypeDefinition.fields
protected List
<FieldDefinition> StoredProcedureDefinition.variables
Modifier and TypeMethodDescriptionPUBLIC: Return the field the corresponds to the name.protected FieldDefinition
DefaultTableGenerator.getFieldDefFromDBField
(DatabaseField dbField) Build a field definition object from a database field.Modifier 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.Modifier and TypeMethodDescriptionvoid
StoredProcedureDefinition.addArgument
(FieldDefinition argument) The arguments are the names of the parameters to the procedure.void
TableDefinition.addField
(FieldDefinition field) PUBLIC: Add the field to the table.void
TypeDefinition.addField
(FieldDefinition field) PUBLIC: Add the field to the type.void
TableDefinition.addFieldOnDatabase
(AbstractSession session, FieldDefinition field) INTERNAL: Execute the SQL alter table to add the field to the table.void
StoredProcedureDefinition.addInOutputArgument
(FieldDefinition argument) The output arguments are used to get values back from the proc, such as cursors.void
StoredProcedureDefinition.addOutputArgument
(FieldDefinition argument) The output arguments are used to get values back from the proc, such as cursors.void
StoredProcedureDefinition.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 ForeignKeyConstraint
TableDefinition.buildForeignKeyConstraint
(FieldDefinition field, DatabasePlatform platform) Build a foreign key constraint using FieldDefinition.getForeignKeyFieldName().protected void
StoredProcedureDefinition.printArgument
(FieldDefinition argument, Writer writer, AbstractSession session) Print the argument and its type.protected void
StoredProcedureDefinition.printInOutputArgument
(FieldDefinition argument, Writer writer, AbstractSession session) Print the argument and its type.protected void
StoredProcedureDefinition.printOutputArgument
(FieldDefinition argument, Writer writer, AbstractSession session) Print the argument and its type.Modifier and TypeMethodDescriptionvoid
StoredProcedureDefinition.setArguments
(List<FieldDefinition> arguments) The arguments are the field defs of the parameters names and types to the procedure.void
TableDefinition.setFields
(List<FieldDefinition> fields) PUBLIC:void
TypeDefinition.setFields
(List<FieldDefinition> fields) void
StoredProcedureDefinition.setVariables
(List<FieldDefinition> variables) The variables are the field defs of the declared variables used in the procedure.