public class NestedTableDefinition extends DatabaseObjectDefinition
Purpose: Allow for creation of nested table types.
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class |
type |
protected java.lang.String |
typeName |
protected int |
typeSize |
name, qualifier
Constructor and Description |
---|
NestedTableDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
appendTypeString(java.io.Writer writer,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
Append the type to the statement
|
java.io.Writer |
buildCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session,
java.io.Writer writer)
INTERNAL:
Return the DDL to create the varray.
|
java.io.Writer |
buildDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session,
java.io.Writer writer)
INTERNAL:
Return the DDL to drop the varray.
|
java.lang.Class |
getType()
PUBLIC:
Return the type of the field.
|
java.lang.String |
getTypeName()
PUBLIC:
Return the type of the field.
|
int |
getTypeSize()
PUBLIC:
Return the size of the element field, this is only required for some field types.
|
void |
setType(java.lang.Class type)
PUBLIC:
Set the type of the field.
|
void |
setTypeName(java.lang.String typeName)
PUBLIC:
Set the type of the field.
|
void |
setTypeSize(int typeSize)
PUBLIC:
Set the size of the element field, this is only required for some field types.
|
buildVPDCreationFunctionWriter, buildVPDCreationPolicyWriter, buildVPDDeletionWriter, clone, createDatabaseSchema, createDatabaseSchemaOnDatabase, createObject, createOnDatabase, dropDatabaseSchema, dropDatabaseSchemaOnDatabase, dropFromDatabase, dropObject, getDatabaseSchema, getFieldTypeDefinition, getFieldTypeDefinition, getFullName, getName, getQualifier, hasDatabaseSchema, postCreateObject, preDropObject, setName, setQualifier, shouldCreateDatabaseSchema, shouldCreateVPDCalls, toString
protected int typeSize
protected java.lang.Class type
protected java.lang.String typeName
public void appendTypeString(java.io.Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session) throws ValidationException
writer
- Target writer where to write type string.session
- Current session context.ValidationException
- When invalid or inconsistent data were found.public java.io.Writer buildCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, java.io.Writer writer) throws ValidationException
buildCreationWriter
in class DatabaseObjectDefinition
ValidationException
public java.io.Writer buildDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, java.io.Writer writer) throws ValidationException
buildDeletionWriter
in class DatabaseObjectDefinition
ValidationException
public java.lang.Class getType()
public java.lang.String getTypeName()
public int getTypeSize()
public void setType(java.lang.Class type)
public void setTypeName(java.lang.String typeName)
public void setTypeSize(int typeSize)