JavaScript is disabled on your browser.
Fields in moise.oe declared as Role
Modifier and Type
Field
Description
private Role
RolePlayer. role
Methods in moise.os that return Role
Modifier and Type
Method
Description
Role
OSBuilder. addRole (java.lang.String grId,
java.lang.String roleId)
Methods in moise.os.ss that return types with arguments of type Role
Modifier and Type
Method
Description
java.util.Map<java.lang.String,Role >
Role. getAllSuperRoles ()
gets the super roles of this role (including the super roles of the super roles....,
but excluding this role).
java.util.Map<java.lang.String,Role >
Role. getEntailedRoles ()
gets the super roles of this role (including this role, the super roles of the super roles....)
The returned map keys are the roles' id (String) and the value is the role
CardinalitySet <Role >
Group. getRoles ()
returns a collection of this group's roles
java.util.Collection<Role >
SS. getRolesDef ()
java.util.Collection<Role >
Role. getSubRoles ()
gets the direct specialisations (sub-roles) of this role.
java.util.Collection<Role >
Role. getSuperRoles ()
gets the super roles of this role
Methods in moise.os.ss with parameters of type Role
Modifier and Type
Method
Description
Role
SS. addRoleDef (Role r)
calls addRoleDef(r, true)
Role
SS. addRoleDef (Role r,
boolean check)
boolean
Compatibility. areCompatible (Role r1,
Role r2)
checks if the the role r1 is compatible with r2 (considering the role inheritance), i.e., the
agent playing r1 can also play r2
boolean
RoleRel. contains (Role r)
checks if one of this relation's role are equal to r (or its super roles)
boolean
Group. containsRole (Role r)
checks whether the roleId can be played in this group
boolean
Role. containsSuperRole (Role r)
returns true if some of the direct super roles is equal r
private void
SS. DFSRoles (Role r,
org.w3c.dom.Element rdefsEle,
org.w3c.dom.Document document)
make a DFS in the roles hierarchy to generate the right order of roles
Cardinality
Group. getRoleCardinality (Role role)
returns the cardinality for the .
boolean
RoleRel. sourceContains (Role r)
checks if the source role is equal to r (or its super roles)
(in case this relation is symmetric, this methods also checks the destination)
boolean
RoleRel. targetContains (Role r)
checks if the target role is equal to r (or its super roles)
(in case this relation is bi-dir, this methods also checks the source)
Method parameters in moise.os.ss with type arguments of type Role
Modifier and Type
Method
Description
void
SS. addRoleDef (java.util.Collection<Role > roles)
add all roles of iRole in this SS (check = false)
private void
Role. generateFullSuperRolesBranch (org.w3c.dom.Element ele,
java.util.Collection<Role > roles,
org.w3c.dom.Document document)
void
SS. importRoleDef (java.util.Collection<Role > roles)
import all roles of iRole in this SS (check = false)
This method fixes links to super-roles from another SS and
do not include roles that already is in the SS
Methods in moise.xml with parameters of type Role
Modifier and Type
Method
Description
static java.lang.String
DOMUtils. roleDetails (Role r)