com.bea.wlai.common
Interface INamespace

All Superinterfaces:
INamespaceObject, Serializable

public interface INamespace
extends INamespaceObject

Represents a WLAI namespace. This class contains any number of objects (e.g. ApplicationViewDescriptors) and other namespaces. A namespace must always be created within another namespace, eventually leading back to the root namespace (a singleton in any WLAI server). Because this interface extends INamespaceObject, all implementations of this interface must be Serializable.


Method Summary
 boolean equals(Object obj)
          Compare this object to the given object and determine if they are equal.
 boolean isRoot()
          Indicates whether this namespace is the root namespace.
 String toString()
          Return a string representation of this namespace object that includes its name and any other relevant information.
 
Methods inherited from interface com.bea.wlai.common.INamespaceObject
getDescription, getLastUpdateTime, getName, getParentNamespace, getQualifiedName, setDescription, setName, setParentNamespace, syncLastUpdateTime, touch
 

Method Detail

isRoot

boolean isRoot()
Indicates whether this namespace is the root namespace.

Returns:
True if this namespace is the root namespace, false otherwise.

toString

String toString()
Return a string representation of this namespace object that includes its name and any other relevant information.

Overrides:
toString in class Object
Returns:
A string representing this namespace object.

equals

boolean equals(Object obj)
Compare this object to the given object and determine if they are equal. For INamespaces, this means that both objects match in name, and parent namespace. be equal.

Specified by:
equals in interface INamespaceObject
Overrides:
equals in class Object
Returns:
True if the name and namespace of the obj param equal this INamespace's name and namespace.