|
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
com.ibm.btt.bean.BeanDataField
public class BeanDataField
The BeanDataField class is the basic unit of the bean collection. This class provides a protocol for accessing the bean's attribute by name, and for changing bean's attribute value .
Field Summary |
---|
Fields inherited from class com.ibm.btt.base.DataField |
---|
value |
Fields inherited from class com.ibm.btt.base.DataElement |
---|
description, name, parameters, state |
Constructor Summary | |
---|---|
|
BeanDataField()
This constructor creates the BeanDataField object. |
protected |
BeanDataField(java.lang.String attributeName,
java.lang.Object parent)
|
protected |
BeanDataField(java.lang.String attributeName,
java.lang.Object parent,
java.lang.Object value)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a new DataField cloned from the current one. |
Externalizer |
externalizer()
Deprecated. |
protected java.lang.Object |
getBean()
|
protected java.lang.Object |
getBeanValue()
|
java.lang.String |
getCompositeKey()
Deprecated. |
java.lang.String |
getDescription()
Deprecated. |
PropertyDescription |
getDescriptor()
Deprecated. |
DataElement |
getElementAt(java.lang.String name)
Deprecated. |
ErrorInfo |
getErrorInfo()
Deprecated. |
Key |
getKey()
Deprecated. |
ElementState |
getState()
Deprecated. |
java.lang.Object |
getValue()
Gets the value property (java.lang.Object) value. |
boolean |
isAmended()
Deprecated. |
boolean |
isCached()
Deprecated. |
boolean |
isSerializable()
Deprecated. |
Vector |
nestedElements()
Deprecated. |
void |
nestedElements(java.util.Hashtable theTable)
Deprecated. |
Vector |
nestedFields()
Deprecated. |
void |
readExternal(java.io.ObjectInput s)
Invokes the object creation from an ObjectInput. |
protected void |
refreshBeanValue(java.lang.Object value)
|
DataElement |
removeElementAt(java.lang.String name)
Throws an exception. |
void |
setAmended(boolean value)
This is an override method,not suggest to use,it do nothing |
protected void |
setBean(java.lang.Object parent)
|
void |
setCompositeKey(java.lang.String compositeKey)
Deprecated. |
void |
setDescription(java.lang.String description)
Deprecated. |
void |
setDescriptor(PropertyDescription descriptor)
Deprecated. |
void |
setErrorInfo(ErrorInfo anErrorInfo)
Deprecated. |
void |
setIsCached(boolean cached)
Deprecated. |
void |
setParameter(java.lang.String parameterName,
java.lang.Object parameterValue)
Deprecated. |
void |
setParameters(Hashtable theParameters)
Deprecated. |
void |
setState(ElementState state)
Deprecated. |
void |
setValidValue(boolean value)
Set the value attribute to the corresponding Boolean making the conversion from boolean. |
void |
setValidValue(byte value)
Sets the value attribute to the corresponding Byte making the conversion from byte. |
void |
setValidValue(char value)
Sets the value attribute to the corresponding Character making the conversion from char. |
void |
setValidValue(double value)
Sets the value attribute to the corresponding Double making the conversion from double. |
void |
setValidValue(float value)
Sets the value attribute to the corresponding Float making the conversion from float. |
void |
setValidValue(int value)
Sets the value attribute to the corresponding Integer making the conversion from int. |
void |
setValidValue(long value)
Sets the value attribute to the corresponding Long making the conversion from long. |
void |
setValidValue(java.lang.Object value)
Sets the value property (java.lang.Object) value. |
void |
setValue(boolean value)
Set the value attribute to the corresponding Boolean making the conversion from boolean. |
void |
setValue(byte value)
Sets the value attribute to the corresponding Byte making the conversion from byte. |
void |
setValue(char value)
Sets the value attribute to the corresponding Character making the conversion from char. |
void |
setValue(double value)
Sets the value attribute to the corresponding Double making the conversion from double. |
void |
setValue(float value)
Sets the value attribute to the corresponding Float making the conversion from float. |
void |
setValue(int value)
Sets the value attribute to the corresponding Integer making the conversion from int. |
void |
setValue(long value)
Sets the value attribute to the corresponding Long making the conversion from long. |
void |
setValue(java.lang.Object value)
Sets the value property (java.lang.Object) value. |
java.lang.String |
toString()
Returns a visual representation of the DataField. |
java.lang.Object |
validate(java.lang.Object toValidate)
Deprecated. |
java.lang.Object |
validate(java.lang.Object toValidate,
java.lang.String convType)
Deprecated. |
java.lang.Object |
validateObject(java.lang.Object toValidate)
Deprecated. |
protected void |
validateState(java.lang.Object toValidate)
Deprecated. |
void |
writeExternal(java.io.ObjectOutput s)
Provides concrete serialization handling for DataField. |
Methods inherited from class com.ibm.btt.base.DataField |
---|
initializeFrom |
Methods inherited from class com.ibm.btt.base.DataElement |
---|
getExternalizer, getName, getParameter, getParameters, getTagName, readExternal, readObject, removeExternal, setExternalizer, setName, setSerializable, toStrings, toTags, tryGetElementAt, writeExternal |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BeanDataField()
protected BeanDataField(java.lang.String attributeName, java.lang.Object parent)
protected BeanDataField(java.lang.String attributeName, java.lang.Object parent, java.lang.Object value)
Method Detail |
---|
public java.lang.Object getValue()
DataField
getValue
in class DataField
DataField.setValue(byte)
protected java.lang.Object getBean()
protected void setBean(java.lang.Object parent)
protected java.lang.Object getBeanValue()
protected void refreshBeanValue(java.lang.Object value)
public void setValue(boolean value)
DataField
setValue
in class DataField
value
- booleanpublic void setValue(byte value)
DataField
setValue
in class DataField
value
- bytepublic void setValue(char value)
DataField
setValue
in class DataField
value
- charpublic void setValue(double value)
DataField
setValue
in class DataField
value
- doublepublic void setValue(float value)
DataField
setValue
in class DataField
value
- floatpublic void setValue(int value)
DataField
setValue
in class DataField
value
- intpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
DataField
clone
in interface DSECloneable
clone
in class DataField
java.lang.CloneNotSupportedException
- - if a problem occurs trying to clone the object@Deprecated public Vector nestedElements()
DataField
nestedElements
in class DataField
@Deprecated public void nestedElements(java.util.Hashtable theTable)
DataField
nestedElements
in class DataField
@Deprecated public Vector nestedFields()
DataField
nestedFields
in class DataField
public void setValidValue(boolean value) throws DSETypeException
DataField
setValidValue
in class DataField
value
- boolean
DSETypeException
public void setValidValue(byte value) throws DSETypeException
DataField
setValidValue
in class DataField
value
- byte
DSETypeException
public void setValidValue(char value) throws DSETypeException
DataField
setValidValue
in class DataField
value
- char
DSETypeException
public void setValidValue(double value) throws DSETypeException
DataField
setValidValue
in class DataField
value
- double
DSETypeException
public void setValidValue(float value) throws DSETypeException
DataField
setValidValue
in class DataField
value
- float
DSETypeException
public void setValidValue(int value) throws DSETypeException
DataField
setValidValue
in class DataField
value
- int
DSETypeException
public void setValidValue(long value) throws DSETypeException
DataField
setValidValue
in class DataField
value
- long
DSETypeException
public void setValidValue(java.lang.Object value) throws DSETypeException
DataField
setValidValue
in class DataField
DSETypeException
public java.lang.String toString()
DataField
toString
in class DataField
@Deprecated public java.lang.Object validate(java.lang.Object toValidate, java.lang.String convType) throws DSETypeException
DataField
validate
in class DataField
toValidate
- java.lang.ObjectconvType
- String
DSETypeException
- - If the object has not been successfully validated@Deprecated protected void validateState(java.lang.Object toValidate) throws DSETypeException
DataField
validateState
in class DataField
toValidate
- java.lang.Object
DSETypeException
public void setValue(long value)
DataField
setValue
in class DataField
value
- longpublic void setValue(java.lang.Object value) throws DSEInvalidArgumentException
DataField
setValue
in class DataField
value
- java.lang.Object
DSEInvalidArgumentException
@Deprecated public Externalizer externalizer() throws java.io.IOException
DataElement
externalizer
in class DataElement
java.io.IOException
@Deprecated public java.lang.String getCompositeKey()
DataElement
getCompositeKey
in class DataElement
@Deprecated public java.lang.String getDescription()
DataElement
getDescription
in class DataElement
@Deprecated public PropertyDescription getDescriptor()
DataElement
getDescriptor
in interface TypedData
getDescriptor
in class DataElement
@Deprecated public DataElement getElementAt(java.lang.String name) throws DSEObjectNotFoundException
DataElement
getElementAt
in class DataElement
name
- java.lang.String
DSEObjectNotFoundException
@Deprecated public ErrorInfo getErrorInfo()
DataElement
getErrorInfo
in class DataElement
@Deprecated public Key getKey() throws DSETypeException
DataElement
getKey
in interface TypedData
getKey
in class DataElement
DSETypeException
- - If the key can not be built from this business object@Deprecated public ElementState getState()
DataElement
getState
in class DataElement
@Deprecated public boolean isAmended()
DataElement
isAmended
in class DataElement
@Deprecated public boolean isCached()
DataElement
isCached
in class DataElement
@Deprecated public boolean isSerializable()
isSerializable
in class DataElement
public DataElement removeElementAt(java.lang.String name) throws DSEObjectNotFoundException
DataElement
removeElementAt
in class DataElement
name
- java.lang.String
DSEObjectNotFoundException
public void setAmended(boolean value)
setAmended
in class DataElement
value
- boolean@Deprecated public void setCompositeKey(java.lang.String compositeKey)
DataElement
setCompositeKey
in class DataElement
@Deprecated public void setDescription(java.lang.String description)
DataElement
setDescription
in class DataElement
description
- java.lang.String@Deprecated public void setDescriptor(PropertyDescription descriptor)
DataElement
setDescriptor
in interface TypedData
setDescriptor
in class DataElement
descriptor
- PropertyDescription@Deprecated public void setErrorInfo(ErrorInfo anErrorInfo)
DataElement
setErrorInfo
in class DataElement
@Deprecated public void setIsCached(boolean cached)
DataElement
setIsCached
in class DataElement
@Deprecated public void setParameter(java.lang.String parameterName, java.lang.Object parameterValue)
DataElement
setParameter
in class DataElement
parameterName
- StringparameterValue
- Object@Deprecated public void setParameters(Hashtable theParameters)
DataElement
setParameters
in class DataElement
@Deprecated public void setState(ElementState state)
DataElement
setState
in class DataElement
state
- com.ibm.btt.base.types.ElementState@Deprecated public java.lang.Object validate(java.lang.Object toValidate) throws DSETypeException
DataElement
validate
in class DataElement
DSETypeException
- - If the object has not been successfully validated@Deprecated public java.lang.Object validateObject(java.lang.Object toValidate) throws DSETypeException
DataElement
validateObject
in class DataElement
DSETypeException
- - If the object has not been successfully validatedpublic void readExternal(java.io.ObjectInput s) throws java.io.IOException, java.lang.ClassNotFoundException
DataField
readExternal
in interface java.io.Externalizable
readExternal
in class DataField
s
- java.io.ObjectInput
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput s) throws java.io.IOException
DataField
writeExternal
in interface java.io.Externalizable
writeExternal
in class DataField
s
- java.io.ObjectOutput
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 |