Class DataObject
java.lang.Object
com.aquima.interactions.communication.data.DataValue
com.aquima.interactions.communication.data.DataObject
- All Implemented Interfaces:
Serializable
Represents an object in the data structure.
- Since:
- 9.3
- Author:
- A.Pragt
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMember
(String memberName) Indicator of member existence.boolean
String[]
Returns the names of the members.Returns the value of a member.int
hashCode()
void
Sets the value of a member.toString()
-
Constructor Details
-
DataObject
Constructs a DataObject.- Parameters:
type
- The type of the object, not null.
-
-
Method Details
-
getMemberNames
Returns the names of the members.- Returns:
- The names, never null.
-
getValue
Returns the value of a member.- Parameters:
memberName
- The name of the member, not null.- Returns:
- The value of the member, or null if not set.
-
containsMember
Indicator of member existence.- Parameters:
memberName
- The name of the property, not null.- Returns:
- true when a member matching the name exists, otherwise false.
-
setValue
Sets the value of a member.- Parameters:
memberName
- The name of the member to set, not null.value
- The value of the member, may be null.
-
hashCode
public int hashCode() -
equals
-
toString
-