IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.bean
Class ShortDataField

java.lang.Object
  extended by com.ibm.btt.base.DataElement
      extended by com.ibm.btt.base.DataField
          extended by com.ibm.btt.bean.ShortDataField
All Implemented Interfaces:
DSECloneable, TypedData, java.io.Externalizable, java.io.Serializable, java.lang.Cloneable

public class ShortDataField
extends DataField

The ShortDataField class is the basic unit of the ShortArrayCollection.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.btt.base.DataField
value
 
Fields inherited from class com.ibm.btt.base.DataElement
description, direction, name, parameters, state
 
Constructor Summary
  ShortDataField()
          This constructor creates the ShortDataField object.
protected ShortDataField(short[] obj, int key)
           
 
Method Summary
 java.lang.Object clone()
          Returns a new ShortDataField cloned from the current one.
 java.lang.Object getValue()
          Return the short[identifier] value
 void readExternal(java.io.ObjectInput s)
          Invokes the object creation from an ObjectInput.
 void setValidValue(boolean value)
          Deprecated. 
 void setValidValue(byte value)
          Deprecated. 
 void setValidValue(char value)
          Deprecated. 
 void setValidValue(double value)
          Deprecated. 
 void setValidValue(float value)
          Deprecated. 
 void setValidValue(int value)
          Deprecated. 
 void setValidValue(long value)
          Deprecated. 
 void setValidValue(java.lang.Object value)
          Sets the value property (java.lang.Object) value.
 void setValidValue(short aValue)
          Sets the short[identifier] value identified by identifier
 void setValue(boolean value)
          Deprecated. 
 void setValue(byte value)
          Deprecated. 
 void setValue(char value)
          Deprecated. 
 void setValue(double value)
          Deprecated. 
 void setValue(float value)
          Deprecated. 
 void setValue(int value)
          Deprecated. 
 void setValue(long value)
          Deprecated. 
 void setValue(java.lang.Object value)
          Sets the value property (java.lang.Object) value.
 void setValue(short value)
          Sets the short[identifier] value identified by identifier
 void writeExternal(java.io.ObjectOutput s)
          Provides concrete serialization handling for DataField.
 
Methods inherited from class com.ibm.btt.base.DataField
initializeFrom, nestedElements, nestedElements, nestedFields, toString, validate, validateState
 
Methods inherited from class com.ibm.btt.base.DataElement
externalizer, getCompositeKey, getDescription, getDescriptor, getDirection, getElementAt, getErrorInfo, getExternalizer, getKey, getName, getParameter, getParameters, getState, getTagName, isAmended, isCached, isSerializable, readExternal, readObject, removeElementAt, removeExternal, setAmended, setCompositeKey, setDescription, setDescriptor, setDirection, 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
 

Constructor Detail

ShortDataField

protected ShortDataField(short[] obj,
                         int key)

ShortDataField

public ShortDataField()
This constructor creates the ShortDataField object.

Method Detail

setValue

public void setValue(java.lang.Object value)
              throws DSEInvalidArgumentException
Description copied from class: DataField
Sets the value property (java.lang.Object) value.

Overrides:
setValue in class DataField
Parameters:
value - java.lang.Object
Throws:
DSEInvalidArgumentException

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Returns a new ShortDataField cloned from the current one.

Specified by:
clone in interface DSECloneable
Overrides:
clone in class DataField
Returns:
java.lang.Object
Throws:
java.lang.CloneNotSupportedException - - if a problem occurs trying to clone the object

getValue

public java.lang.Object getValue()
Return the short[identifier] value

Overrides:
getValue in class DataField
Returns:
object
See Also:
DataField.setValue(byte)

setValidValue

public void setValidValue(java.lang.Object value)
                   throws DSETypeException
Description copied from class: DataField
Sets the value property (java.lang.Object) value.

Overrides:
setValidValue in class DataField
Throws:
DSETypeException

setValidValue

@Deprecated
public void setValidValue(boolean value)
                   throws DSETypeException
Deprecated. 

Description copied from class: DataField
Set the value attribute to the corresponding Boolean making the conversion from boolean.

Overrides:
setValidValue in class DataField
Parameters:
value - boolean
Throws:
DSETypeException

setValidValue

@Deprecated
public void setValidValue(byte value)
                   throws DSETypeException
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Byte making the conversion from byte.

Overrides:
setValidValue in class DataField
Parameters:
value - byte
Throws:
DSETypeException

setValidValue

@Deprecated
public void setValidValue(char value)
                   throws DSETypeException
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Character making the conversion from char.

Overrides:
setValidValue in class DataField
Parameters:
value - char
Throws:
DSETypeException

setValidValue

@Deprecated
public void setValidValue(double value)
                   throws DSETypeException
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Double making the conversion from double.

Overrides:
setValidValue in class DataField
Parameters:
value - double
Throws:
DSETypeException

setValidValue

@Deprecated
public void setValidValue(float value)
                   throws DSETypeException
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Float making the conversion from float.

Overrides:
setValidValue in class DataField
Parameters:
value - float
Throws:
DSETypeException

setValidValue

@Deprecated
public void setValidValue(int value)
                   throws DSETypeException
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Integer making the conversion from int.

Overrides:
setValidValue in class DataField
Parameters:
value - int
Throws:
DSETypeException

setValidValue

@Deprecated
public void setValidValue(long value)
                   throws DSETypeException
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Long making the conversion from long.

Overrides:
setValidValue in class DataField
Parameters:
value - long
Throws:
DSETypeException

setValue

@Deprecated
public void setValue(boolean value)
Deprecated. 

Description copied from class: DataField
Set the value attribute to the corresponding Boolean making the conversion from boolean.

Overrides:
setValue in class DataField
Parameters:
value - boolean

setValue

@Deprecated
public void setValue(byte value)
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Byte making the conversion from byte.

Overrides:
setValue in class DataField
Parameters:
value - byte

setValue

@Deprecated
public void setValue(char value)
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Character making the conversion from char.

Overrides:
setValue in class DataField
Parameters:
value - char

setValue

@Deprecated
public void setValue(double value)
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Double making the conversion from double.

Overrides:
setValue in class DataField
Parameters:
value - double

setValue

@Deprecated
public void setValue(float value)
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Float making the conversion from float.

Overrides:
setValue in class DataField
Parameters:
value - float

setValue

@Deprecated
public void setValue(int value)
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Integer making the conversion from int.

Overrides:
setValue in class DataField
Parameters:
value - int

setValue

@Deprecated
public void setValue(long value)
Deprecated. 

Description copied from class: DataField
Sets the value attribute to the corresponding Long making the conversion from long.

Overrides:
setValue in class DataField
Parameters:
value - long

setValidValue

public void setValidValue(short aValue)
                   throws DSETypeException
Sets the short[identifier] value identified by identifier

Overrides:
setValidValue in class DataField
Parameters:
aValue - short
Throws:
DSETypeException

setValue

public void setValue(short value)
Sets the short[identifier] value identified by identifier

Overrides:
setValue in class DataField
Parameters:
aValue - short

readExternal

public void readExternal(java.io.ObjectInput s)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Description copied from class: DataField
Invokes the object creation from an ObjectInput.

Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class DataField
Parameters:
s - java.io.ObjectInput
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput s)
                   throws java.io.IOException
Description copied from class: DataField
Provides concrete serialization handling for DataField.

Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class DataField
Parameters:
s - java.io.ObjectOutput
Throws:
java.io.IOException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011