Uses of Class
moise.os.ss.Role
-
Packages that use Role Package Description moise.oe moise.os moise.os.ns moise.os.ss moise.tools moise.xml ora4mas.nopl.tools -
-
Uses of Role in moise.oe
Fields in moise.oe declared as Role Modifier and Type Field Description private Role
RolePlayer. role
Methods in moise.oe with parameters of type Role Modifier and Type Method Description private void
OEAgent. compatibilityCheck(Role newRole, GroupInstance newRoleGr)
java.util.Collection<OEAgent>
OE. getAgents(GroupInstance gr, Role role)
gets all agents that playsrole
ingr
.private void
OEAgent. roleCardinalityCheck(Role role, GroupInstance newRoleGr)
Constructors in moise.oe with parameters of type Role Constructor Description RolePlayer(Role role, OEAgent ag, GroupInstance gr)
-
Uses of Role in moise.os
-
Uses of Role in moise.os.ns
Fields in moise.os.ns declared as Role Modifier and Type Field Description protected Role
Norm. role
Methods in moise.os.ns that return Role Modifier and Type Method Description Role
Norm. getRole()
Methods in moise.os.ns with parameters of type Role Modifier and Type Method Description void
NS. removeNorms(Role r)
remove the norms for the role rvoid
Norm. setRole(Role r)
Constructors in moise.os.ns with parameters of type Role Constructor Description Norm(Role r, Mission m, NS ns, NS.OpTypes op)
-
Uses of Role in moise.os.ss
Fields in moise.os.ss declared as Role Modifier and Type Field Description protected Role
RoleRel. source
protected Role
RoleRel. target
Fields in moise.os.ss with type parameters of type Role Modifier and Type Field Description protected CardinalitySet<Role>
Group. roles
protected java.util.Map<java.lang.String,Role>
SS. roles
protected java.util.Set<Role>
Role. superRoles
Methods in moise.os.ss that return Role Modifier and Type Method Description Role
Group. addRole(java.lang.String roleId)
adds the roleId role into the playable roles in this groupRole
SS. addRoleDef(Role r)
calls addRoleDef(r, true)Role
SS. addRoleDef(Role r, boolean check)
Role
SS. getRoleDef(java.lang.String id)
Role
RoleRel. getSource()
Role
RoleRel. getTarget()
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 roleCardinalitySet<Role>
Group. getRoles()
returns a collection of this group's rolesjava.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 roleMethods 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 r2boolean
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 groupboolean
Role. containsSuperRole(Role r)
returns true if some of the direct super roles is equal rprivate 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 rolesCardinality
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 -
Uses of Role in moise.tools
Methods in moise.tools with parameters of type Role Modifier and Type Method Description (package private) java.lang.String
os2dot. transform(Role r)
-
Uses of Role in moise.xml
Methods in moise.xml with parameters of type Role Modifier and Type Method Description static java.lang.String
DOMUtils. roleDetails(Role r)
-
Uses of Role in ora4mas.nopl.tools
Methods in ora4mas.nopl.tools with parameters of type Role Modifier and Type Method Description static java.lang.String
os2nopl. transform(Role r)
-