org.jbind.xml.base
Class Ref

java.lang.Object
  extended byorg.jbind.xml.base.Ref
All Implemented Interfaces:
IRef
Direct Known Subclasses:
JobRef

public class Ref
extends java.lang.Object
implements IRef


Constructor Summary
Ref(java.lang.String aNamespace, ISymbolspace aSymbolSpace, java.lang.String aLocalPart)
           
 
Method Summary
 java.lang.String asStringKey()
          Converts the reference into a string that can be used as a key.
 boolean equals(java.lang.Object anObject)
          Tests value equality.
 java.lang.String getLocalPart()
           
 java.lang.String getNamespace()
           
 ISymbolspace getSymbolSpace()
           
 int hashCode()
          Calculates a value based hash code.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Ref

public Ref(java.lang.String aNamespace,
           ISymbolspace aSymbolSpace,
           java.lang.String aLocalPart)
Method Detail

getNamespace

public java.lang.String getNamespace()
Specified by:
getNamespace in interface IRef

getSymbolSpace

public ISymbolspace getSymbolSpace()
Specified by:
getSymbolSpace in interface IRef

getLocalPart

public java.lang.String getLocalPart()
Specified by:
getLocalPart in interface IRef

equals

public boolean equals(java.lang.Object anObject)
Description copied from interface: IRef
Tests value equality.

Specified by:
equals in interface IRef

hashCode

public int hashCode()
Description copied from interface: IRef
Calculates a value based hash code.

Specified by:
hashCode in interface IRef

toString

public java.lang.String toString()

asStringKey

public java.lang.String asStringKey()
Description copied from interface: IRef
Converts the reference into a string that can be used as a key.

Specified by:
asStringKey in interface IRef
Returns:
(required).