Package COM.TIBCO.hawk.talon
Class CompositeData
java.lang.Object
COM.TIBCO.hawk.talon.CompositeData
- All Implemented Interfaces:
Serializable
An open data type used to build aggregates.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeData(DataElement[] data) Constructs a CompositeData from an array of DataElement objects. -
Method Summary
-
Constructor Details
-
CompositeData
Constructs a CompositeData from an array of DataElement objects.- Parameters:
data- An array of DataElement objects. May not be null or empty array, must have at least one element. The array may not contain null elements. All DataElement object must have unique names. All DataElement values must be of an open data type (as identified by the OpenData interface), or null.- Throws:
IllegalArgumentException- if the parameter conditions are violated.- See Also:
-
-
Method Details
-
getDataElements
Returns an array containing the same DataElement objects, but not necessarily in the same order, used to construct this object.- Returns:
- all data elements of the CompositeData object
-
getValue
Returns the value of the named element.- Returns:
- The value of the named element. Null if named element has a null value or if the named element is not found.
-
toString
-
toXML
- Returns:
- a XML representation of the composite data object
-
equals
Compares this object against the specified object.Two CompositeData objects are equal if they have the same name-value pairs represented by their aggregate DataElement objects. The order in which DataElement objects were supplied during construction does not affect equality.
-