org.pasoa.common.structure
Class Record

java.lang.Object
  extended by org.pasoa.common.structure.Record
Direct Known Subclasses:
RecordSf

public class Record
extends Object

Represents a P-Assertion to be recorded in a provenance store.

Author:
pgroth, sm

Constructor Summary
Record(PAssertion passertion, InteractionKey identifiers, String viewKind, Element asserter)
          A Record defines a P-Assertion to be recorded, what interaction record and view the P-Assertion should be recorded under in the provenance store and finally the asserter of that message.
 
Method Summary
 Element getAsserter()
           
 InteractionKey getIdentifiers()
           
 PAssertion getPAssertion()
           
 String getViewKind()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Record

public Record(PAssertion passertion,
              InteractionKey identifiers,
              String viewKind,
              Element asserter)
A Record defines a P-Assertion to be recorded, what interaction record and view the P-Assertion should be recorded under in the provenance store and finally the asserter of that message.

Parameters:
passertion - the p-assertion to be recorded
identifiers - identifies the interaction that the p-assertion should be recorded under
viewKind - this should be either Constants.CLIENT_VIEW or Constants.SERVICE_VIEW and identifies the view in the interaction that the p-assertion should be recorded under.
asserter - the asserter of the p-assertion
See Also:
for recording the submission finished message
Method Detail

getViewKind

public String getViewKind()

getIdentifiers

public InteractionKey getIdentifiers()

getPAssertion

public PAssertion getPAssertion()

getAsserter

public Element getAsserter()