Package org.motechproject.mots.domain
Class AssignedModules
- java.lang.Object
-
- org.motechproject.mots.domain.BaseEntity
-
- org.motechproject.mots.domain.BaseTimestampedEntity
-
- org.motechproject.mots.domain.AssignedModules
-
@Entity public class AssignedModules extends BaseTimestampedEntity
This class represents relation betweenModules andCommunityHealthWorker. Single CommunityHealthWorker can be assigned to multiple modules.
-
-
Constructor Summary
Constructors Constructor Description AssignedModules()AssignedModules(CommunityHealthWorker healthWorker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidunassignModule(Module module)
-
-
-
Constructor Detail
-
AssignedModules
public AssignedModules()
-
AssignedModules
public AssignedModules(CommunityHealthWorker healthWorker)
-
-
Method Detail
-
unassignModule
public void unassignModule(Module module)
-
-