Package org.hibernate.mapping
Class UserDefinedObjectType
java.lang.Object
org.hibernate.mapping.AbstractUserDefinedType
org.hibernate.mapping.UserDefinedObjectType
- All Implemented Interfaces:
Serializable,ContributableDatabaseObject,Exportable,Contributable,UserDefinedType
A mapping model object representing a relational databaseUDT.
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionUserDefinedObjectType(String contributor,Namespace namespace,Identifier physicalTypeName) Method Summary
Modifier and TypeMethodDescriptionvoidbooleancontainsColumn(Column column) getColumn(int n) getColumn(Identifier name) Return the column which is identified by column provided as argument.intint[]voidreorderColumns(List<Column> columns) voidsetComment(String comment) Methods inherited from class org.hibernate.mapping.AbstractUserDefinedType
equals,equals,getCatalog,getContributor,getExportIdentifier,getName,getNameIdentifier,getQualifiedName,getQualifiedTableName,getQuotedCatalog,getQuotedCatalog,getQuotedName,getQuotedName,getQuotedSchema,getQuotedSchema,getSchema,hashCode,isCatalogQuoted,isQuoted,isSchemaQuoted,setCatalog,setName,setQuoted,setSchema,toString
Constructor Details
UserDefinedObjectType
Method Details
getColumn
Return the column which is identified by column provided as argument.- Parameters:
column- column with at least a name.- Returns:
- the underlying column or null if not inside this table. Note: the instance *can* be different than the input parameter, but the name will be the same.
getColumn
getColumn
addColumn
getColumnSpan
public int getColumnSpan()getColumns
containsColumn
getComment
setComment
reorderColumns
getOrderMapping