|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.DataElement
com.ibm.btt.base.DataField
@ATTR(value="value#String#IMPLIED") public class DataField
The DataField class is the basic unit of the data container. It can be ordered by collections.
Field Summary | |
---|---|
protected java.lang.Object |
value
|
Fields inherited from class com.ibm.btt.base.DataElement |
---|
description, externalizer, name, parameters, state |
Constructor Summary | |
---|---|
DataField()
This constructor creates the DataField object. |
|
DataField(java.lang.String aName)
This constructor creates the DataField object with the aName id. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a new DataField cloned from the current one. |
java.lang.Object |
getValue()
Gets the value property (java.lang.Object) value. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes a DataField with the aTag attributes. |
Vector |
nestedElements()
Returns an empty Vector. |
void |
nestedElements(java.util.Hashtable theTable)
Returns all the DataElements included in this collection at any level. |
Vector |
nestedFields()
Returns a Vector containing itself. |
void |
readExternal(java.io.ObjectInput s)
Invokes the object creation from an ObjectInput. |
void |
setValidValue(boolean aValue)
Set the value attribute to the corresponding Boolean making the conversion from boolean. |
void |
setValidValue(byte aValue)
Sets the value attribute to the corresponding Byte making the conversion from byte. |
void |
setValidValue(char aValue)
Sets the value attribute to the corresponding Character making the conversion from char. |
void |
setValidValue(double aValue)
Sets the value attribute to the corresponding Double making the conversion from double. |
void |
setValidValue(float aValue)
Sets the value attribute to the corresponding Float making the conversion from float. |
void |
setValidValue(int aValue)
Sets the value attribute to the corresponding Integer making the conversion from int. |
void |
setValidValue(long aValue)
Sets the value attribute to the corresponding Long making the conversion from long. |
void |
setValidValue(java.lang.Object aValue)
Sets the value property (java.lang.Object) value. |
void |
setValidValue(short aValue)
Set the value attribute to the corresponding Short making the conversion from short. |
void |
setValue(boolean aValue)
Set the value attribute to the corresponding Boolean making the conversion from boolean. |
void |
setValue(byte aValue)
Sets the value attribute to the corresponding Byte making the conversion from byte. |
void |
setValue(char aValue)
Sets the value attribute to the corresponding Character making the conversion from char. |
void |
setValue(double aValue)
Sets the value attribute to the corresponding Double making the conversion from double. |
void |
setValue(float aValue)
Sets the value attribute to the corresponding Float making the conversion from float. |
void |
setValue(int aValue)
Sets the value attribute to the corresponding Integer making the conversion from int. |
void |
setValue(long aValue)
Sets the value attribute to the corresponding Long making the conversion from long. |
void |
setValue(java.lang.Object aValue)
Sets the value property (java.lang.Object) value. |
void |
setValue(short aValue)
Set the value attribute to the corresponding Short making the conversion from short. |
java.lang.String |
toString()
Returns a visual representation of the DataField. |
java.lang.Object |
validate(java.lang.Object toValidate,
java.lang.String convType)
Validates an object using its property descriptor and returns the validated object. |
protected void |
validateState(java.lang.Object toValidate)
Validates an object using the state attribute. |
void |
writeExternal(java.io.ObjectOutput s)
Provides concrete serialization handling for DataField. |
Methods inherited from class com.ibm.btt.base.DataElement |
---|
externalizer, getCompositeKey, getDescription, getDescriptor, getElementAt, getErrorInfo, getExternalizer, getKey, getName, getParameter, getParameters, getState, getTagName, isAmended, isCached, isSerializable, readExternal, readObject, removeElementAt, removeExternal, setAmended, setCompositeKey, setDescription, setDescriptor, setErrorInfo, setExternalizer, setIsCached, setName, setParameter, setParameters, setSerializable, setState, toStrings, toTags, tryGetElementAt, validate, validateObject, writeExternal |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.Object value
Constructor Detail |
---|
public DataField()
public DataField(java.lang.String aName) throws java.io.IOException
aName
- java.lang.String
java.io.IOException
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface DSECloneable
clone
in class DataElement
java.lang.CloneNotSupportedException
- - if a problem occurs trying to clone the objectpublic java.lang.Object getValue()
getValue
in class DataElement
setValue(byte)
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException
aTag
- Tag
java.io.IOException
public Vector nestedElements()
nestedElements
in class DataElement
public void nestedElements(java.util.Hashtable theTable)
nestedElements
in class DataElement
public Vector nestedFields()
nestedFields
in class DataElement
public void readExternal(java.io.ObjectInput s) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class DataElement
s
- java.io.ObjectInput
java.io.IOException.
java.lang.ClassNotFoundException.
java.io.IOException
java.lang.ClassNotFoundException
public void setValidValue(byte aValue) throws DSETypeException
aValue
- byte
DSETypeException
public void setValidValue(char aValue) throws DSETypeException
aValue
- char
DSETypeException
public void setValidValue(double aValue) throws DSETypeException
aValue
- double
DSETypeException
public void setValidValue(float aValue) throws DSETypeException
aValue
- float
DSETypeException
public void setValidValue(int aValue) throws DSETypeException
aValue
- int
DSETypeException
public void setValidValue(long aValue) throws DSETypeException
aValue
- long
DSETypeException
public void setValidValue(java.lang.Object aValue) throws DSETypeException
DSETypeException
public void setValidValue(boolean aValue) throws DSETypeException
aValue
- boolean
DSETypeException
public void setValidValue(short aValue) throws DSETypeException
aValue
- short
DSETypeException
public void setValue(byte aValue)
aValue
- bytepublic void setValue(char aValue)
aValue
- charpublic void setValue(double aValue)
aValue
- doublepublic void setValue(float aValue)
aValue
- floatpublic void setValue(int aValue)
aValue
- intpublic void setValue(long aValue)
aValue
- longpublic void setValue(java.lang.Object aValue) throws DSEInvalidArgumentException
setValue
in class DataElement
aValue
- java.lang.Object
DSEInvalidArgumentException
public void setValue(boolean aValue)
aValue
- booleanpublic void setValue(short aValue)
aValue
- shortpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object validate(java.lang.Object toValidate, java.lang.String convType) throws DSETypeException
validate
in class DataElement
toValidate
- java.lang.ObjectconvType
- String
DSETypeException
- - If the object has not been successfully validatedprotected void validateState(java.lang.Object toValidate) throws DSETypeException
toValidate
- java.lang.Object
DSETypeException
public void writeExternal(java.io.ObjectOutput s) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class DataElement
s
- java.io.ObjectOutput
java.io.IOException.
java.io.IOException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |