org.deri.wsmo4j.choreography
Class ChoreographyRI

java.lang.Object
  extended by com.ontotext.wsmo4j.common.EntityImpl
      extended by org.deri.wsmo4j.choreography.ChoreographyRI
All Implemented Interfaces:
org.wsmo.common.Entity, org.wsmo.service.Choreography

public class ChoreographyRI
extends com.ontotext.wsmo4j.common.EntityImpl
implements Choreography

Choreography Reference Implementation. TODO: the accept method *probably* accepts the wrong type of Visitor (it should rather be org.wsmo.service.Visitor)

     Created on Jul 26, 2005
     Committed by $Author: vassil_momtchev $
     $Source$
 

Version:
$Revision: 1844 $ $Date: 2006-10-24 17:11:48 +0300 (Tue, 24 Oct 2006) $
Author:
Thomas Haselwanter, James Scicluna, Vassil Momtchev

Constructor Summary
ChoreographyRI(org.wsmo.common.Identifier id)
           
ChoreographyRI(org.wsmo.common.Identifier id, StateSignature signature, ChoreographyRules rules)
          Initializes a default Choreography Implementation given the IRI,StateSignature and Rules objects.
 
Method Summary
 ChoreographyRules getRules()
          Returns the Rules container of this choreography or null if the Rules container was not set.
 StateSignature getStateSignature()
          Returns the StateSignature of this choreograhy or null if the StateSignature was not set.
 void setRules(ChoreographyRules rules)
          Sets the Rules container of this choreography or null to remove the current Rules container.
 void setStateSignature(StateSignature stateSignature)
          Sets the StateSignature of this choreograhy.
 
Methods inherited from class com.ontotext.wsmo4j.common.EntityImpl
addNFPValue, addNFPValue, equals, getIdentifier, hashCode, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wsmo.common.Entity
addNFPValue, addNFPValue, getIdentifier, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue
 

Constructor Detail

ChoreographyRI

public ChoreographyRI(org.wsmo.common.Identifier id,
                      StateSignature signature,
                      ChoreographyRules rules)
Initializes a default Choreography Implementation given the IRI,StateSignature and Rules objects.

Parameters:
id - Identifier IRI of the choreography
signature - StateSignature of the choreography
rules - Rules container of the choreography

ChoreographyRI

public ChoreographyRI(org.wsmo.common.Identifier id)
Method Detail

getStateSignature

public StateSignature getStateSignature()
Description copied from interface: Choreography
Returns the StateSignature of this choreograhy or null if the StateSignature was not set.

Returns:
StateSignature or null

setStateSignature

public void setStateSignature(StateSignature stateSignature)
Description copied from interface: Choreography
Sets the StateSignature of this choreograhy.

Parameters:
stateSignature - StateSignature or null

getRules

public ChoreographyRules getRules()
Description copied from interface: Choreography
Returns the Rules container of this choreography or null if the Rules container was not set.

Returns:
Rules object or null

setRules

public void setRules(ChoreographyRules rules)
Description copied from interface: Choreography
Sets the Rules container of this choreography or null to remove the current Rules container.

Parameters:
rules - Rules object or null


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.