Uses of Class
org.eclipse.persistence.tools.schemaframework.FieldDefinition
-
-
Uses of FieldDefinition in org.eclipse.persistence.internal.databaseaccess
Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type FieldDefinition Modifier and Type Method Description protected 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
Methods in org.eclipse.persistence.platform.database with parameters of type FieldDefinition Modifier and Type Method Description void
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
Methods in org.eclipse.persistence.sessions.factories with parameters of type FieldDefinition Modifier and Type Method Description protected void
TableCreatorClassGenerator. 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 FieldDefinition Modifier and Type Field Description 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
Methods in org.eclipse.persistence.tools.schemaframework that return FieldDefinition Modifier and Type Method Description FieldDefinition
TableDefinition. getField(String fieldName)
PUBLIC: Return the field the corresponds to the name.protected FieldDefinition
DefaultTableGenerator. 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 FieldDefinition Modifier and Type Method Description List<FieldDefinition>
TableDefinition. getFields()
PUBLIC:Methods in org.eclipse.persistence.tools.schemaframework with parameters of type FieldDefinition Modifier and Type Method Description void
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.Writer
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.Method parameters in org.eclipse.persistence.tools.schemaframework with type arguments of type FieldDefinition Modifier and Type Method Description void
TableDefinition. setFields(List<FieldDefinition> fields)
PUBLIC:
-