Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.orm20 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
Table<T> |
Table.catalog(String catalog)
Sets the
catalog attribute |
Table<Entity<T>> |
Entity.getOrCreateTable()
If not already created, a new
table element with the given value will be created. |
Table<T> |
Table.name(String name)
Sets the
name attribute |
Table<T> |
Table.removeAllUniqueConstraint()
Removes all
unique-constraint elements |
Table<T> |
Table.removeCatalog()
Removes the
catalog attribute |
Table<T> |
Table.removeName()
Removes the
name attribute |
Table<T> |
Table.removeSchema()
Removes the
schema attribute |
Table<T> |
Table.schema(String schema)
Sets the
schema attribute |
Modifier and Type | Method and Description |
---|---|
UniqueConstraint<Table<T>> |
Table.createUniqueConstraint()
Creates a new
unique-constraint element |
List<UniqueConstraint<Table<T>>> |
Table.getAllUniqueConstraint()
Returns all
unique-constraint elements |
UniqueConstraint<Table<T>> |
Table.getOrCreateUniqueConstraint()
If not already created, a new
unique-constraint element will be created and returned. |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.