org.scribble.protocol.model
Class RecBlock

java.lang.Object
  extended by org.scribble.protocol.model.ModelObject
      extended by org.scribble.protocol.model.Activity
          extended by org.scribble.protocol.model.RecBlock

public class RecBlock
extends Activity

This class represents the Recur construct.


Constructor Summary
RecBlock()
          This is the default constructor.
 
Method Summary
 boolean equals(Object o)
           
 Block getBlock()
          This method returns the activities.
 String getLabel()
          This method returns the label associated with the labelled block construct.
 int hashCode()
           
 void setBlock(Block block)
          This method sets the block.
 void setLabel(String label)
          This method sets the label associated with the labelled block construct.
 String toString()
           
 void visit(Visitor visitor)
          This method visits the model object using the supplied visitor.
 
Methods inherited from class org.scribble.protocol.model.Activity
getEnclosingProtocol
 
Methods inherited from class org.scribble.protocol.model.ModelObject
derivedFrom, getAnnotations, getModel, getParent, getProperties, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecBlock

public RecBlock()
This is the default constructor.

Method Detail

getLabel

public String getLabel()
This method returns the label associated with the labelled block construct.

Returns:
The label

setLabel

public void setLabel(String label)
This method sets the label associated with the labelled block construct.

Parameters:
label - The label

getBlock

public Block getBlock()
This method returns the activities.

Returns:
The block of activities

setBlock

public void setBlock(Block block)
This method sets the block.

Parameters:
block - The block

visit

public void visit(Visitor visitor)
This method visits the model object using the supplied visitor.

Specified by:
visit in class ModelObject
Parameters:
visitor - The visitor

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-Present Scribble.org. All Rights Reserved.