|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition org.eclipse.persistence.tools.schemaframework.VarrayDefinition
public class VarrayDefinition
Purpose: Allow for creation of varray type.
Field Summary | |
---|---|
protected int |
size
|
protected java.lang.Class |
type
|
protected java.lang.String |
typeName
|
protected int |
typeSize
|
Fields inherited from class org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition |
---|
name, qualifier |
Constructor Summary | |
---|---|
VarrayDefinition()
|
Method Summary | |
---|---|
void |
appendTypeString(java.io.Writer writer,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Append the type. |
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. |
int |
getSize()
PUBLIC: Return the maximum size of the array. |
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 |
setSize(int size)
PUBLIC: Set the maximum size of the array. |
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. |
Methods inherited from class org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition |
---|
clone, createObject, createOnDatabase, dropFromDatabase, dropObject, getFullName, getName, getQualifier, postCreateObject, preDropObject, setName, setQualifier, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int typeSize
protected int size
protected java.lang.Class type
protected java.lang.String typeName
Constructor Detail |
---|
public VarrayDefinition()
Method Detail |
---|
public void appendTypeString(java.io.Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session) throws ValidationException
ValidationException
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 int getSize()
public java.lang.Class getType()
public java.lang.String getTypeName()
public int getTypeSize()
public void setSize(int size)
public void setType(java.lang.Class type)
public void setTypeName(java.lang.String typeName)
public void setTypeSize(int typeSize)
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |