Constructor and Description |
---|
CompositeUnique(String name,
List<Attribute> attributes) |
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
getAttributes() |
String |
getName()
H2 does append _INDEX_2 to unique constraints names
|
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 String getName()
public List<Attribute> getAttributes()
getAttributes
in interface Unique
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.