public class UserTypeBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
storageType |
Constructor and Description |
---|
UserTypeBuilder(java.lang.String n,
int st) |
UserTypeBuilder(java.lang.String n,
java.lang.String st) |
Modifier and Type | Method and Description |
---|---|
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
|
public UserTypeBuilder(java.lang.String n, int st)
public UserTypeBuilder(java.lang.String n, java.lang.String st)
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