Class MobileCardInterventionRule
java.lang.Object
overit.geocallapp.wfm.core.bl.mobilecard.interventionrule.MobileCardInterventionRule
- All Implemented Interfaces:
Serializable
Object representing the Mobile Card Rule.
- Since:
- 13.0
- See Also:
- GCApi:
- bo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the pairs (User Types/Intervention States) conflict with those in the rule parameter (only if both rules are Active)clone()Clones a MobileCardInterventionRule.Returns Active field.getCards()Returns the Cards.getCode()Returns the Code.Returns the Description.Returns the States.Returns the User Types.voidSets the Active field.voidsetCards(List<MobileCard> cards) Sets the Cards.voidSets the Code.voidsetDescription(LocalizedString description) Sets the Description.voidSets the States.voidsetUserTypes(Set<Long> userTypes) Sets the User Types.
-
Constructor Details
-
MobileCardInterventionRule
public MobileCardInterventionRule()
-
-
Method Details
-
getCode
Returns the Code.- Returns:
- the Code
-
setCode
Sets the Code.- Parameters:
code- the Mobile Card Intervention Rule
-
getDescription
Returns the Description.- Returns:
- the Description
-
setDescription
Sets the Description.- Parameters:
description- the Mobile Card Intervention Rule
-
getStates
Returns the States.- Returns:
- the States
-
setStates
Sets the States.- Parameters:
states- the Mobile Card Intervention Rule
-
getUserTypes
Returns the User Types.- Returns:
- the User Types
-
setUserTypes
Sets the User Types.- Parameters:
userTypes- the Mobile Card Intervention Rule
-
getCards
Returns the Cards.- Returns:
- the Cards
-
setCards
Sets the Cards.- Parameters:
cards- the Mobile Card Intervention Rule
-
getActive
Returns Active field.- Returns:
- the Active field
-
setActive
Sets the Active field.- Parameters:
active- the Mobile Card Intervention Rule
-
clone
Clones a MobileCardInterventionRule. -
checkUserTypeAndStatesConfilcts
Check if the pairs (User Types/Intervention States) conflict with those in the rule parameter (only if both rules are Active)- Parameters:
rule- to compare with- Returns:
- true if there are no conflicts
-