gov.nasa.pds.tools.dict
Class Alias

java.lang.Object
  extended by gov.nasa.pds.tools.dict.Alias
All Implemented Interfaces:
Serializable

public class Alias
extends Object
implements Serializable

This class represents an Alias to a Definition. The alias is valid within the context of some object or group.

Version:
$Revision: 6614 $
Author:
pramirez, jagander
See Also:
Serialized Form

Constructor Summary
Alias(Identifier identifier)
           
Alias(String identifier)
           
Alias(String context, Identifier identifier)
           
Alias(String context, String identifier)
           
 
Method Summary
 boolean equals(Object o)
           
 String getContext()
           
 Identifier getIdentifier()
           
 boolean hasContext()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Alias

public Alias(String identifier)

Alias

public Alias(Identifier identifier)

Alias

public Alias(String context,
             String identifier)

Alias

public Alias(String context,
             Identifier identifier)
Method Detail

hasContext

public boolean hasContext()

getContext

public String getContext()

getIdentifier

public Identifier getIdentifier()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2005–2013 Planetary Data System. All rights reserved.