cartago
Class OpId

java.lang.Object
  extended by cartago.OpId
All Implemented Interfaces:
java.io.Serializable

public class OpId
extends java.lang.Object
implements java.io.Serializable

Unique identifier of an operation (instance) executed by an artifact

Author:
aricci
See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object obj)
           
 AgentId getAgentBodyId()
          Get the identifier of the agent performer of the operation
 ArtifactId getArtifactId()
          Get the id of the artifact where the operation has been executed
 int getId()
          Get the numeric identifier of the operation id
 java.lang.String getOpName()
          Get the operation name.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public int getId()
Get the numeric identifier of the operation id

Returns:

getOpName

public java.lang.String getOpName()
Get the operation name.

Returns:

getArtifactId

public ArtifactId getArtifactId()
Get the id of the artifact where the operation has been executed

Returns:

getAgentBodyId

public AgentId getAgentBodyId()
Get the identifier of the agent performer of the operation

Returns:

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


>DEIS - University of Bologna