|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Table<T>
This interface defines the contract for the table
xsd type
Method Summary | |
---|---|
Table<T> |
catalog(String catalog)
Sets the catalog attribute |
UniqueConstraint<Table<T>> |
createUniqueConstraint()
Creates a new unique-constraint element |
List<UniqueConstraint<Table<T>>> |
getAllUniqueConstraint()
Returns all unique-constraint elements |
String |
getCatalog()
Returns the catalog attribute |
String |
getName()
Returns the name attribute |
UniqueConstraint<Table<T>> |
getOrCreateUniqueConstraint()
If not already created, a new unique-constraint element will be created and returned. |
String |
getSchema()
Returns the schema attribute |
Table<T> |
name(String name)
Sets the name attribute |
Table<T> |
removeAllUniqueConstraint()
Removes all unique-constraint elements |
Table<T> |
removeCatalog()
Removes the catalog attribute |
Table<T> |
removeName()
Removes the name attribute |
Table<T> |
removeSchema()
Removes the schema attribute |
Table<T> |
schema(String schema)
Sets the schema attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
UniqueConstraint<Table<T>> getOrCreateUniqueConstraint()
unique-constraint
element will be created and returned.
Otherwise, the first existing unique-constraint
element will be returned.
unique-constraint
UniqueConstraint<Table<T>> createUniqueConstraint()
unique-constraint
element
UniqueConstraint>
getAllUniqueConstraint
List<UniqueConstraint<Table<T>>> getAllUniqueConstraint()
- Returns all
unique-constraint
elements
- Returns:
- list of
unique-constraint
removeAllUniqueConstraint
Table<T> removeAllUniqueConstraint()
- Removes all
unique-constraint
elements
- Returns:
- the current instance of
UniqueConstraint>
name
Table<T> name(String name)
- Sets the
name
attribute
- Parameters:
name
- the value for the attribute name
- Returns:
- the current instance of
Table
getName
String getName()
- Returns the
name
attribute
- Returns:
- the value defined for the attribute
name
removeName
Table<T> removeName()
- Removes the
name
attribute
- Returns:
- the current instance of
Table
catalog
Table<T> catalog(String catalog)
- Sets the
catalog
attribute
- Parameters:
catalog
- the value for the attribute catalog
- Returns:
- the current instance of
Table
getCatalog
String getCatalog()
- Returns the
catalog
attribute
- Returns:
- the value defined for the attribute
catalog
removeCatalog
Table<T> removeCatalog()
- Removes the
catalog
attribute
- Returns:
- the current instance of
Table
schema
Table<T> schema(String schema)
- Sets the
schema
attribute
- Parameters:
schema
- the value for the attribute schema
- Returns:
- the current instance of
Table
getSchema
String getSchema()
- Returns the
schema
attribute
- Returns:
- the value defined for the attribute
schema
removeSchema
Table<T> removeSchema()
- Removes the
schema
attribute
- Returns:
- the current instance of
Table
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.