java.lang.Object
org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition
org.eclipse.persistence.tools.schemaframework.TypeDefinition
- All Implemented Interfaces:
Serializable,Cloneable
Purpose: Allow for Oracle 8 object-relational user defined type to be created.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the field to the type, default sizes are used.voidAdd the field to the type.voidAdd the field to the type.voidAdd the field to the type to a nested type.voidaddField(FieldDefinition field) Add the field to the type.buildCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, Writer writer) Deprecated, for removal: This API element is subject to removal in a future version.buildDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, Writer writer) Deprecated, for removal: This API element is subject to removal in a future version.voidsetFields(List<FieldDefinition> fields) Methods inherited from class org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition
buildVPDCreationFunctionWriter, buildVPDCreationPolicyWriter, buildVPDDeletionWriter, clone, createDatabaseSchema, createDatabaseSchemaOnDatabase, createObject, createOnDatabase, dropDatabaseSchema, dropDatabaseSchemaOnDatabase, dropFromDatabase, dropObject, getDatabaseSchema, getFullName, getName, getQualifier, hasDatabaseSchema, postCreateObject, preDropObject, setName, setQualifier, shouldCreateDatabaseSchema, shouldCreateVPDCalls, toString
-
Field Details
-
fields
-
-
Constructor Details
-
TypeDefinition
public TypeDefinition()
-
-
Method Details
-
addField
Add the field to the type, default sizes are used.- Parameters:
type- is the Java class type corresponding to the database type.
-
addField
Add the field to the type.- Parameters:
type- is the Java class type corresponding to the database type.
-
addField
Add the field to the type.- Parameters:
type- is the Java class type corresponding to the database type.
-
addField
Add the field to the type to a nested type.- Parameters:
typeName- is the name of the nested type.
-
addField
Add the field to the type. -
buildCreationWriter
@Deprecated(forRemoval=true, since="4.0.9") public Writer buildCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, Writer writer) throws ValidationException Deprecated, for removal: This API element is subject to removal in a future version.INTERNAL: Return the create type statement.- Specified by:
buildCreationWriterin classDatabaseObjectDefinition- Throws:
ValidationException
-
buildDeletionWriter
@Deprecated(forRemoval=true, since="4.0.9") public Writer buildDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, Writer writer) throws ValidationException Deprecated, for removal: This API element is subject to removal in a future version.INTERNAL: Return the drop type statement.- Specified by:
buildDeletionWriterin classDatabaseObjectDefinition- Throws:
ValidationException
-
getFields
-
setFields
-