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()
-
-
-
Field Detail
-
parent
public Table parent
The table where this unique constraint belongs to.
-
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.
-
-