Class UserDefinedObjectType

java.lang.Object
org.hibernate.mapping.AbstractUserDefinedType
org.hibernate.mapping.UserDefinedObjectType
All Implemented Interfaces:
Serializable, ContributableDatabaseObject, Exportable, Contributable, UserDefinedType

@Incubating public class UserDefinedObjectType extends AbstractUserDefinedType
A mapping model object representing a relational database UDT.
See Also:
  • Constructor Details

    • UserDefinedObjectType

      public UserDefinedObjectType(String contributor, Namespace namespace, Identifier physicalTypeName)
  • Method Details

    • getColumn

      public Column getColumn(Column column)
      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

      public Column getColumn(Identifier name)
    • getColumn

      public Column getColumn(int n)
    • addColumn

      public void addColumn(Column column)
    • getColumnSpan

      public int getColumnSpan()
    • getColumns

      public Collection<Column> getColumns()
    • containsColumn

      public boolean containsColumn(Column column)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • reorderColumns

      @Internal public void reorderColumns(List<Column> columns)
    • getOrderMapping

      @Internal public int[] getOrderMapping()