Magentix2
2.1.1
|
Public Member Functions | |
Norm (String id, String deontic, String targetType, String targetValue, ArrayList< String > action, String activation, String expiration) | |
String | getId () |
void | setId (String id) |
String | getDeontic () |
void | setDeontic (String deontic) |
String | getTargetType () |
void | setTargetType (String targetType) |
String | getTargetValue () |
void | setTargetValue (String targetValue) |
String | getActionName () |
void | setActionName (String actionName) |
ArrayList< String > | getActionParams () |
void | setActionParams (ArrayList< String > actionParams) |
String | getAction () |
void | setAction (String action) |
String | getActivation () |
void | setActivation (String activation) |
String | getExpiration () |
void | setExpiration (String expiration) |
Package Attributes | |
String | id |
String | deontic |
String | targetType |
String | targetValue |
String | actionName |
ArrayList< String > | actionParams = new ArrayList<String>() |
String | action |
String | activation |
String | expiration |
This class represents an object norm formed by [deontic, target, action, activation, expiration].
es.upv.dsic.gti_ia.norms.Norm.Norm | ( | String | id, |
String | deontic, | ||
String | targetType, | ||
String | targetValue, | ||
ArrayList< String > | action, | ||
String | activation, | ||
String | expiration | ||
) |
Creates a new norm.
id | |
deontic | (f | o | p) |
targetType | (roleName, agentName, positionName) |
targetValue | (name, _) |
actionName | (registerUnit, registerRole, ...) |
actionParams | |
action | |
activation | |
expiration |
Definition at line 45 of file Norm.java.
{ this.id = id; this.deontic = deontic; this.targetType = targetType; this.targetValue = targetValue; this.actionName = action.get(0); for(int i=2; i < action.size();i++) { this.actionParams.add(action.get(i)); } this.action = action.get(1); this.activation =activation; this.expiration = expiration; }
String es.upv.dsic.gti_ia.norms.Norm.getAction | ( | ) |
String es.upv.dsic.gti_ia.norms.Norm.getActionName | ( | ) |
Definition at line 115 of file Norm.java.
{ return actionName; }
ArrayList<String> es.upv.dsic.gti_ia.norms.Norm.getActionParams | ( | ) |
Definition at line 127 of file Norm.java.
{ return actionParams; }
String es.upv.dsic.gti_ia.norms.Norm.getActivation | ( | ) |
Definition at line 151 of file Norm.java.
{ return activation; }
String es.upv.dsic.gti_ia.norms.Norm.getDeontic | ( | ) |
String es.upv.dsic.gti_ia.norms.Norm.getExpiration | ( | ) |
Definition at line 163 of file Norm.java.
{ return expiration; }
String es.upv.dsic.gti_ia.norms.Norm.getId | ( | ) |
String es.upv.dsic.gti_ia.norms.Norm.getTargetType | ( | ) |
Definition at line 91 of file Norm.java.
{ return targetType; }
String es.upv.dsic.gti_ia.norms.Norm.getTargetValue | ( | ) |
Definition at line 103 of file Norm.java.
{ return targetValue; }
void es.upv.dsic.gti_ia.norms.Norm.setAction | ( | String | action | ) |
void es.upv.dsic.gti_ia.norms.Norm.setActionName | ( | String | actionName | ) |
Definition at line 121 of file Norm.java.
{ this.actionName = actionName; }
void es.upv.dsic.gti_ia.norms.Norm.setActionParams | ( | ArrayList< String > | actionParams | ) |
Definition at line 133 of file Norm.java.
{ this.actionParams = actionParams; }
void es.upv.dsic.gti_ia.norms.Norm.setActivation | ( | String | activation | ) |
Definition at line 157 of file Norm.java.
{ this.activation = activation; }
void es.upv.dsic.gti_ia.norms.Norm.setDeontic | ( | String | deontic | ) |
void es.upv.dsic.gti_ia.norms.Norm.setExpiration | ( | String | expiration | ) |
Definition at line 169 of file Norm.java.
{ this.expiration = expiration; }
void es.upv.dsic.gti_ia.norms.Norm.setId | ( | String | id | ) |
void es.upv.dsic.gti_ia.norms.Norm.setTargetType | ( | String | targetType | ) |
Definition at line 97 of file Norm.java.
{ this.targetType = targetType; }
void es.upv.dsic.gti_ia.norms.Norm.setTargetValue | ( | String | targetValue | ) |
Definition at line 109 of file Norm.java.
{ this.targetValue = targetValue; }
String es.upv.dsic.gti_ia.norms.Norm.action [package] |
String es.upv.dsic.gti_ia.norms.Norm.actionName [package] |
ArrayList<String> es.upv.dsic.gti_ia.norms.Norm.actionParams = new ArrayList<String>() [package] |
String es.upv.dsic.gti_ia.norms.Norm.activation [package] |
String es.upv.dsic.gti_ia.norms.Norm.deontic [package] |
String es.upv.dsic.gti_ia.norms.Norm.expiration [package] |
String es.upv.dsic.gti_ia.norms.Norm.id [package] |
String es.upv.dsic.gti_ia.norms.Norm.targetType [package] |
String es.upv.dsic.gti_ia.norms.Norm.targetValue [package] |