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()
Unique
isPotentialKey
in interface Unique
public boolean isGoodBusinessKeyCandidate()
isGoodBusinessKeyCandidate
in interface Unique
public Attribute getAttribute()
public List<Attribute> getAttributes()
getAttributes
in interface Unique
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.