objectgen.usecase
Class Step

java.lang.Object
  extended byobjectgen.usecase.Step
All Implemented Interfaces:
IStep

public class Step
extends java.lang.Object
implements IStep

Implementation of IStep interface.


Field Summary
 
Fields inherited from interface objectgen.usecase.IStep
INV, MAIN, PRE
 
Constructor Summary
Step()
          Creates a new instance of Step
 
Method Summary
 java.lang.String getAction()
           
 java.lang.String getConclution()
           
 java.lang.String getCondition()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.lang.String getParticipant()
          Returns who perfoms the step.
 int getType()
          This is unuseful due we have several iterator to traverse all main step, all pre steps and all inv steps
 boolean hasConclution()
           
 boolean isFinal()
          Returns true if the step ends the use case
 void setAction(java.lang.String c)
           
 void setConclution(java.lang.String c)
           
 void setCondition(java.lang.String c)
           
 void setDescription(java.lang.String d)
           
 void setId(java.lang.String id)
           
 void setParticipant(java.lang.String p)
           
 void setType(int type)
           
 java.lang.String toString()
          For testing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Step

public Step()
Creates a new instance of Step

Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface IStep

setId

public void setId(java.lang.String id)
Specified by:
setId in interface IStep

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface IStep

setDescription

public void setDescription(java.lang.String d)
Specified by:
setDescription in interface IStep

getParticipant

public java.lang.String getParticipant()
Description copied from interface: IStep
Returns who perfoms the step. It may be the system or an external actor.

Specified by:
getParticipant in interface IStep

setParticipant

public void setParticipant(java.lang.String p)
Specified by:
setParticipant in interface IStep

isFinal

public boolean isFinal()
Description copied from interface: IStep
Returns true if the step ends the use case

Specified by:
isFinal in interface IStep

getType

public int getType()
This is unuseful due we have several iterator to traverse all main step, all pre steps and all inv steps

Specified by:
getType in interface IStep

setType

public void setType(int type)
Specified by:
setType in interface IStep

getCondition

public java.lang.String getCondition()
Specified by:
getCondition in interface IStep

setCondition

public void setCondition(java.lang.String c)
Specified by:
setCondition in interface IStep

getAction

public java.lang.String getAction()
Specified by:
getAction in interface IStep

setAction

public void setAction(java.lang.String c)
Specified by:
setAction in interface IStep

getConclution

public java.lang.String getConclution()
Specified by:
getConclution in interface IStep

setConclution

public void setConclution(java.lang.String c)
Specified by:
setConclution in interface IStep

hasConclution

public boolean hasConclution()
Specified by:
hasConclution in interface IStep

toString

public java.lang.String toString()
For testing