public class DataElement
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DataElement(java.lang.String name,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this object against the specified object.
|
java.lang.String |
getName()
Returns the name of this element.
|
java.lang.Object |
getValue()
Returns the value of this element.
|
java.lang.String |
toString()
Returns a string representation of this element.
|
java.lang.String |
toXML()
Returns a XML representation of this element.
|
public DataElement(java.lang.String name, java.lang.Object value)
name
- the name of the element. May not be null or empty string.public java.lang.String getName()
public java.lang.Object getValue()
public boolean equals(java.lang.Object obj)
Two DataElement objects are equal if they have the same name and and equal value parameters.
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXML()
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.