View Javadoc

    1   /*
    2    * joey-gen and its relative products are published under the terms
    3    * of the Apache Software License.
    4    *
    5    * Created on 2004/08/15 15:36:11
    6    */
    7   package org.asyrinx.joey.gen.model.rdb;
    8
    9   /***
    10   * @author akima
    11   */
    12  public class Unique extends Index {
    13
    14      /***
    15       *
    16       */
    17      public Unique() {
    18          super();
    19          this.setUnique(true);
    20      }
    21
    22      /***
    23       * @param parent
    24       * @param name
    25       */
    26      public Unique(Table parent, String name) {
    27          super(parent, name);
    28          this.setUnique(true);
    29      }
    30
    31  }