public class ObligationNode extends InstitutionalLogicFormula
Formula.Operations
Modifier and Type | Field and Description |
---|---|
(package private) static int |
_as_formula |
static int |
as_formula_ID |
static Integer |
ID |
_sm_simplified_formula, sm_simplified_formula_ID
_nodes, _observers, _operations, _thisoperations
Constructor and Description |
---|
ObligationNode() |
ObligationNode(Formula as_formula) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
This method is part of the implementation of the visitor design pattern.
|
Formula |
as_formula() |
void |
as_formula(Formula s) |
void |
copyValueOf(Node n,
HashMap clones) |
Object |
getAttribute(int attrname) |
int |
getClassID()
This method return the dynamic class ID of the node.
|
Node |
getClone(HashMap clones) |
Node.Operations |
getOperations()
This method returns the object implementing the operations associated to this node.
|
boolean |
hasAttribute(int attrname) |
void |
setAttribute(int attrname,
Object attrvalue) |
getDoubleMirror, getSimplifiedFormula, getVariablesSubstitution, getVariablesSubstitution, getVariablesSubstitutionAsIn, instantiate, isAFreeVariable, isBeliefFrom, isConsistentWith, isExistsOn, isInstitutionalFact, isInstitutionalFactFrom, isMentalAttitude, isSubsumedBy, match, simplify, sm_simplified_formula, sm_simplified_formula
addObserver, addOperations, children, childrenAccept, childrenOfKind, childrenOfKind, childrenOfKind, compare, compareTo, copyValueOf, dofind, dump, equals, find, find, find, find, getAttribute, getClone, hasAttribute, initNode, installOperations, notifyChanges, removeObserver, replace, setAttribute, toString
public static Integer ID
static int _as_formula
public static int as_formula_ID
public ObligationNode(Formula as_formula)
public ObligationNode()
public final int getClassID()
Node
getClassID
in class InstitutionalLogicFormula
public void accept(Visitor visitor)
Node
public void copyValueOf(Node n, HashMap clones)
copyValueOf
in class InstitutionalLogicFormula
public Node.Operations getOperations()
Node
getOperations
in class InstitutionalLogicFormula
public Formula as_formula()
public void as_formula(Formula s)
public boolean hasAttribute(int attrname)
hasAttribute
in class Formula
public Object getAttribute(int attrname)
getAttribute
in class Formula
public void setAttribute(int attrname, Object attrvalue)
setAttribute
in class Formula