ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.orm10
Interface Table<T>

All Superinterfaces:
Child<T>

public interface Table<T>
extends Child<T>

This interface defines the contract for the table xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

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

getOrCreateUniqueConstraint

UniqueConstraint<Table<T>> getOrCreateUniqueConstraint()
If not already created, a new unique-constraint element will be created and returned. Otherwise, the first existing unique-constraint element will be returned.

Returns:
the instance defined for the element unique-constraint

createUniqueConstraint

UniqueConstraint<Table<T>> createUniqueConstraint()
Creates a new unique-constraint element

Returns:
the new created instance of 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

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.