Package | Description |
---|---|
moise.oe | |
moise.os.ns | |
moise.os.ss | |
moise.xml | |
ora4mas.nopl.tools |
Modifier and Type | Method and Description |
---|---|
Role |
RolePlayer.getRole() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<OEAgent> |
OE.getAgents(GroupInstance gr,
Role role)
gets all agents that plays
role in gr . |
Constructor and Description |
---|
RolePlayer(Role role,
OEAgent ag,
GroupInstance gr) |
Modifier and Type | Field and Description |
---|---|
protected Role |
Norm.role |
Modifier and Type | Method and Description |
---|---|
Role |
Norm.getRole() |
Modifier and Type | Method and Description |
---|---|
void |
NS.removeNorms(Role r)
remove the norms for the role r
|
void |
Norm.setRole(Role r) |
Constructor and Description |
---|
Norm(Role r,
Mission m,
NS ns,
NS.OpTypes op) |
Modifier and Type | Field and Description |
---|---|
protected Role |
RoleRel.source |
protected Role |
RoleRel.target |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Role> |
SS.roles |
protected CardinalitySet<Role> |
Group.roles |
protected java.util.Set<Role> |
Role.superRoles |
Modifier and Type | Method and Description |
---|---|
Role |
SS.getRoleDef(java.lang.String id) |
Role |
RoleRel.getSource() |
Role |
RoleRel.getTarget() |
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
void |
SS.addRoleDef(Role r)
calls addRoleDef(r, true)
|
void |
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
|
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)
|
Modifier and Type | Method and Description |
---|---|
void |
SS.addRoleDef(java.util.Collection<Role> roles)
add all roles of iRole in this SS (check = false)
|
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
|
Constructor and Description |
---|
Compatibility(Role a,
Role b,
Group grSpec)
Creates new Compatibility
|
Link(Role s,
Role d,
Group gr,
java.lang.String linkType)
Creates new Link
|
RoleRel(Role s,
Role d)
Creates new Link
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
DOMUtils.roleDetails(Role r) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
os2nopl.transform(Role r) |