|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEDU.utwente.CoCompose.util.DefaultUniqueRealm
Implements a UniqueRealm.
Constructor Summary | |
DefaultUniqueRealm()
Constructs a DefaultUniqueRealm. |
Method Summary | |
java.lang.String |
getName()
Gets the name of the model/unique realm. |
boolean |
isUnique(java.lang.String value)
Checks whether the given value is unique within the realm. |
void |
register(java.lang.String value)
Registers a new value in the realm. |
void |
setName(java.lang.String name)
Sets the name of the model/unique realm. |
void |
unRegister(java.lang.String value)
Unregisters a value from the realm. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultUniqueRealm()
Method Detail |
public boolean isUnique(java.lang.String value)
isUnique
in interface UniqueRealm
value
- The value to check.
public void register(java.lang.String value)
register
in interface UniqueRealm
value
- The value to register.public void unRegister(java.lang.String value)
unRegister
in interface UniqueRealm
value
- The value to unregister.public java.lang.String getName()
getName
in interface UniqueRealm
public void setName(java.lang.String name)
name
- The name of the model/unique realm.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |