EDU.utwente.CoCompose.util
Interface UniqueRealm

All Known Implementing Classes:
Composite, DefaultUniqueRealm, Model

public interface UniqueRealm

Represents a unique identifier realm.

Version:
0.0.10, 13 March 2002
Author:
Dennis Wagelaar

Method Summary
 java.lang.String getName()
          Gets the name of the 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 unRegister(java.lang.String value)
          Unregisters a value from the realm.
 

Method Detail

isUnique

public boolean isUnique(java.lang.String value)
Checks whether the given value is unique within the realm.

Parameters:
value - The value to check.
Returns:
True if and only if the value is unique within the realm.

register

public void register(java.lang.String value)
Registers a new value in the realm.

Parameters:
value - The value to register.

unRegister

public void unRegister(java.lang.String value)
Unregisters a value from the realm.

Parameters:
value - The value to unregister.

getName

public java.lang.String getName()
Gets the name of the unique realm.

Returns:
The name of the unique realm.