edu.unh.sdb.common
Class UserType
java.lang.Object
edu.unh.sdb.common.Type
edu.unh.sdb.common.UserType
- Direct Known Subclasses:
- RangedType, RecordDescriptor
public class UserType
- extends Type
The UserType class represents user defined types in the SDB system. Simple user defined
types may be defined in terms of a storage type and a name.
Fields inherited from class edu.unh.sdb.common.Type |
name |
Constructor Summary |
UserType(java.lang.String name,
int storageType)
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
int |
getStorageType()
|
java.lang.String |
toString()
Return a representation of this object as a nicely formatted String. |
Methods inherited from class edu.unh.sdb.common.Type |
getName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
storageType
protected int storageType
UserType
public UserType(java.lang.String name,
int storageType)
getStorageType
public int getStorageType()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class Type
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 Type