|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EdifNameSpace
A group of Nameable objects each with a unique String name. The group specifies a name space of unique names for EdifNameable objects. Each name in the space is unique and methods are provided for creating and checking for uniqueness. Each unique name is associated with a EdifNameable object.
| Method Summary | |
|---|---|
void |
add(Nameable e)
Adds a EdifNameable object to the Collection. |
java.lang.String |
addUniqueName(NamedPropertyObject e)
Adds a EdifNameable object to the Collection. |
boolean |
contains(Nameable e)
Indicates whether the given NamedPropertyObject is a member of the name space. |
Nameable |
get(java.lang.String name)
Returns the Nameable object associated with this name space that matches the given String name. |
java.util.Iterator |
iterator()
Returns an Iterator for all Nameable objects in the name space |
boolean |
nameClash(Nameable e)
Determines if the given named object will clash with the names in this given EdifNameSpace. |
boolean |
nameClash(java.lang.String e)
Indicates that there is a name clash within this Collection. |
void |
remove(Nameable e)
Remove the given Nameable object from the name space. |
int |
size()
Indicates the number of members of the name space |
| Methods inherited from interface byucc.edif.Trimable |
|---|
trimToSize |
| Method Detail |
|---|
boolean nameClash(Nameable e)
e - The EdifNameable object that is to be compared against
the name space
boolean nameClash(java.lang.String e)
e - The String object that is to be compared against
the collection. Note that this method will perform the
check using case insensitivity.
void add(Nameable e)
throws EdifNameConflictException
e - Add the named object to the name space. The name of
the object is associated with name of the NamedPropertyObject.
EdifNameConflictException - This exception is thrown when
a name conflict occurs during the add.java.lang.String addUniqueName(NamedPropertyObject e)
e - Add the named object to the name space. The name of
the object is associated with name of the NamedPropertyObject.
boolean contains(Nameable e)
e - The NamedPropertyObject to search for in the name
space.
int size()
Nameable get(java.lang.String name)
name -
java.util.Iterator iterator()
void remove(Nameable e)
e -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||