|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.wlai.common.QualifiedName
Represents a qualified name including a namespace and the object's name. For example, an object with name bar existing in a namespace with name foo would have a qualified name 'foo.bar'. This class is Serializable.
Constructor Summary | |
QualifiedName(INamespace namespace,
String name)
Construct a new QualifiedName with the given namespace and object name. |
Method Summary | |
boolean |
equals(Object obj)
Compare this object to the given object and determine if they are equal. |
Iterator |
getComponents()
Get an Iterator over the components of this qualified name. |
String |
getName()
Return the object name portion of this QualifiedName. |
INamespace |
getNamespace()
Return the namespace portion of this QualifiedName. |
int |
hashCode()
Return a hash used to store QualifiedNames into hash tables, and retrieve them. |
void |
setName(String name)
Set the name portion of this QualifiedName. |
void |
setNamespace(INamespace namespace)
Set the namespace portion of this QualifiedName. |
String |
toString()
Return a string representation of this QualifiedName. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public QualifiedName(INamespace namespace, String name) throws IllegalArgumentException
namespace
- The namespace portion of this QualifiedName, or null if
there is to be no namespace.name
- The object name portion of this QualifiedName. Null is not
allowed.
IllegalArgumentException
- If the name parameter is null.Method Detail |
public INamespace getNamespace()
public void setNamespace(INamespace namespace)
namespace
- The new namespace, or null if there is to be no
namespace.public String getName()
public void setName(String name) throws IllegalArgumentException
name
- The new object name. Null is not allowed.
IllegalArgumentException
- If the new name is null.public Iterator getComponents()
public String toString()
public boolean equals(Object obj)
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |