| Constructor and Description |
|---|
SimpleUnique(String name,
Attribute attribute) |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
getAttribute() |
List<Attribute> |
getAttributes() |
String |
getName() |
boolean |
isGoodBusinessKeyCandidate() |
boolean |
isPotentialKey()
Returns true if this unique constraint can be used as a primary key, that is if all its attributes are NOT nullable.
|
public boolean isPotentialKey()
UniqueisPotentialKey in interface Uniquepublic boolean isGoodBusinessKeyCandidate()
isGoodBusinessKeyCandidate in interface Uniquepublic Attribute getAttribute()
public List<Attribute> getAttributes()
getAttributes in interface UniqueCopyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.