|
|||||||||
| Home >> All >> org >> apache >> derby >> catalog >> [ types overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.catalog.types
Class UserDefinedTypeIdImpl

java.lang.Objectorg.apache.derby.catalog.types.BaseTypeIdImpl
org.apache.derby.catalog.types.UserDefinedTypeIdImpl
- All Implemented Interfaces:
- java.io.Externalizable, org.apache.derby.iapi.services.io.Formatable, java.io.Serializable, org.apache.derby.iapi.services.io.TypedFormat
- public class UserDefinedTypeIdImpl
- extends BaseTypeIdImpl
| Field Summary | |
protected java.lang.String |
className
This class implements Formatable. |
| Fields inherited from class org.apache.derby.catalog.types.BaseTypeIdImpl |
formatId, JDBCTypeId, SQLTypeName, wrapperTypeFormatId |
| Constructor Summary | |
UserDefinedTypeIdImpl()
Public niladic constructor. |
|
UserDefinedTypeIdImpl(java.lang.String className)
Constructor for a UserDefinedTypeIdImpl. |
|
| Method Summary | |
java.lang.String |
getClassName()
Return the java class name for this type |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
boolean |
systemBuiltIn()
Does this type id represent a system built-in type? |
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 org.apache.derby.catalog.types.BaseTypeIdImpl |
equals, getJDBCTypeId, getSQLTypeName, hashCode, toParsableString, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
className
protected java.lang.String className
- This class implements Formatable. That means that it
can write itself to and from a formatted stream. If
you add more fields to this class, make sure that you
also write/read them with the writeExternal()/readExternal()
methods.
If, inbetween releases, you add more fields to this class,
then you should bump the version number emitted by the getTypeFormatId()
method.
| Constructor Detail |
UserDefinedTypeIdImpl
public UserDefinedTypeIdImpl()
- Public niladic constructor. Needed for Formatable interface to work.
UserDefinedTypeIdImpl
public UserDefinedTypeIdImpl(java.lang.String className)
- Constructor for a UserDefinedTypeIdImpl. The SQLTypeName of a UserDefinedType
is assumed to be its className.
| Method Detail |
getClassName
public java.lang.String getClassName()
- Return the java class name for this type
systemBuiltIn
public boolean systemBuiltIn()
- Does this type id represent a system built-in type?
- Overrides:
systemBuiltInin classBaseTypeIdImpl
userType
public boolean userType()
- Does this type id represent a user type?
- Overrides:
userTypein classBaseTypeIdImpl
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Specified by:
readExternalin interfacejava.io.Externalizable- Overrides:
readExternalin classBaseTypeIdImpl
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Write this object to a stream of stored objects.
- Specified by:
writeExternalin interfacejava.io.Externalizable- Overrides:
writeExternalin classBaseTypeIdImpl
getTypeFormatId
public int getTypeFormatId()
- Get the formatID which corresponds to this class.
- Specified by:
getTypeFormatIdin interfaceorg.apache.derby.iapi.services.io.TypedFormat- Overrides:
getTypeFormatIdin classBaseTypeIdImpl
wrapperTypeFormatId
public int wrapperTypeFormatId()
- Get the format id for the wrapper type id that corresponds to
this type id.
- Overrides:
wrapperTypeFormatIdin classBaseTypeIdImpl
|
|||||||||
| Home >> All >> org >> apache >> derby >> catalog >> [ types overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC