biz.c24.io.api.data
Class SQLClobDataType
java.lang.Object
biz.c24.io.api.data.DataType
biz.c24.io.api.data.SimpleDataType
biz.c24.io.api.data.AtomicDataType
biz.c24.io.api.data.StringDataType
biz.c24.io.api.data.SQLClobDataType
- All Implemented Interfaces:
- ModelComponent, Serializable
public class SQLClobDataType
- extends StringDataType
A simple data type representing a SQL CLOB (Character Large OBject).
Warning: Serialized objects of this class or of a deployed class which is derived from it may not be compatible with future releases of C24 Integreation Objects.
The current serialization support is appropriate for short term storage or RMI between applications running
the same version of C24 Integreation Objects.
- See Also:
- Serialized Form
Methods inherited from class biz.c24.io.api.data.AtomicDataType |
formatObject, getFinal, getLocale, getPad, getPadAmount, getPadJustification, getWhiteSpace, parseObject, setFinal, setLocale, setPad, setPadAmount, setPadJustification, setWhiteSpace |
Methods inherited from class biz.c24.io.api.data.SimpleDataType |
formatObject, formatObjectExternal, getMaxExclusive, getMaxInclusive, getMinExclusive, getMinInclusive, isComplex, isSimple, isSizeFixed, parseObject, parseObjectExternal, setMaxExclusive, setMaxInclusive, setMinExclusive, setMinInclusive |
Methods inherited from class biz.c24.io.api.data.DataType |
addDerivedType, addValidator, addValidator, derivedTypeKeySet, getAnnotation, getDatabaseColumnName, getDerivedType, getDerivedType, getDerivedTypes, getDescription, getEnumeration, getInitiator, getModel, getName, getNullDefiningElementDecl, getOriginalName, getOriginalPatternMatch, getPatternMatch, getPatternType, getTerminator, getValidator, getValidatorCount, getValidatorIndex, hasDerivedTypes, isLocal, isValidObjectClass, removeDerivedType, removeValidator, setAnnotation, setDatabaseColumnName, setInitiator, setLocal, setModel, setName, setOriginalName, setOriginalPatternMatch, setPatternMatch, setPatternType, setTerminator, toString, validate, validateProperties, validateProperties |
SQLClobDataType
public SQLClobDataType()
- Constructs a new instance.
getInstance
public static DataType getInstance()
- Returns a singleton instance.
- Returns:
- A singleton.
getValidObjectClass
public Class getValidObjectClass()
- Description copied from class:
DataType
- Returns the class of valid objects of this type.
- Overrides:
getValidObjectClass
in class StringDataType
- Returns:
- The class.
formatObjectOverride
public String formatObjectOverride(Object obj)
- Overrides:
formatObjectOverride
in class StringDataType
readString
public static String readString(Clob clob)
- Read the string from a SQL CLOB.
- Parameters:
clob
- The CLOB to be insepcted.
- Returns:
- The string, or
null
if a SQLException occurred whilst accessing the CLOB's value.
C24 Technologies © 2002-2012: All Rights Reserved.