story.dbcore.misc
Class GenericID

java.lang.Object
  extended by story.dbcore.misc.GenericID
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
AttributeID, DocumentID, InterpNodeID, NodeID, NodeRepositoryID

public abstract class GenericID
extends java.lang.Object
implements java.lang.Comparable

An abstract class that represents an identifier.

Other classes pass around extensions of this class when referring to various data by name.


Constructor Summary
GenericID()
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 boolean equals(GenericID other)
          Test the equality of this GenericID with another one.
static int maxLength()
           
 java.lang.String toRawString()
          Render the ID as a String without punctuation.
abstract  java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericID

public GenericID()
Method Detail

toRawString

public java.lang.String toRawString()
Render the ID as a String without punctuation.


toString

public abstract java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(GenericID other)
               throws Scheherexception
Test the equality of this GenericID with another one.

Throws:
Scheherexception

compareTo

public int compareTo(java.lang.Object other)
              throws java.lang.ClassCastException
Specified by:
compareTo in interface java.lang.Comparable
Throws:
java.lang.ClassCastException

maxLength

public static int maxLength()


Copyright © 2011 David K. Elson. All Rights Reserved.