public interface IFlagModel
Modifier and Type | Method and Description |
---|---|
void |
clear(Flag flag)
Clear the given flag (assign false).
|
RoleAssignmentFlag |
getRoleAssignmentFlag()
Role flag.
|
boolean |
isSet(Flag flag)
Check if the given flag is set or not.
|
void |
set(Flag flag)
Set the given flag (assign true).
|
void |
set(Flag flag,
boolean value)
Set the given flag to the specified value.
|
void |
setRoleAssignmentFlag(RoleAssignmentFlag value)
Set the role assignment flag the the given value.
|
boolean |
update(IPerception perception)
Called to trigger a update of the Flags based on the given perception
object.
|
boolean update(IPerception perception)
perception
- - the Perceptionvoid set(Flag flag)
flag
- - the flag to setvoid clear(Flag flag)
flag
- - the flag to clearvoid set(Flag flag, boolean value)
flag
- - the flag to set/clearvalue
- - the new value of the flagboolean isSet(Flag flag)
flag
- - the flag to checkvoid setRoleAssignmentFlag(RoleAssignmentFlag value)
value
- - the new value of the role-assignment-flagRoleAssignmentFlag getRoleAssignmentFlag()