de.uni_paderborn.fujaba.sequencer
Class Rep

java.lang.Object
  extended byde.uni_paderborn.fujaba.sequencer.Flow
      extended byde.uni_paderborn.fujaba.sequencer.Rep

public class Rep
extends Flow

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.32 $
Author:
$Author: schneider $

Field Summary
private  Seq bodySeq
          The body of the repetition
static boolean FOOT_CONTROLLED
          No comment provided by developer, please add a comment to improve documentation.
static boolean HEAD_CONTROLLED
          No comment provided by developer, please add a comment to improve documentation.
private  boolean headedByActivity
          No comment provided by developer, please add a comment to improve documentation.
private  UMLTransition leavingUMLTransition
          The transition which leaves the repetition top/buttom controlled
private static org.apache.log4j.Logger log
          log4j logging
private  UMLTransition nextUMLTransition
          The transition which runs the repetition
private  boolean type
          The type of transition
 
Constructor Summary
Rep()
          Constructor for class Rep
Rep(Seq bodySeq, UMLTransition nextUMLTransition, UMLTransition leavingUMLTransition, boolean type)
           
 
Method Summary
 OOGenToken generateSourceCode(OOGenToken firstToken, OOGenToken lastToken)
          No comment provided by developer, please add a comment to improve documentation.
 Seq getBodySeq()
          Get the bodySeq attribute of the Rep object
private  OOExpression getCondition(OOGenStrategyClient client)
          Get the condition attribute of the Rep object
 UMLTransition getLeavingUMLTransition()
          Get the leavingUMLTransition attribute of the Rep object
 UMLTransition getNextUMLTransition()
          Get the nextUMLTransition attribute of the Rep object
 boolean getType()
          Get the type attribute of the Rep object
 boolean isHeadedByActivity()
           
 void removeLastFlowActivity(FlowActivity flowActivity)
          No comment provided by developer, please add a comment to improve documentation.
 void setHeadedByActivity(boolean headedByActivity)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

private static final transient org.apache.log4j.Logger log
log4j logging


bodySeq

private Seq bodySeq
The body of the repetition


leavingUMLTransition

private UMLTransition leavingUMLTransition
The transition which leaves the repetition top/buttom controlled


nextUMLTransition

private UMLTransition nextUMLTransition
The transition which runs the repetition


type

private boolean type
The type of transition


HEAD_CONTROLLED

public static final boolean HEAD_CONTROLLED
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

FOOT_CONTROLLED

public static final boolean FOOT_CONTROLLED
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

headedByActivity

private boolean headedByActivity
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

Rep

public Rep()
Constructor for class Rep


Rep

public Rep(Seq bodySeq,
           UMLTransition nextUMLTransition,
           UMLTransition leavingUMLTransition,
           boolean type)
Parameters:
bodySeq - The body of the repetition
nextUMLTransition - The transition which runs the repetition
leavingUMLTransition - The transition which runs the repetition
type - The type of transition
Method Detail

isHeadedByActivity

public boolean isHeadedByActivity()
Returns:
Returns the headedByActivity.

setHeadedByActivity

public void setHeadedByActivity(boolean headedByActivity)
Parameters:
headedByActivity - The headedByActivity to set.

removeLastFlowActivity

public void removeLastFlowActivity(FlowActivity flowActivity)
No comment provided by developer, please add a comment to improve documentation.

Overrides:
removeLastFlowActivity in class Flow
Parameters:
flowActivity - No description provided

getCondition

private OOExpression getCondition(OOGenStrategyClient client)
Get the condition attribute of the Rep object

Parameters:
client - No description provided
Returns:
The condition value

getBodySeq

public Seq getBodySeq()
Get the bodySeq attribute of the Rep object

Returns:
The bodySeq value

getType

public boolean getType()
Get the type attribute of the Rep object

Returns:
The type value

getLeavingUMLTransition

public UMLTransition getLeavingUMLTransition()
Get the leavingUMLTransition attribute of the Rep object

Returns:
The leavingUMLTransition value

getNextUMLTransition

public UMLTransition getNextUMLTransition()
Get the nextUMLTransition attribute of the Rep object

Returns:
The nextUMLTransition value

generateSourceCode

public OOGenToken generateSourceCode(OOGenToken firstToken,
                                     OOGenToken lastToken)
No comment provided by developer, please add a comment to improve documentation.

Overrides:
generateSourceCode in class Flow
Parameters:
firstToken - No description provided
lastToken - No description provided
Returns:
No description provided

toString

public java.lang.String toString()
Overrides:
toString in class Flow
Returns:
short string representation of current object