|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.parameters.SCHParameter
story.scheherazade.parameters.StoryAssertionParameter
story.scheherazade.parameters.ValidNounParameter
public class ValidNounParameter
An SCHParameter which means "require a Noun."
Field Summary | |
---|---|
static ValidNounParameter |
REALITY_AGENT_CHAR
|
static ValidNounParameter |
REALITY_EXPERIENCER_CHAR
|
Constructor Summary | |
---|---|
ValidNounParameter(SemanticRole role,
TimelineID timeline,
boolean type,
NounFlavor onlyAllowedFlavor)
|
|
ValidNounParameter(SemanticRole role,
TimelineID timeline,
boolean type,
NounFlavorSet allowedFlavors)
Constructor to match any noun or noun type. |
Method Summary | |
---|---|
boolean |
allowsFlavor(NounFlavor flavor)
|
NounFlavorSet |
getAllowedFlavors()
|
boolean |
getMatchingType()
|
SemanticRole |
getRole()
The semantic role of this parameter in the overall assertion. |
SCHParameter |
makeCopy()
Make a copy of the Parameter at the level of the concretizing class |
SCHReferenceReqSet |
referenceRequirements()
Each concretizing class needs to provide a ReferenceReqSet of all the references which must be set prior to the parameter's evaluation. |
SCHVariableType |
referenceType()
|
java.lang.StringBuffer |
specificRender()
Each concretizing class needs to provide a render function. |
Methods inherited from class story.scheherazade.parameters.SCHParameter |
---|
makeClone, render |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static ValidNounParameter REALITY_AGENT_CHAR
public static ValidNounParameter REALITY_EXPERIENCER_CHAR
Constructor Detail |
---|
public ValidNounParameter(SemanticRole role, TimelineID timeline, boolean type, NounFlavorSet allowedFlavors) throws Scheherexception
type
- Set true to match a type; false to match a defined
noun.
Scheherexception
public ValidNounParameter(SemanticRole role, TimelineID timeline, boolean type, NounFlavor onlyAllowedFlavor) throws Scheherexception
Scheherexception
Method Detail |
---|
public SemanticRole getRole()
StoryAssertionParameter
getRole
in class StoryAssertionParameter
public boolean getMatchingType()
public SCHReferenceReqSet referenceRequirements()
SCHParameter
referenceRequirements
in class SCHParameter
public java.lang.StringBuffer specificRender() throws Scheherexception
SCHParameter
specificRender
in class SCHParameter
Scheherexception
public SCHParameter makeCopy()
SCHParameter
makeCopy
in class SCHParameter
public SCHVariableType referenceType()
referenceType
in class StoryAssertionParameter
public NounFlavorSet getAllowedFlavors()
public boolean allowsFlavor(NounFlavor flavor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |