|
||||||||||
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
biz.c24.io.api.data.StringDataType
public abstract class StringDataType
A simple data type representing a String.
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 |
---|
Nested classes/interfaces inherited from class biz.c24.io.api.data.AtomicDataType |
---|
AtomicDataType.FinalEnum |
Field Summary | |
---|---|
static int |
MAX_LENGTH_UNBOUNDED
The value of a maximum length that is unbounded. |
Fields inherited from class biz.c24.io.api.data.DataType |
---|
duringParsing, hasEnumerations, hasPatternMatching, qualifierValidation |
Method Summary | |
---|---|
String |
formatObjectOverride(Object obj)
|
int |
getLengthSize()
|
int |
getMaxLength()
Returns the maximum length. |
int |
getMaxSize()
Returns the maximum allowable size of the value. |
int |
getMinLength()
Returns the minimum length. |
int |
getMinSize()
Returns the minimum allowable size of the value. |
Class |
getValidObjectClass()
Returns the class of valid objects of this type. |
void |
setLengthSize(int lengthSize)
|
void |
setMaxLength(int maxLength)
Sets the maximum length. |
void |
setMinLength(int minLength)
Sets the minimum length. |
boolean |
validateProperties(Object object,
DataComponent comp,
ComplexDataObject context,
ValidationManager manager)
|
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, getInstance, getMaxExclusive, getMaxInclusive, getMinExclusive, getMinInclusive, isComplex, isSimple, isSizeFixed, parseObject, parseObjectExternal, setMaxExclusive, setMaxInclusive, setMinExclusive, setMinInclusive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MAX_LENGTH_UNBOUNDED
Method Detail |
---|
public int getMinLength()
public int getMaxLength()
MAX_LENGTH_UNBOUNDED
if it has not been set.public int getMinSize()
SimpleDataType
getMinSize
in class SimpleDataType
public int getMaxSize()
SimpleDataType
getMaxSize
in class SimpleDataType
-1
if the size is unbounded.public void setMinLength(int minLength)
minLength
- The new value.
IllegalArgumentException
- if minLength < 0.public void setMaxLength(int maxLength)
maxLength
- The new value.
IllegalArgumentException
- if maxLength < 0 and minLength != MAX_LENGTH_UNBOUNDED
.public int getLengthSize()
public void setLengthSize(int lengthSize)
public String formatObjectOverride(Object obj)
formatObjectOverride
in class AtomicDataType
public boolean validateProperties(Object object, DataComponent comp, ComplexDataObject context, ValidationManager manager) throws ValidationException
validateProperties
in class SimpleDataType
ValidationException
public Class getValidObjectClass()
DataType
getValidObjectClass
in class SimpleDataType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |