Package COM.TIBCO.hawk.talon
Class DataElement
java.lang.Object
COM.TIBCO.hawk.talon.DataElement
- All Implemented Interfaces:
Serializable
Used to represent data objects in name-value pairs.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DataElement
- Parameters:
name- the name of the element. May not be null or empty string.
-
-
Method Details
-
getName
Returns the name of this element.- Returns:
- the name of this element
-
getValue
Returns the value of this element.- Returns:
- the value of this element
-
equals
Compares this object against the specified object.Two DataElement objects are equal if they have the same name and and equal value parameters.
-
toString
Returns a string representation of this element. -
toXML
Returns a XML representation of this element.- Returns:
- a XML representation of this element.
-