|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.elements.Action
public class Action
An Action is a physical or psychological change that makes one
state differ from another. This is a "concrete," or instantiated
Action, which means that it is associated with whatever properties
are needed for instantiation, but not inherently assigned to
a particular transition. For example, this is not "the property of
going" or "John went to the store," but "going to the
store."
In order to construct an Action the type of action must have
already been "declared" in Timeline.
Constructor Summary | |
---|---|
Action(ActionType actionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
|
Method Summary | |
---|---|
boolean |
equals(Action other)
Determines if this Action is equivalent to some other. |
PredicateMode |
getMode()
Get the mode of the action. |
PredicateFlavor |
getPredicateFlavor()
|
SCHArguments |
getSCHArguments()
Get the arguments used to instantiate this Action |
int |
getTruthDegree()
Get the degree of this action's truth in effect. |
ActionType |
getType()
Get the ID of the type of action. |
Action |
makeClone()
|
java.lang.StringBuffer |
render()
|
static java.lang.StringBuffer |
render(ActionType actionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
A static function that renders a ActionType and arguments as they would be rendered if they were part of an Action. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Action(ActionType actionType, SCHArguments arguments, int truthDegree, PredicateMode mode) throws Scheherexception
Scheherexception
Method Detail |
---|
public ActionType getType()
public SCHArguments getSCHArguments() throws Scheherexception
Scheherexception
public int getTruthDegree()
public PredicateMode getMode()
public java.lang.StringBuffer render() throws Scheherexception
render
in interface RenderableObject
Scheherexception
public static java.lang.StringBuffer render(ActionType actionType, SCHArguments arguments, int truthDegree, PredicateMode mode) throws Scheherexception
Scheherexception
public boolean equals(Action other) throws Scheherexception
Scheherexception
public PredicateFlavor getPredicateFlavor()
getPredicateFlavor
in interface Predicate
public Action makeClone() throws Scheherexception
makeClone
in interface CloneableObject
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |