Package org.apache.torque.templates.model

# Class Unique

java.lang.Object
org.apache.torque.templates.model.Unique

public class Unique extends Object
The model of the unique tag in a Torque schema file.

Version:
  $Id: $

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `String`
  `name`
  The name of the constraint.
  `List<Option>`
  `optionList`
  The options for this unique constraint.
  `Table`
  `parent`
  The table where this unique constraint belongs to.
  `List<UniqueColumn>`
  `uniqueColumnList`
  The columns in this unique constraint.
  `String`
  `uniqueColumnNames`
  Contains all unique column names in a comma-separated String with optional character size of each column.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Unique()`

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### parent

    public Table parent
    The table where this unique constraint belongs to.

  - ### optionList

    public List<Option> optionList
    The options for this unique constraint.

  - ### uniqueColumnList

    public List<UniqueColumn> uniqueColumnList
    The columns in this unique constraint.

  - ### name

    public String name
    The name of the constraint.

  - ### uniqueColumnNames

    public String uniqueColumnNames
    Contains all unique column names in a comma-separated String with optional character size of each column.

- ## Constructor Details

  - ### Unique

    public Unique()