Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.cfg.annotations
Class TableBinder

    java.lang.Object
      org.hibernate.cfg.annotations.TableBinder

    public class TableBinder

extends Object

Table related operations

Author:
  Emmanuel Bernard

Constructor Summary
`TableBinder()`

Method Summary
`static void` | `addIndexes(org.hibernate.mapping.Table hibTable, Index[] indexes, ExtendedMappings mappings)`
`org.hibernate.mapping.Table` | `bind()`
`static void` | `bindFk(org.hibernate.mapping.PersistentClass referencedEntity, org.hibernate.mapping.PersistentClass destinationEntity, Ejb3JoinColumn[] columns, org.hibernate.mapping.SimpleValue value, boolean unique, ExtendedMappings mappings)`
`static List<String[]>` | `buildUniqueConstraints(javax.persistence.UniqueConstraint[] constraintsArray)`
`static void` | `createUniqueConstraint(org.hibernate.mapping.Value value)`
`static org.hibernate.mapping.Table` | `fillTable(String schema, String catalog, String realTableName, String logicalName, boolean isAbstract, List uniqueConstraints, String constraints, org.hibernate.mapping.Table denormalizedSuperTable, ExtendedMappings mappings)`
`String` | `getName()`
`void` | `setAbstract(boolean anAbstract)`
`void` | `setCatalog(String catalog)`
`void` | `setConstraints(String constraints)`
`void` | `setDefaultName(String ownerEntity, String ownerEntityTable, String associatedEntity, String associatedEntityTable, String propertyName)`
`void` | `setDenormalizedSuperTable(org.hibernate.mapping.Table denormalizedSuperTable)`
`void` | `setMappings(ExtendedMappings mappings)`
`void` | `setName(String name)`
`void` | `setSchema(String schema)`
`void` | `setUniqueConstraints(javax.persistence.UniqueConstraint[] uniqueConstraints)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TableBinder

    public TableBinder()

Method Detail

### setSchema

    public void setSchema(String schema)

### setCatalog

    public void setCatalog(String catalog)

### getName

    public String getName()

### setName

    public void setName(String name)

### setAbstract

    public void setAbstract(boolean anAbstract)

### setUniqueConstraints

    public void setUniqueConstraints(javax.persistence.UniqueConstraint[] uniqueConstraints)

### setConstraints

    public void setConstraints(String constraints)

### setDenormalizedSuperTable

    public void setDenormalizedSuperTable(org.hibernate.mapping.Table denormalizedSuperTable)

### setMappings

    public void setMappings(ExtendedMappings mappings)

### bind

    public org.hibernate.mapping.Table bind()

### fillTable

    public static org.hibernate.mapping.Table fillTable(String schema,
                                                        String catalog,
                                                        String realTableName,
                                                        String logicalName,
                                                        boolean isAbstract,
                                                        List uniqueConstraints,
                                                        String constraints,
                                                        org.hibernate.mapping.Table denormalizedSuperTable,
                                                        ExtendedMappings mappings)

### bindFk

    public static void bindFk(org.hibernate.mapping.PersistentClass referencedEntity,
                              org.hibernate.mapping.PersistentClass destinationEntity,
                              Ejb3JoinColumn[] columns,
                              org.hibernate.mapping.SimpleValue value,
                              boolean unique,
                              ExtendedMappings mappings)

### createUniqueConstraint

    public static void createUniqueConstraint(org.hibernate.mapping.Value value)

### addIndexes

    public static void addIndexes(org.hibernate.mapping.Table hibTable,
                                  Index[] indexes,
                                  ExtendedMappings mappings)

### buildUniqueConstraints

    public static List<String[]> buildUniqueConstraints(javax.persistence.UniqueConstraint[] constraintsArray)

### setDefaultName

    public void setDefaultName(String ownerEntity,
                               String ownerEntityTable,
                               String associatedEntity,
                               String associatedEntityTable,
                               String propertyName)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD