|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.schema.model.constraint.property.Unique
public class Unique
Specifies that a property should be unique.
Constructor Summary | |
---|---|
Unique()
Creates a default unique object that is disabled. |
|
Unique(String identifier)
Creates a unique flag with the given identifier. |
Method Summary | |
---|---|
String |
getIdentifier()
Returns the unique identifer. |
boolean |
isEnabled()
Returns whether the unique constraint is enabled, the identifier is not null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Unique()
public Unique(String identifier)
identifier
- the unique identifier. Unique constraints with the same
identifier share a unique context. null
means not
unique at all.Method Detail |
---|
public boolean isEnabled()
public String getIdentifier()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |