|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ontotext.wsmo4j.common.EntityImpl org.deri.wsmo4j.choreography.ChoreographyRI
public class ChoreographyRI
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$
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 |
---|
public ChoreographyRI(org.wsmo.common.Identifier id, StateSignature signature, ChoreographyRules rules)
IRI
,StateSignature
and Rules
objects.
id
- Identifier IRI
of the choreographysignature
- StateSignature
of the choreographyrules
- Rules
container of the choreographypublic ChoreographyRI(org.wsmo.common.Identifier id)
Method Detail |
---|
public StateSignature getStateSignature()
Choreography
StateSignature
of this choreograhy or
null if the StateSignature was not set.
StateSignature
or nullpublic void setStateSignature(StateSignature stateSignature)
Choreography
StateSignature
of this choreograhy.
stateSignature
- StateSignature
or nullpublic ChoreographyRules getRules()
Choreography
Rules
container of this choreography
or null if the Rules container was not set.
Rules
object or nullpublic void setRules(ChoreographyRules rules)
Choreography
Rules
container of this choreography or
null to remove the current Rules container.
rules
- Rules
object or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |