edu.unh.sdb.common
Class Type

java.lang.Object
  extended by edu.unh.sdb.common.Type
Direct Known Subclasses:
StorageType, UserType

public class Type
extends java.lang.Object

The Type class represents named types in the SDB system.


Field Summary
protected  java.lang.String name
           
 
Constructor Summary
protected Type()
           
protected Type(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
           
 java.lang.String toString()
          Return a representation of this object as a nicely formatted String.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Constructor Detail

Type

protected Type(java.lang.String name)

Type

protected Type()
Method Detail

getName

public java.lang.String getName()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Return a representation of this object as a nicely formatted String. This method is meant to be called by the toString method of child classes only.

Overrides:
toString in class java.lang.Object