|
||||||||||
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 ValidPredicate
Scheherexception
public SCHArguments getSCHArguments() throws Scheherexception
getSCHArguments
in interface ValidPredicate
getSCHArguments
in class Condition
Scheherexception
public java.lang.StringBuffer render() throws Scheherexception
render
in interface RenderableObject
render
in interface ValidPredicate
render
in class Condition
Scheherexception
public TimelineID getTimeline() throws Scheherexception
getTimeline
in interface ValidPredicate
Scheherexception
public java.util.Vector<SCHArgumentWithRole> getArgsWithRoles() throws Scheherexception
Scheherexception
public SCHArguments getArgsOfRole(SemanticRole role) throws Scheherexception
getArgsOfRole
in interface ValidPredicate
Scheherexception
public PredicateFlavor getPredicateFlavor()
getPredicateFlavor
in interface Predicate
getPredicateFlavor
in interface ValidPredicate
getPredicateFlavor
in class Condition
public ValidCondition intern() throws Scheherexception
intern
in interface InternableObject
intern
in interface ValidPredicate
Scheherexception
public ValidCondition unintern() throws Scheherexception
unintern
in interface InternableObject
Scheherexception
public boolean isInterned()
isInterned
in interface InternableObject
public StoryAssertion getFrameDefinition()
getFrameDefinition
in interface ValidPredicate
public GenericScheherID getFrameType()
getFrameType
in interface ValidPredicate
public ValidCondition makeClone() throws Scheherexception
makeClone
in interface CloneableObject
makeClone
in class Condition
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |