biz.c24.io.api.data
Class CharDataType

java.lang.Object
  extended by biz.c24.io.api.data.DataType
      extended by biz.c24.io.api.data.SimpleDataType
          extended by biz.c24.io.api.data.AtomicDataType
              extended by biz.c24.io.api.data.NumberDataType
                  extended by biz.c24.io.api.data.DecimalDataType
                      extended by biz.c24.io.api.data.IntegerDataType
                          extended by biz.c24.io.api.data.LongDataType
                              extended by biz.c24.io.api.data.IntDataType
                                  extended by biz.c24.io.api.data.CharDataType
All Implemented Interfaces:
FormatableDataType, ModelComponent, Serializable

public class CharDataType
extends IntDataType

A simple data type representing a primitive char.

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:
The W3C Schema Specification, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class biz.c24.io.api.data.AtomicDataType
AtomicDataType.FinalEnum
 
Field Summary
 
Fields inherited from class biz.c24.io.api.data.NumberDataType
DIGITS_UNBOUNDED, formatPool
 
Fields inherited from class biz.c24.io.api.data.DataType
duringParsing, hasEnumerations, hasPatternMatching, qualifierValidation
 
Constructor Summary
CharDataType()
          Constructs a new instance.
 
Method Summary
 String formatObjectOverride(Object obj)
           
static DataType getInstance()
          Returns a singleton instance.
 Class getValidObjectClass()
          Returns the class of valid objects of this type.
 boolean isFormatUsed()
          Returns whether this type is using a number format.
 
Methods inherited from class biz.c24.io.api.data.IntegerDataType
getMaxFractionDigits, getMaxIntegerDigits, getMinFractionDigits, getMinIntegerDigits
 
Methods inherited from class biz.c24.io.api.data.NumberDataType
createFormat, getAllFormatPatterns, getBitLength, getCurrencySymbol, getDecimalSeparator, getFormatPattern, getFormatsCount, getInternationalCurrencySymbol, getMaxExclusive, getMaxInclusive, getMaxSize, getMaxTotalDigits, getMinExclusive, getMinInclusive, getMinSize, getMinTotalDigits, getMinusSign, getMonetaryDecimalSeparator, getPatternInstance, getPercentSign, getPermillSign, getThousandSign, isDecimalSeparatorAlwaysShown, isDecimalSeparatorNeverShown, parseObject, parseObject, setAllFormatPatterns, setBitLength, setCurrencySymbol, setDecimalSeparator, setDecimalSeparatorAlwaysShown, setDecimalSeparatorNeverShown, setFormatPattern, setInternationalCurrencySymbol, setMaxExclusive, setMaxFractionDigits, setMaxInclusive, setMaxIntegerDigits, setMaxTotalDigits, setMinExclusive, setMinFractionDigits, setMinInclusive, setMinIntegerDigits, setMinTotalDigits, setMinusSign, setMonetaryDecimalSeparator, setPatternInstance, setPercentSign, setPermillSign, setThousandSeparator, validateProperties
 
Methods inherited from class biz.c24.io.api.data.AtomicDataType
formatObject, getFinal, getLocale, getPad, getPadAmount, getPadJustification, getWhiteSpace, setFinal, setLocale, setPad, setPadAmount, setPadJustification, setWhiteSpace
 
Methods inherited from class biz.c24.io.api.data.SimpleDataType
formatObject, formatObjectExternal, isComplex, isSimple, isSizeFixed, parseObject, parseObjectExternal
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharDataType

public CharDataType()
Constructs a new instance.

Method Detail

getInstance

public static DataType getInstance()
Returns a singleton instance.

Returns:
A singleton.

isFormatUsed

public boolean isFormatUsed()
Description copied from class: NumberDataType
Returns whether this type is using a number format.

Overrides:
isFormatUsed in class NumberDataType
Returns:
Whether a number format is present.

formatObjectOverride

public String formatObjectOverride(Object obj)
Overrides:
formatObjectOverride in class DecimalDataType

getValidObjectClass

public Class getValidObjectClass()
Description copied from class: DataType
Returns the class of valid objects of this type.

Overrides:
getValidObjectClass in class IntDataType
Returns:
The class.


C24 Technologies © 2002-2012: All Rights Reserved.