public Builder add ( Attribute attribute ) { if ( relation != attribute . getRelation ( ) ) throw new IllegalArgumentException ( "Unique Key requires the same table in all attributes: " + relation + " " + attribute ) ; builder . add ( attribute ) ; return this ; }
adds an attribute to the UNIQUE constraint