biz.c24.io.api.data
Class SQLBlobDataType
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.SQLBlobDataType
- All Implemented Interfaces:
- ModelComponent, Serializable
public class SQLBlobDataType
- extends StringDataType
A simple data type representing a SQL BLOB (Binary 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 |
SQLBlobDataType
public SQLBlobDataType()
- 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
readBytes
public static byte[] readBytes(Blob blob)
- Read the byte array from a SQL BLOB.
- Parameters:
blob
- The BLOB to be insepcted.
- Returns:
- The byte array, or
null
if a SQLException occurred whilst accessing the BLOB's value.
C24 Technologies © 2002-2012: All Rights Reserved.