Package org.motechproject.mots.domain
Class Unit
- java.lang.Object
-
- org.motechproject.mots.domain.BaseEntity
-
- org.motechproject.mots.domain.BaseTimestampedEntity
-
- org.motechproject.mots.domain.IvrObject
-
- org.motechproject.mots.domain.Unit
-
@Entity public class Unit extends IvrObject
This class represents lowest level call flow area. Units containsCallFlowElements that are used to communicate betweenCommunityHealthWorkerand the IVR system.
-
-
Constructor Summary
Constructors Constructor Description Unit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnitcopyAsNewDraft(Module module)Create a draft copy of Unit.voidsetCallFlowElements(java.util.List<CallFlowElement> callFlowElements)Update list content.
-
-
-
Method Detail
-
setCallFlowElements
public void setCallFlowElements(java.util.List<CallFlowElement> callFlowElements)
Update list content.- Parameters:
callFlowElements- list of new Call Flow Elements
-
-