Purpose: Allow for creation of varray type.
| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected Class | |
| protected String | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendTypeString(final Writer
Target writer where to write type string. writer, final AbstractSession Current session context. session)INTERNAL: Append the type. |
| public Writer | Returns: Target writer withCREATE TYPE ... AS VARRAY (...) OF ...
already written to it.Current session context. session, final Writer Target writer. writer)Implements abstract org. VARRAY.
|
| public Writer | buildDeletionWriter(AbstractSession session, Writer writer)
Implements abstract org. |
| public int | |
| public Class | |
| public String | |
| public int | getTypeSize()
PUBLIC: Return the size of the element field, this is only required for some field types. |
| public void | |
| public void | |
| public void | |
| public void | setTypeSize(int typeSize)
PUBLIC: Set the size of the element field, this is only required for some field types. |
| size | back to summary |
|---|---|
| protected int size | |
| type | back to summary |
|---|---|
| protected Class<?> type | |
| typeName | back to summary |
|---|---|
| protected String typeName | |
| typeSize | back to summary |
|---|---|
| protected int typeSize | |
| VarrayDefinition | back to summary |
|---|---|
| public VarrayDefinition() | |
| appendTypeString | back to summary |
|---|---|
| public void appendTypeString(final Writer writer, final AbstractSession session) throws ValidationException INTERNAL: Append the type.
| |
| buildCreationWriter | back to summary |
|---|---|
| public Writer buildCreationWriter(final AbstractSession session, final Writer writer) throws ValidationException Implements abstract org. INTERNAL:
Return the DDL to create the
| |
| buildDeletionWriter | back to summary |
|---|---|
| public Writer buildDeletionWriter(AbstractSession session, Writer writer) throws ValidationException Implements abstract org. INTERNAL: Return the DDL to drop the varray.
| |
| getSize | back to summary |
|---|---|
| public int getSize() PUBLIC: Return the maximum size of the array. | |
| getType | back to summary |
|---|---|
| public Class PUBLIC: Return the type of the field. This should be set to a java class, such as String.class, Integer.class or Date.class. | |
| getTypeName | back to summary |
|---|---|
| public String getTypeName() PUBLIC: Return the type of the field. This is the exact DB type name, which can be used instead of the Java class. | |
| getTypeSize | back to summary |
|---|---|
| public int getTypeSize() PUBLIC: Return the size of the element field, this is only required for some field types. | |
| setSize | back to summary |
|---|---|
| public void setSize(int size) PUBLIC: Set the maximum size of the array. | |
| setType | back to summary |
|---|---|
| public void setType(Class<?> type) PUBLIC: Set the type of the field. This should be set to a java class, such as String.class, Integer.class or Date.class. | |
| setTypeName | back to summary |
|---|---|
| public void setTypeName(String typeName) PUBLIC: Set the type of the field. This is the exact DB type name, which can be used instead of the Java class. | |
| setTypeSize | back to summary |
|---|---|
| public void setTypeSize(int typeSize) PUBLIC: Set the size of the element field, this is only required for some field types. | |