|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.common.UserTypeBuilder
public class UserTypeBuilder
Manufactures UserType objects. Hold relevant data and validates before instantiating the appropriate objects.
Field Summary | |
---|---|
protected int |
storageType
|
Constructor Summary | |
---|---|
UserTypeBuilder(java.lang.String n,
int st)
|
|
UserTypeBuilder(java.lang.String n,
java.lang.String st)
|
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name |
java.lang.String |
getStorageTypeName()
Returns the name of the storage type. |
int |
getStorageTypeValue()
Returns the integer value from the TypeTable of the storage type. |
UserType |
makeUserType()
Returns a Type object that has been instantiated as a UserType object. |
void |
setName(java.lang.String s)
Sets the name to the String provided |
void |
setStorageType(int st)
Sets the base storage type given the integer value of the type within the TypeTable. |
void |
setStorageType(java.lang.String st)
Sets the base storage type given the string name of the type within the TypeTable. |
java.lang.String |
toString()
diagnostic utility method for dumping this class to a string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int storageType
Constructor Detail |
---|
public UserTypeBuilder(java.lang.String n, int st)
public UserTypeBuilder(java.lang.String n, java.lang.String st)
Method Detail |
---|
public void setName(java.lang.String s)
public java.lang.String getName()
public void setStorageType(java.lang.String st)
public void setStorageType(int st)
public int getStorageTypeValue()
public java.lang.String getStorageTypeName()
public UserType makeUserType()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |