|
|||||||||
| 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.base.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.dse.base.DataElement |
description,
name,
state |
| Constructor Summary | |
DataField()
This constructor creates the DataField object. |
|
DataField(java.lang.String aName)
This constructor creates the DataField object with the id aName. |
|
| 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 |
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. |
java.lang.String |
toString()
Returns a visual representation of the DataField. |
java.lang.Object |
validate(java.lang.Object toValidate)
Validates an object using its property descriptor |
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.dse.base.DataElement |
externalizer,
getDescription,
getDescriptor,
getElementAt,
getErrorInfo,
getExternalizer,
getKey,
getName,
getState,
getTagName,
readExternal,
readObject,
removeElementAt,
removeExternal,
setDescription,
setDescriptor,
setErrorInfo,
setExternalizer,
setName,
setState,
toStrings,
toTags,
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| Method Detail |
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public java.lang.Object getValue()
setValue(byte)
public java.lang.Object initializeFrom(Tag aTag)
throws java.io.IOException
aTag - Tagpublic Vector nestedElements()
public void nestedElements(java.util.Hashtable theTable)
public Vector nestedFields()
public void readExternal(java.io.ObjectInput s)
throws java.io.IOException,
java.lang.ClassNotFoundException
s - java.io.ObjectInput
public void setValidValue(byte aValue)
throws DSETypeException
aValue - byte
public void setValidValue(char aValue)
throws DSETypeException
aValue - char
public void setValidValue(double aValue)
throws DSETypeException
aValue - double
public void setValidValue(float aValue)
throws DSETypeException
aValue - float
public void setValidValue(int aValue)
throws DSETypeException
aValue - int
public void setValidValue(long aValue)
throws DSETypeException
aValue - long
public void setValidValue(java.lang.Object aValue)
throws DSETypeException
value - The new value for the property.getValue()
public void setValidValue(boolean aValue)
throws DSETypeException
aValue - booleanpublic 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)
value - The new value for the property.getValue()public void setValue(boolean aValue)
aValue - booleanpublic java.lang.String toString()
public java.lang.Object validate(java.lang.Object toValidate)
throws DSETypeException
protected void validateState(java.lang.Object toValidate)
throws DSETypeException
toValidate - java.lang.Object
public void writeExternal(java.io.ObjectOutput s)
throws java.io.IOException
s - java.io.ObjectOutput
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||