|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.catalog.types.BaseTypeIdImpl
This class is the base class for all type ids that are written to the system tables.
Field Summary | |
protected int |
formatId
|
protected int |
JDBCTypeId
|
protected java.lang.String |
SQLTypeName
This class implements Formatable. |
protected int |
wrapperTypeFormatId
|
Constructor Summary | |
|
BaseTypeIdImpl()
niladic constructor. |
|
BaseTypeIdImpl(int formatId)
1 argument constructor. |
protected |
BaseTypeIdImpl(java.lang.String SQLTypeName)
Constructor for an BaseTypeIdImpl |
Method Summary | |
boolean |
equals(java.lang.Object that)
we want equals to say if these are the same type id or not. |
int |
getJDBCTypeId()
Get the jdbc type id for this type. |
java.lang.String |
getSQLTypeName()
Returns the SQL name of the datatype. |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
int |
hashCode()
Hashcode which works with equals. |
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
private void |
setTypeIdSpecificInstanceVariables()
|
boolean |
systemBuiltIn()
Does this type id represent a system built-in type? |
java.lang.String |
toParsableString(TypeDescriptor td)
Converts this TypeId, given a data type descriptor (including length/precision), to a string. |
java.lang.String |
toString()
Format this BaseTypeIdImpl as a String |
boolean |
userType()
Does this type id represent a user type? |
int |
wrapperTypeFormatId()
Get the format id for the wrapper type id that corresponds to this type id. |
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String SQLTypeName
protected int JDBCTypeId
protected int formatId
protected int wrapperTypeFormatId
Constructor Detail |
public BaseTypeIdImpl()
public BaseTypeIdImpl(int formatId)
formatId
- Format id of specific type id.protected BaseTypeIdImpl(java.lang.String SQLTypeName)
SQLTypeName
- The SQL name of the typeMethod Detail |
public java.lang.String getSQLTypeName()
public int getJDBCTypeId()
Types
public boolean systemBuiltIn()
public java.lang.String toParsableString(TypeDescriptor td)
td
- Data type descriptor that holds the
length/precision etc. as necessary
public boolean userType()
public java.lang.String toString()
public boolean equals(java.lang.Object that)
public int hashCode()
public int wrapperTypeFormatId()
public int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- read this.
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on errorpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- write bytes here.
java.io.IOException
- thrown on errorprivate void setTypeIdSpecificInstanceVariables()
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |