Class TypeDefinition

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class TypeDefinition
    extends DatabaseObjectDefinition

    Purpose: Allow for Oracle 8 object-relational user defined type to be created.

    See Also:
    Serialized Form
    • Field Detail

      • fields

        protected java.util.Vector fields
    • Constructor Detail

      • TypeDefinition

        public TypeDefinition()
    • Method Detail

      • addField

        public void addField​(java.lang.String fieldName,
                             java.lang.Class type)
        PUBLIC: Add the field to the type, default sizes are used.
        Parameters:
        type - is the Java class type coresponding to the database type.
      • addField

        public void addField​(java.lang.String fieldName,
                             java.lang.Class type,
                             int fieldSize)
        PUBLIC: Add the field to the type.
        Parameters:
        type - is the Java class type coresponding to the database type.
      • addField

        public void addField​(java.lang.String fieldName,
                             java.lang.Class type,
                             int fieldSize,
                             int fieldSubSize)
        PUBLIC: Add the field to the type.
        Parameters:
        type - is the Java class type coresponding to the database type.
      • addField

        public void addField​(java.lang.String fieldName,
                             java.lang.String typeName)
        PUBLIC: Add the field to the type to a nested type.
        Parameters:
        typeName - is the name of the nested type.
      • addField

        public void addField​(FieldDefinition field)
        PUBLIC: Add the field to the type.
      • getFields

        public java.util.Vector getFields()
      • setFields

        public void setFields​(java.util.Vector fields)