|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.tools.schemaframework.DatabaseObjectDefinition oracle.toplink.tools.schemaframework.TypeDefinition
public class TypeDefinition
Purpose: Allow for Oracle 8 object-relational user defined type to be created.
Field Summary |
---|
Fields inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition |
---|
name, qualifier |
Constructor Summary | |
---|---|
TypeDefinition()
|
Method Summary | |
---|---|
void |
addField(FieldDefinition field)
Add the field to the type. |
void |
addField(java.lang.String fieldName,
java.lang.Class type)
Add the field to the type, default sizes are used. |
void |
addField(java.lang.String fieldName,
java.lang.Class type,
int fieldSize)
Add the field to the type. |
void |
addField(java.lang.String fieldName,
java.lang.Class type,
int fieldSize,
int fieldSubSize)
Add the field to the type. |
void |
addField(java.lang.String fieldName,
java.lang.String typeName)
Add the field to the type to a nested type. |
java.util.Vector |
getFields()
|
void |
setFields(java.util.Vector fields)
|
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 |
---|
public TypeDefinition()
Method Detail |
---|
public void addField(java.lang.String fieldName, java.lang.Class type)
type
- is the Java class type coresponding to the database type.public void addField(java.lang.String fieldName, java.lang.Class type, int fieldSize)
type
- is the Java class type coresponding to the database type.public void addField(java.lang.String fieldName, java.lang.Class type, int fieldSize, int fieldSubSize)
type
- is the Java class type coresponding to the database type.public void addField(java.lang.String fieldName, java.lang.String typeName)
typeName
- is the name of the nested type.public void addField(FieldDefinition field)
public java.util.Vector getFields()
public void setFields(java.util.Vector fields)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |