com.ibm.dse.appl.ej.base
Class IntegerConverterDefinition
java.lang.Object
|
+--com.ibm.dse.base.DataElement
|
+--com.ibm.dse.appl.ej.base.ConverterDefinition
|
+--com.ibm.dse.appl.ej.base.IntegerConverterDefinition
- public class IntegerConverterDefinition
- extends ConverterDefinition
IntegerConverterDefintion is the class for all elements that externally
define CBTF IntegerConverters components as DataElements. The value of these
definitions is an instance of the com.ibm.dse.gui.IntegerConverter class.
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
clone()
Required because of superclass. |
java.lang.String |
getErrorMessage()
Returns the value of the errorMessage property. |
java.lang.String |
getSeparator()
Returns the value of the separator property. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes a IntegerConverterDefinition object with the aTag attributes. |
void |
setErrorMessage(java.lang.String newErrorMessage)
Sets the value of the errorMessage property. |
void |
setSeparator(java.lang.String newSeparator)
Sets the value of the separator property. |
void |
setValue(java.lang.Object newValue)
If newValue is an instance of IntegerConverter, sets the value of the value property. |
java.lang.String |
toString()
Returns an SGML representation of this IntegerConverterDefinition Object. |
java.lang.Object |
validate(java.lang.Object anObject)
Required by the superclass |
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 |
errorMessage
protected java.lang.String errorMessage
separator
protected java.lang.String separator
ERROR
protected final java.lang.String ERROR
SEPARATOR
protected final java.lang.String SEPARATOR
DEFAULT_ERROR
protected static final java.lang.String DEFAULT_ERROR
DEFAULT_SEPARATOR
protected static final java.lang.String DEFAULT_SEPARATOR
IntegerConverterDefinition
public IntegerConverterDefinition()
- This constructor creates a IntegerConverterDefintion object.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Required because of superclass.
- Overrides:
- clone in class DataElement
- Returns:
- java.lang.Object
- Throws:
- java.lang.CloneNotSupportedException - The exception description.
getErrorMessage
public java.lang.String getErrorMessage()
- Returns the value of the errorMessage property.
- Returns:
- java.lang.String - The current value of errorMessage attribute.
getSeparator
public java.lang.String getSeparator()
- Returns the value of the separator property.
- Returns:
- java.lang.String - The current value of separator property.
initializeFrom
public java.lang.Object initializeFrom(Tag aTag)
throws java.io.IOException
- Initializes a IntegerConverterDefinition object with the aTag attributes.
- Overrides:
- initializeFrom in class ConverterDefinition
- Parameters:
aTag
- com.ibm.dse.base.Tag Contains the name and attributes of the object to be created.- Returns:
- Object - An instance of IntegerConverterDefinition.
- Throws:
- java.io.IOException - The object can not be created.
setErrorMessage
public void setErrorMessage(java.lang.String newErrorMessage)
- Sets the value of the errorMessage property.
- Parameters:
newErrorMessage
- java.lang.String The new value of the property.
setSeparator
public void setSeparator(java.lang.String newSeparator)
- Sets the value of the separator property.
- Parameters:
newSeparator
- java.lang.String The new value of the property.
setValue
public void setValue(java.lang.Object newValue)
throws DSEInvalidArgumentException
- If newValue is an instance of IntegerConverter, sets the value of the value property.
- Overrides:
- setValue in class ConverterDefinition
- Parameters:
newValue
- java.lang.Object The new value of the property.- Throws:
- DSEInvalidArgumentException - - The parameter is not a IntegerConverter Object.
toString
public java.lang.String toString()
- Returns an SGML representation of this IntegerConverterDefinition Object.
- Overrides:
- toString in class java.lang.Object
- Returns:
- java.lang.String
validate
public java.lang.Object validate(java.lang.Object anObject)
throws DSETypeException
- Required by the superclass
- Overrides:
- validate in class DataElement
- Parameters:
anObject
- java.lang.Object- Returns:
- java.lang.Object
- Throws:
- DSETypeException -