org.deri.wsmo4j.choreography.rule
Class PipedRulesRI

java.lang.Object
  extended by org.deri.wsmo4j.choreography.rule.PipedRulesRI
All Implemented Interfaces:
ChoreographyPipedRules, ChoreographyRule, Rule

public class PipedRulesRI
extends Object
implements ChoreographyPipedRules

Interface or class description

Version:
$Revision: 1844 $ $Date: 2006-10-24 17:11:48 +0300 (Tue, 24 Oct 2006) $
Author:
James Scicluna, Thomas Haselwanter Created on 02-Feb-2006 Committed by $Author: vassil_momtchev $ $Source$,

Constructor Summary
PipedRulesRI()
           
PipedRulesRI(Set<ChoreographyRule> rules)
           
 
Method Summary
 void accept(Visitor visitor)
          Acceptor method for the Visitor.
 void addPipedRule(ChoreographyRule rule)
          Adds a rule to the list of piped rules
 Set<ChoreographyRule> listPipedRules()
          returns the set of Piped Rules
 void removePipedRule(ChoreographyRule rule)
          Removes a rule from the list of piped rules
 String toString()
           
 String toString(org.wsmo.common.TopEntity te)
          Returns a string representation of the Rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PipedRulesRI

public PipedRulesRI()

PipedRulesRI

public PipedRulesRI(Set<ChoreographyRule> rules)
Method Detail

addPipedRule

public void addPipedRule(ChoreographyRule rule)
Description copied from interface: ChoreographyPipedRules
Adds a rule to the list of piped rules

Specified by:
addPipedRule in interface ChoreographyPipedRules
Parameters:
rule - Rule object to be added

removePipedRule

public void removePipedRule(ChoreographyRule rule)
Description copied from interface: ChoreographyPipedRules
Removes a rule from the list of piped rules

Specified by:
removePipedRule in interface ChoreographyPipedRules
Parameters:
rule - Rule object to be removed

listPipedRules

public Set<ChoreographyRule> listPipedRules()
Description copied from interface: ChoreographyPipedRules
returns the set of Piped Rules

Specified by:
listPipedRules in interface ChoreographyPipedRules
Returns:
A Set of Rule objects

accept

public void accept(Visitor visitor)
Description copied from interface: Rule
Acceptor method for the Visitor.

Specified by:
accept in interface Rule
Parameters:
visitor - Rule-Visitor object

toString

public String toString(org.wsmo.common.TopEntity te)
Description copied from interface: Rule
Returns a string representation of the Rule.

Specified by:
toString in interface Rule
Returns:
String representing the rule object.

toString

public String toString()
Overrides:
toString in class Object


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