org.nodal.util
Interface Name

All Superinterfaces:
java.lang.Comparable

public interface Name
extends java.lang.Comparable

A unique object Name. This is an immutable string type, with the associated String accessible via the string() method. Created on Jul 24, 2003

Author:
leei

Method Summary
 boolean isGlobal()
          Is this a Name in the global Namespace?
 Namespace namespace()
          The Namespace within which this Name resides
 java.lang.String string()
          The unqualified name of this Name.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

string

public java.lang.String string()
The unqualified name of this Name.

Returns:
the String representing the unqualified name of this Name.

namespace

public Namespace namespace()
The Namespace within which this Name resides

Returns:
the Name's resident Namespace.

isGlobal

public boolean isGlobal()
Is this a Name in the global Namespace?

Returns:
true if this is a Name in the global Namespace