guarana.framework.message
Class Parent
java.lang.Object
guarana.framework.message.Parent
- All Implemented Interfaces:
- Serializable
public class Parent
- extends Object
- implements Serializable
Represents the ancestor of a Message
. It allows to keep track of a message since it has been originated, enabling analysis and debug.
Please, note that a parent can have more than one parent.
- Since:
- Guaranį SDK 1.0.0
- Author:
- Rafael Z. Frantz
- See Also:
- Serialized Form
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
Parent
public Parent(String ID,
Set<Parent> ancestors)
- Constructs a new Parent.
- Parameters:
ID
- The identifier of this parent.ancestors
- A set of parents for this object.
getID
public String getID()
- Returns the parent ID.
- Returns:
- the parent ID.
getAncestors
public Set<Parent> getAncestors()
- Returns a all ancestors of this parent.
- Returns:
- the set of parents.
Guaranį DSL Home