Skip to content
nullsub edited this page Feb 7, 2017 · 28 revisions

A summary of all rules used in FRaMED for EditPolicies

Configuration based rules

Unused Configuration options:

      RML_FEATURE_MODEL, ROLE_TYPES, ROLE_STRUCTURE,
      DEPENDENT, ON_COMPARTMENTS, ON_RELATIONSHIPS,
      RELATIONSHIP_CARDINALITY,PARTHOOD_CONSTRAINTS, INTER_RELATIONSHIP_CONSTRAINTS,
      COMPARTMENT_TYPES, COMPARTMENT_PROPERTIES, COMPARTMENT_BEHAVIOR,
      PARTICIPANTS, DATA_TYPES

Options used for pallete-configuration:

      ROLE_CONSTRAINTS, ROLE_IMPLICATION, ROLE_PROHIBITION, ROLE_EQUIVALENCE, GROUP_CONSTRAINTS,
      OCCURRENCE_CONSTRAINTS, RELATIONSHIP_CONSTRAINTS,
Configuration Description EditPolicy Comment
PLAYABLE_BY_DEFINING_COMPARTMENT compartment darf zu sich selbst ein fulfillment machen - -
CONTAINS_COMPARTMENTS wenn man im step in view ist, dann dürfen compartments compartments spielen siehe ... - -
COMPARTMENT_STRUCTURE wenn aktiviert, dann dürfen properties /operations darein gezogen werden - -
RELATIONSHIPS, INTRA_RELATIONSHIP_CONSTRAINTS nur wenn aktiviert dürfen RELATIONSHIPS erzeugt werden - -
PLAYERS (NATURALS, ROLES, COMPARTMENTS, DATES) (von wo aus darf fulfilment gezogen werden) -> (wenn roles aktiviert, dann Compartments dürfen compartments spielen) - -
ROLE_INHERITANCE man darf vererbungspfeile ziehen (nur relevant für step in) - -
ROLE_PROPERTIES, ROLE_BEHAVIOR attribute/methoden dürfen aus der Pallete dahin ziehen zum entsprechenden role-type - -
DATA_TYPE_INHERITANCE, COMPARTMENT_INHERITANCE dürfen zum selben Typ inheritance anwenden - canExecute wird in ORMRelationCreateCommand nicht aufgerufen
PLAYABLE When FULFILLMENT is set, fulfillment can be created FULFILLMENT -

general rules

Description EditPolicy Code
When COMPARTMENT is not set, only RoleModel can be added - -
If Compartment c1 contains Compartment c2 then all roles in c1 can play other roles - -
when the parent of a model is a compartmenttype or a rolegroup only roletype and rolegroup instances can be added - -
when the parent of a model is a group or the model is the root model then only naturaltype, compartmenttype and group instances can be added to the model - -

Clone this wiki locally