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

All Superinterfaces:
Child<T>

public interface UniqueConstraint<T>
extends Child<T>

This interface defines the contract for the unique-constraint xsd type

Since:
Generation date :2013-01-26T19:26:58.657+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 UniqueConstraint<T> columnName(String... values)
          Creates for all String objects representing column-name elements, a new column-name element
 List<String> getAllColumnName()
          Returns all column-name elements
 UniqueConstraint<T> removeAllColumnName()
          Removes the column-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

columnName

UniqueConstraint<T> columnName(String... values)
Creates for all String objects representing column-name elements, a new column-name element

Parameters:
values - list of column-name objects
Returns:
the current instance of UniqueConstraint

getAllColumnName

List<String> getAllColumnName()
Returns all column-name elements

Returns:
list of column-name

removeAllColumnName

UniqueConstraint<T> removeAllColumnName()
Removes the column-name element

Returns:
the current instance of UniqueConstraint


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.