|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.scheherazade.elements.Condition
public class Condition
A Condition is a property that can be associated with a character
at a state in time. This is a "concrete," or instantiated
Condition, which means that it is associated with whatever
properties are needed for instantiation, but not inherently
assigned to a particular state or character. For example, this is
not "the property of feeling" or "John felt happy," but "feeling
happy."
In order to construct a Condition the type of condition must have
already been "declared" in Timeline.
| Constructor Summary | |
|---|---|
Condition(ConditionType conditionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Condition other)
Determines if this Condition is equivalent to some other. |
PredicateMode |
getMode()
Get the mode of the condition. |
PredicateFlavor |
getPredicateFlavor()
|
SCHArguments |
getSCHArguments()
Get the arguments used to instantiate this Condition |
int |
getTruthDegree()
Get the degree of this condition's truth in effect. |
ConditionType |
getType()
|
Condition |
makeClone()
|
java.lang.StringBuffer |
render()
|
static java.lang.StringBuffer |
render(ConditionType conditionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
A static function that renders a ConditionType and arguments as they would be rendered if they were part of a Condition. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Condition(ConditionType conditionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
throws Scheherexception
Scheherexception| Method Detail |
|---|
public ConditionType getType()
public SCHArguments getSCHArguments()
throws Scheherexception
Scheherexceptionpublic int getTruthDegree()
public PredicateMode getMode()
public java.lang.StringBuffer render()
throws Scheherexception
render in interface RenderableObjectScheherexception
public static java.lang.StringBuffer render(ConditionType conditionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
throws Scheherexception
Scheherexception
public boolean equals(Condition other)
throws Scheherexception
Scheherexceptionpublic PredicateFlavor getPredicateFlavor()
getPredicateFlavor in interface Predicate
public Condition makeClone()
throws Scheherexception
makeClone in interface CloneableObjectScheherexception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||