Package com.attivio.sdk.esb
Class GroupedMessageId
- java.lang.Object
-
- com.attivio.sdk.esb.MessageId
-
- com.attivio.sdk.esb.GroupedMessageId
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<MessageId>
public class GroupedMessageId extends MessageId implements java.lang.Cloneable
An Id used to associate messages together into a group. All messages in a group share the samegetGroupId()
in their GroupedMessageIds. Only PlatformMessages which implement theGroupedMessage
interface will be recognized by the system and processed as a group.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.attivio.sdk.esb.MessageId
id, numChildren
-
-
Constructor Summary
Constructors Constructor Description GroupedMessageId(java.lang.String groupId)
Creates a new GroupedMessageId withgroupId
as the group id and with the message id set to 1.GroupedMessageId(java.lang.String groupId, int[] id)
GroupedMessageId(java.lang.String groupId, int[] parentParts, int childId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupedMessageId
addChild()
Adds a child to this group.GroupedMessageId
clone()
boolean
equals(java.lang.Object obj)
java.lang.String
getGroupId()
int
hashCode()
void
setGroupId(java.lang.String groupId)
java.lang.String
toString()
-
Methods inherited from class com.attivio.sdk.esb.MessageId
compareTo, createNextSibling, getNumberOfChildren, getNumberOfParts, getPart, getParts, invalidMessageId, isParentOf, parseMessageId, setNumberOfChildren, stringValue, toString, valueOf
-
-
-
-
Constructor Detail
-
GroupedMessageId
public GroupedMessageId(java.lang.String groupId)
Creates a new GroupedMessageId withgroupId
as the group id and with the message id set to 1.- Parameters:
groupId
-
-
GroupedMessageId
public GroupedMessageId(java.lang.String groupId, int[] id)
-
GroupedMessageId
public GroupedMessageId(java.lang.String groupId, int[] parentParts, int childId)
-
-
Method Detail
-
getGroupId
public java.lang.String getGroupId()
-
toString
public java.lang.String toString()
Description copied from class:MessageId
-
setGroupId
public void setGroupId(java.lang.String groupId)
-
addChild
public GroupedMessageId addChild()
Adds a child to this group. The return value should be set on the message to add to the group.
-
clone
public GroupedMessageId clone()
-
-