|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEDU.utwente.CoCompose.util.UniqueString
A string that is guaranteed unique or throws an exception.
Constructor Summary | |
UniqueString(UniqueRealm realm)
Constructs a UniqueString. |
|
UniqueString(UniqueRealm realm,
java.lang.String value)
Constructs a UniqueString. |
Method Summary | |
java.lang.String |
getValue()
Gets the string value. |
void |
setValue(java.lang.String value)
Sets the string value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UniqueString(UniqueRealm realm) throws CoComposeException
realm
- The realm in which the value has to be unique.
CoComposeException
- if the new UniqueString ("") is not unique.public UniqueString(UniqueRealm realm, java.lang.String value) throws CoComposeException
realm
- The realm in which the value has to be unique.value
- The value to set this string to.
CoComposeException
- if the new UniqueString is not unique.Method Detail |
public java.lang.String getValue()
public void setValue(java.lang.String value) throws CoComposeException
value
- The new string value.
CoComposeException
- if the new value is not unique.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |