WebLogic Integration


com.bea.wlai.common
Class Namespace

java.lang.Object
  |
  +--com.bea.wlai.common.NamespaceObject
        |
        +--com.bea.wlai.common.Namespace

public class Namespace
extends NamespaceObject
implements INamespace

Author:
Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.
See Also:
Serialized Form

Constructor Summary
Namespace(INamespace parent, java.lang.String name, java.lang.String description)
           
Namespace(INamespace parent, java.lang.String name, java.lang.String description, boolean isRoot)
           
 
Method Summary
 boolean equals(java.lang.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.
 java.lang.String toString()
          Return a string representation of this namespace object that includes its name and any other relevant information.
 
Methods inherited from class com.bea.wlai.common.NamespaceObject
getDescription, getName, getParentNamespace, getQualifiedName, setDescription, setName, setParentNamespace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Namespace

public Namespace(INamespace parent,
                 java.lang.String name,
                 java.lang.String description)

Namespace

public Namespace(INamespace parent,
                 java.lang.String name,
                 java.lang.String description,
                 boolean isRoot)
Method Detail

isRoot

public boolean isRoot()
Indicates whether this namespace is the root namespace.
Specified by:
isRoot in interface INamespace

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

toString

public java.lang.String toString()
Return a string representation of this namespace object that includes its name and any other relevant information.
Specified by:
toString in interface INamespace

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

equals

public boolean equals(java.lang.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 INamespace

Returns:
True if the name and namespace of the obj param equal this QualifiedName's name and namespace.
Overrides:
equals in class NamespaceObject

WebLogic Integration

WebLogic Integration (WLI)