|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.scheherazade.elements.Condition
story.scheherazade.elements.ValidCondition
public class ValidCondition
A Condition that has been shown to be valid within the context of an actual Narrative. Construct a ValidCondition through a Narrative.
| Field Summary | |
|---|---|
static int |
OVERHEAD_ARGUMENTS
|
| Constructor Summary | |
|---|---|
ValidCondition(Timeline timelineHandler,
NodeAddress timeline,
ConditionType conditionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
|
|
| Method Summary | |
|---|---|
SCHArguments |
getArgsOfRole(SemanticRole role)
Get only those SCHArguments which satisfy a particular SemanticRole. |
java.util.Vector<SCHArgumentWithRole> |
getArgsWithRoles()
Gets SCHArguments, without overhead arguments, along with their roles. |
StoryAssertion |
getFrameDefinition()
|
GenericScheherID |
getFrameType()
|
PredicateFlavor |
getPredicateFlavor()
|
NodeAddress |
getPrototypeNode()
Get the NodeAddress of the declaration (the prototype node) for the condition type. |
SCHArguments |
getSCHArguments()
Get the arguments used to instantiate this Condition |
SCHArguments |
getSCHArguments(boolean includeOverheadArguments)
Get the arguments used to instantiate this Condition |
TimelineID |
getTimeline()
Get the ID of the Timeline in whose scope this Condition was deemed valid. |
ValidCondition |
intern()
|
boolean |
isInterned()
|
ValidCondition |
makeClone()
|
java.lang.StringBuffer |
render()
|
ValidCondition |
unintern()
|
| Methods inherited from class story.scheherazade.elements.Condition |
|---|
equals, getMode, getTruthDegree, getType, render |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OVERHEAD_ARGUMENTS
| Constructor Detail |
|---|
public ValidCondition(Timeline timelineHandler,
NodeAddress timeline,
ConditionType conditionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
throws Scheherexception
Scheherexception| Method Detail |
|---|
public NodeAddress getPrototypeNode()
getPrototypeNode in interface ValidPredicate
public SCHArguments getSCHArguments(boolean includeOverheadArguments)
throws Scheherexception
getSCHArguments in interface ValidPredicateScheherexception
public SCHArguments getSCHArguments()
throws Scheherexception
getSCHArguments in interface ValidPredicategetSCHArguments in class ConditionScheherexception
public java.lang.StringBuffer render()
throws Scheherexception
render in interface RenderableObjectrender in interface ValidPredicaterender in class ConditionScheherexception
public TimelineID getTimeline()
throws Scheherexception
getTimeline in interface ValidPredicateScheherexception
public java.util.Vector<SCHArgumentWithRole> getArgsWithRoles()
throws Scheherexception
Scheherexception
public SCHArguments getArgsOfRole(SemanticRole role)
throws Scheherexception
getArgsOfRole in interface ValidPredicateScheherexceptionpublic PredicateFlavor getPredicateFlavor()
getPredicateFlavor in interface PredicategetPredicateFlavor in interface ValidPredicategetPredicateFlavor in class Condition
public ValidCondition intern()
throws Scheherexception
intern in interface InternableObjectintern in interface ValidPredicateScheherexception
public ValidCondition unintern()
throws Scheherexception
unintern in interface InternableObjectScheherexceptionpublic boolean isInterned()
isInterned in interface InternableObjectpublic StoryAssertion getFrameDefinition()
getFrameDefinition in interface ValidPredicatepublic GenericScheherID getFrameType()
getFrameType in interface ValidPredicate
public ValidCondition makeClone()
throws Scheherexception
makeClone in interface CloneableObjectmakeClone in class ConditionScheherexception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||