Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.tools.schemaframework
Class VarrayDefinition

java.lang.Object
  extended by oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
      extended by oracle.toplink.tools.schemaframework.VarrayDefinition
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ObjectVarrayDefinition

public class VarrayDefinition
extends DatabaseObjectDefinition

Purpose: Allow for creation of varray type.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
name, qualifier
 
Constructor Summary
VarrayDefinition()
           
 
Method Summary
 int getSize()
          Return the maximum size of the array.
 java.lang.Class getType()
          Return the type of the field.
 java.lang.String getTypeName()
          Return the type of the field.
 int getTypeSize()
          Return the size of the element field, this is only required for some field types.
 void setSize(int size)
          Set the maximum size of the array.
 void setType(java.lang.Class type)
          Set the type of the field.
 void setTypeName(java.lang.String typeName)
          Set the type of the field.
 void setTypeSize(int typeSize)
          Set the size of the element field, this is only required for some field types.
 
Methods inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
clone, getName, getQualifier, setName, setQualifier, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VarrayDefinition

public VarrayDefinition()
Method Detail

getSize

public int getSize()
Return the maximum size of the array.


getType

public java.lang.Class 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

public java.lang.String 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.


setSize

public void setSize(int size)
Set the maximum size of the array.


setType

public void setType(java.lang.Class type)
Set the type of the field. This should be set to a java class, such as String.class, Integer.class or Date.class.


setTypeName

public void setTypeName(java.lang.String typeName)
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.


Copyright © 1998, 2010, Oracle. All Rights Reserved.