|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.catalog.types.DefaultInfoImpl
| Field Summary | |
private java.lang.String |
defaultText
|
private DataValueDescriptor |
defaultValue
This class implements Formatable. |
private ProviderInfo[] |
providerInfo
|
| Constructor Summary | |
DefaultInfoImpl()
Public niladic constructor. |
|
DefaultInfoImpl(java.lang.String defaultText,
DataValueDescriptor defaultValue)
Constructor for use with numeric types |
|
| Method Summary | |
java.lang.String |
getDefaultText()
Get the text of a default. |
DataValueDescriptor |
getDefaultValue()
Get the default value. |
ProviderInfo[] |
getProviderInfo()
Get the ProviderInfo. |
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. |
void |
setDefaultValue(DataValueDescriptor defaultValue)
Set the default value. |
void |
setProviderInfo(ProviderInfo[] providerInfo)
Set the ProviderInfo. |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private DataValueDescriptor defaultValue
private java.lang.String defaultText
private ProviderInfo[] providerInfo
| Constructor Detail |
public DefaultInfoImpl()
public DefaultInfoImpl(java.lang.String defaultText,
DataValueDescriptor defaultValue)
defaultText - The text of the default.| Method Detail |
public java.lang.String getDefaultText()
DefaultInfo
getDefaultText in interface DefaultInfoDefaultInfo.getDefaultText()public java.lang.String toString()
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.
java.io.IOException - thrown on error
java.lang.ClassNotFoundException - thrown on error
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes here.
java.io.IOException - thrown on errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatpublic DataValueDescriptor getDefaultValue()
public void setDefaultValue(DataValueDescriptor defaultValue)
defaultValue - The default value.
public void setProviderInfo(ProviderInfo[] providerInfo)
providerInfo - Providers that default is dependent on.
public ProviderInfo[] getProviderInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||