| java.lang.Object org.apache.derby.catalog.types.DefaultInfoImpl
DefaultInfoImpl | public DefaultInfoImpl()(Code) | | Public niladic constructor. Needed for Formatable interface to work.
|
DefaultInfoImpl | public DefaultInfoImpl(boolean isDefaultValueAutoinc, String defaultText, DataValueDescriptor defaultValue)(Code) | | Constructor for use with numeric types
Parameters: defaultText - The text of the default. |
getDefaultValue | public DataValueDescriptor getDefaultValue()(Code) | | Get the default value.
(NOTE: This returns null if
the default is not a constant.)
The default value. |
getTypeFormatId | public int getTypeFormatId()(Code) | | Get the formatID which corresponds to this class.
the formatID of this class |
setDefaultValue | public void setDefaultValue(DataValueDescriptor defaultValue)(Code) | | Set the default value.
Parameters: defaultValue - The default value. |
writeExternal | public void writeExternal(ObjectOutput out) throws IOException(Code) | | Write this object to a stream of stored objects.
Parameters: out - write bytes here. exception: IOException - thrown on error |
|
|