|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.DataType
biz.c24.io.api.data.SimpleDataType
biz.c24.io.api.data.AtomicDataType
public abstract class AtomicDataType
A simple type representing an atomic item of data. This abstract class acts as a marker in the class hierarchy.
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.
Nested Class Summary | |
---|---|
static class |
AtomicDataType.FinalEnum
An enumeration of possible final values. |
Field Summary |
---|
Fields inherited from class biz.c24.io.api.data.DataType |
---|
duringParsing, hasEnumerations, hasPatternMatching, qualifierValidation |
Method Summary | |
---|---|
String |
formatObject(Object obj,
boolean external)
Formats the supplied obj into a string, possibly using the protected formatObjectExternal(Object) method. |
abstract String |
formatObjectOverride(Object obj)
|
AtomicDataType.FinalEnum |
getFinal()
Returns the final value. |
Locale |
getLocale()
Returns the locale. |
String |
getPad()
Returns the string used to pad the value to a size of getPadAmount() . |
int |
getPadAmount()
Returns the minimum length to which the value will be padded. |
PadJustificationEnum |
getPadJustification()
Returns the pad justification. |
WhiteSpaceEnum |
getWhiteSpace()
Returns the white space behaviour. |
Object |
parseObject(String str,
boolean external)
Parses the supplied str into an object, possibly using the protected parseObjectExternal(String, java.text.ParsePosition) method. |
void |
setFinal(AtomicDataType.FinalEnum finaL)
Sets the final value. |
void |
setLocale(Locale locale)
Sets the locale. |
void |
setPad(String pad)
Sets the pad string. |
void |
setPadAmount(int padAmount)
Sets the minimum length to which the value will be padded. |
void |
setPadJustification(PadJustificationEnum padJustification)
Sets the pad justification. |
void |
setWhiteSpace(WhiteSpaceEnum whiteSpace)
Sets the white space. |
Methods inherited from class biz.c24.io.api.data.SimpleDataType |
---|
formatObject, formatObjectExternal, getInstance, getMaxExclusive, getMaxInclusive, getMaxSize, getMinExclusive, getMinInclusive, getMinSize, getValidObjectClass, isComplex, isSimple, isSizeFixed, parseObject, parseObjectExternal, setMaxExclusive, setMaxInclusive, setMinExclusive, setMinInclusive, validateProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public AtomicDataType.FinalEnum getFinal()
public void setFinal(AtomicDataType.FinalEnum finaL)
finaL
- The new value.public String getPad()
getPadAmount()
.
public void setPad(String pad)
pad
- The pad string.public PadJustificationEnum getPadJustification()
public void setPadJustification(PadJustificationEnum padJustification)
padJustification
- The pad justification.public int getPadAmount()
public void setPadAmount(int padAmount)
padAmount
- The pad amount.public Locale getLocale()
public void setLocale(Locale locale)
locale
- The locale.public WhiteSpaceEnum getWhiteSpace()
public void setWhiteSpace(WhiteSpaceEnum whiteSpace)
whiteSpace
- The white space.public String formatObject(Object obj, boolean external)
SimpleDataType
obj
into a string, possibly using the protected formatObjectExternal(Object) method.
formatObject
in class SimpleDataType
obj
- The object to be formatted.external
- Whether the formatObjectExternal(Object) method should be used.
public abstract String formatObjectOverride(Object obj)
public Object parseObject(String str, boolean external) throws ParserException
SimpleDataType
str
into an object, possibly using the protected parseObjectExternal(String, java.text.ParsePosition) method.
parseObject
in class SimpleDataType
str
- The string to be parsed.external
- Whether the parseObjectExternal(String, java.text.ParsePosition) method should be used.
ParserException
- If the parsing failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |