jet.server.api.db
Interface Unique

All Superinterfaces:
DBObject

public interface Unique
extends DBObject

A Unique ia an unique constraint on a table


Method Summary
 void append(Field field)
           
 Fields fields()
           
 Field fields(int index)
           
 Field fields(java.lang.String fieldName)
           
 Table getParentTable()
          Retrieves the parent table of this unique.
 void remove(Field field)
           
 
Methods inherited from interface jet.server.api.db.DBObject
getName, getProperties, getProperty, getProperty, getUCName, setProperty
 

Method Detail

getParentTable

Table getParentTable()
Retrieves the parent table of this unique.

Returns:
the table instance.

fields

Fields fields()

fields

Field fields(int index)

fields

Field fields(java.lang.String fieldName)

append

void append(Field field)

remove

void remove(Field field)