|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserDefinedType
Provides User Defined Type (UDT) specific metadata. Retrieves a description of the user-defined types (UDTs) defined in a particular schema. Schema-specific UDTs may have type JAVA_OBJECT, STRUCT, or DISTINCT.
Method Summary | |
---|---|
void |
addAttribute(Attribute attribute)
adds Attribute |
void |
deleteAttribute(Attribute attribute)
deletes Attribute |
Attribute |
findAttributeByName(String attributeName)
Returns UDT attribute for specified attribute name or null |
Set<Attribute> |
getAttributes()
Gets a set of UDT attributes |
SqlType |
getBaseType()
Gets SQL base type from java.sql.Types. |
String |
getClassName()
Returns JAVA class name for UDT |
SqlType |
getSqlType()
Gets SQL type from java.sql.Types. |
UserDefinedType |
getSuperType()
Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database. |
void |
setBaseType(SqlType baseType)
Sets SQL base type from java.sql.Types. |
void |
setClassName(String className)
Sets JAVA class name for UDT |
void |
setSqlType(SqlType sqlType)
Sets SQL type from java.sql.Types. |
void |
setSuperType(UserDefinedType superType)
Sets a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database. |
Methods inherited from interface org.jboss.dna.common.jdbc.model.api.SchemaObject |
---|
getCatalog, getSchema, setCatalog, setSchema |
Methods inherited from interface org.jboss.dna.common.jdbc.model.api.DatabaseNamedObject |
---|
addExtraProperty, deleteExtraProperty, getExtraProperties, getExtraProperty, getName, getRemarks, setName, setRemarks |
Method Detail |
---|
String getClassName()
void setClassName(String className)
className
- JAVA class name for UDTSqlType getSqlType()
void setSqlType(SqlType sqlType)
sqlType
- the SQL type from java.sql.Types. One of JAVA_OBJECT, STRUCT, or DISTINCTSqlType getBaseType()
void setBaseType(SqlType baseType)
baseType
- the SQL base type from java.sql.Types.Set<Attribute> getAttributes()
void addAttribute(Attribute attribute)
attribute
- the Attributevoid deleteAttribute(Attribute attribute)
attribute
- the AttributeAttribute findAttributeByName(String attributeName)
attributeName
- the name of attribute
UserDefinedType getSuperType()
void setSuperType(UserDefinedType superType)
superType
- the super type for this UDT if any
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |