Module eclipselink
Class NestedTableDefinition
java.lang.Object
org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition
org.eclipse.persistence.tools.schemaframework.NestedTableDefinition
- All Implemented Interfaces:
Serializable,Cloneable
Purpose: Allow for creation of nested table types.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTypeString(Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session) Deprecated, for removal: This API element is subject to removal in a future version.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.Class<?> getType()Return the type of the field.Return the type of the field.intReturn the size of the element field, this is only required for some field types.voidSet the type of the field.voidsetTypeName(String typeName) Set the type of the field.voidsetTypeSize(int typeSize) Set the size of the element field, this is only required for some field types.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
-
typeSize
protected int typeSize -
type
-
typeName
-
-
Constructor Details
-
NestedTableDefinition
public NestedTableDefinition()
-
-
Method Details
-
appendTypeString
@Deprecated(forRemoval=true, since="4.0.9") public void appendTypeString(Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session) throws ValidationException Deprecated, for removal: This API element is subject to removal in a future version.INTERNAL: Append the type to the statement- Parameters:
writer- Target writer where to write type string.session- Current session context.- Throws:
ValidationException- When invalid or inconsistent data were found.
-
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 DDL to create the varray.- 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 DDL to drop the varray.- Specified by:
buildDeletionWriterin classDatabaseObjectDefinition- Throws:
ValidationException
-
getType
Return the type of the field. This should be set to a java class, such as String.class, Integer.class or Date.class. -
getTypeName
Return the type of the field. This is the exact DB type name, which can be used instead of the Java class. -
getTypeSize
public int getTypeSize()Return the size of the element field, this is only required for some field types. -
setType
Set the type of the field. This should be set to a java class, such as String.class, Integer.class or Date.class. -
setTypeName
Set the type of the field. This is the exact DB type name, which can be used instead of the Java class. -
setTypeSize
public void setTypeSize(int typeSize) Set the size of the element field, this is only required for some field types.
-