|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.base.DataElement | +--com.ibm.dse.appl.ej.base.ConverterDefinition | +--com.ibm.dse.appl.ej.base.DateConverterDefinition
DateConverterDefintion is the class for all elements that externally define CBTF DateConverters components as DataElements. The value of these definitions is an instance of the com.ibm.dse.gui.DateConverter class.
Field Summary | |
protected static java.lang.String |
DEFAULT_ERROR
|
protected static boolean |
DEFAULT_FOURDIGITS
|
protected static int |
DEFAULT_ORDERING
|
protected static java.lang.String |
DEFAULT_PATTERN
|
protected static java.lang.String |
DEFAULT_SEPARATOR
|
protected static boolean |
DEFAULT_USESEP
|
protected java.lang.String |
ERROR
|
protected java.lang.String |
errorMessage
|
protected java.lang.String |
FALSE
|
protected java.lang.String |
FOURDIGITS
|
protected boolean |
fourDigitYear
|
protected int |
ordering
|
protected java.lang.String |
ORDERING
|
protected java.lang.String |
pattern
|
protected java.lang.String |
PATTERN
|
protected java.lang.String |
separator
|
protected java.lang.String |
SEPARATOR
|
protected java.lang.String |
TRUE
|
protected boolean |
useSep
|
protected java.lang.String |
USESEP
|
Fields inherited from class com.ibm.dse.appl.ej.base.ConverterDefinition |
value |
Fields inherited from class com.ibm.dse.base.DataElement |
description,
name,
state |
Constructor Summary | |
DateConverterDefinition()
This constructor creates a DateConverterDefintion object. |
Method Summary | |
java.lang.Object |
clone()
Required because of superclass. |
java.lang.String |
getErrorMessage()
Returns the value of the errorMessage property. |
int |
getOrdering()
Returns the value of the ordering property. |
java.lang.String |
getPattern()
Returns the value of the pattern property. |
java.lang.String |
getSeparator()
Returns the value of the separator property. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes a DateConverterDefinition object with the aTag attributes. |
boolean |
isFourDigitYear()
Returns the value of the fourDigitYear property. |
boolean |
isUseSep()
Returns the value of the useSep property. |
void |
setErrorMessage(java.lang.String newErrorMessage)
Sets the value of the errorMessage property. |
void |
setFourDigitYear(boolean newFourDigitYear)
Sets the value of the fourDigitYear property. |
void |
setOrdering(int newOrdering)
Sets the value of the ordering property. |
void |
setPattern(java.lang.String newPattern)
Sets the value of the pattern property. |
void |
setSeparator(java.lang.String newSeparator)
Sets the value of the separator property. |
void |
setUseSep(boolean newUseSep)
Sets the value of the useSep property. |
void |
setValue(java.lang.Object newValue)
If newValue is an instance of DateConverter, sets the value of the value property. |
java.lang.String |
toString()
Returns an SGML representation of this DateConverterDefinition Object. |
java.lang.Object |
validate(java.lang.Object anObject)
Required by the superclass |
Methods inherited from class com.ibm.dse.appl.ej.base.ConverterDefinition |
getValue,
nestedElements,
nestedElements,
nestedFields |
Methods inherited from class com.ibm.dse.base.DataElement |
externalizer,
getDescription,
getDescriptor,
getElementAt,
getErrorInfo,
getExternalizer,
getKey,
getName,
getState,
getTagName,
readExternal,
readExternal,
readObject,
removeElementAt,
removeExternal,
setDescription,
setDescriptor,
setErrorInfo,
setExternalizer,
setName,
setState,
toStrings,
toTags,
writeExternal,
writeExternal |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.lang.String pattern
protected java.lang.String errorMessage
protected boolean fourDigitYear
protected int ordering
protected java.lang.String separator
protected boolean useSep
protected final java.lang.String PATTERN
protected final java.lang.String ERROR
protected final java.lang.String USESEP
protected final java.lang.String ORDERING
protected final java.lang.String FOURDIGITS
protected final java.lang.String SEPARATOR
protected final java.lang.String TRUE
protected final java.lang.String FALSE
protected static final java.lang.String DEFAULT_PATTERN
protected static final java.lang.String DEFAULT_ERROR
protected static final boolean DEFAULT_FOURDIGITS
protected static final int DEFAULT_ORDERING
protected static final java.lang.String DEFAULT_SEPARATOR
protected static final boolean DEFAULT_USESEP
Constructor Detail |
public DateConverterDefinition()
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public java.lang.String getErrorMessage()
public int getOrdering()
public java.lang.String getPattern()
public java.lang.String getSeparator()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException
aTag
- com.ibm.dse.base.Tag Contains the name and attributes of the object to be created.public boolean isFourDigitYear()
public boolean isUseSep()
public void setErrorMessage(java.lang.String newErrorMessage)
newErrorMessage
- java.lang.String The new value of the property.public void setFourDigitYear(boolean newFourDigitYear)
newFourDigitYear
- boolean The new value of the property.public void setOrdering(int newOrdering)
newOrdering
- int The new value of the property.public void setPattern(java.lang.String newPattern)
newPattern
- java.lang.String The new value of the property.public void setSeparator(java.lang.String newSeparator)
newSeparator
- java.lang.String The new value of the property.public void setUseSep(boolean newUseSep)
newUseSep
- boolean The new value of the property.public void setValue(java.lang.Object newValue) throws DSEInvalidArgumentException
newValue
- java.lang.Object The new value of the property.public java.lang.String toString()
public java.lang.Object validate(java.lang.Object anObject) throws DSETypeException
anObject
- java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |