|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.scheherazade.misc.GenericScheherID
story.scheherazade.misc.ConditionType
public class ConditionType
Extension of GenericScheherID that semantically represents the ID of a Condition.
| Field Summary | |
|---|---|
static ConditionType |
Universal
|
| Constructor Summary | |
|---|---|
ConditionType(ConditionType type,
ConditionType supertype)
Constructor that supplements an ConditionType with supertype metadata. |
|
ConditionType(CoreCondition condition)
|
|
ConditionType(java.lang.String name)
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object other)
|
NodeID |
declarationNodeID()
Construct the DBCORE NodeID of the node that declares this condition. |
GenericScheherID |
getType()
Get the GenericScheherID's type (or supertype, if it's already a type). |
WordNetOffset |
getWordNetOffset()
Get the GenericScheherID's WordNet synset offset |
boolean |
isCoreCondition(CoreCondition condition)
Returns whether this ConditionType represents some CoreCondition. |
ConditionType |
makeClone()
|
java.lang.StringBuffer |
render()
Render the ID in a StringBuffer. |
| Methods inherited from class story.scheherazade.misc.GenericScheherID |
|---|
equals, getIDType, isEveryType, isGenericType, isGroupType, isUniversalType, toRawString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface story.scheherazade.misc.ScheherIDWithType |
|---|
isUniversalType |
| Field Detail |
|---|
public static ConditionType Universal
| Constructor Detail |
|---|
public ConditionType(java.lang.String name)
throws Scheherexception
Scheherexception
public ConditionType(ConditionType type,
ConditionType supertype)
throws Scheherexception
Scheherexception
public ConditionType(CoreCondition condition)
throws Scheherexception
Scheherexception| Method Detail |
|---|
public NodeID declarationNodeID()
throws Scheherexception
Scheherexception
public ConditionType makeClone()
throws Scheherexception
Scheherexception
public java.lang.StringBuffer render()
throws Scheherexception
GenericScheherID
render in interface RenderableObjectrender in class GenericScheherIDScheherexceptionpublic boolean isCoreCondition(CoreCondition condition)
public int compareTo(java.lang.Object other)
throws java.lang.ClassCastException
compareTo in interface java.lang.ComparablecompareTo in class GenericScheherIDjava.lang.ClassCastException
public GenericScheherID getType()
throws Scheherexception
ScheherIDWithType
getType in interface ScheherIDWithTypeScheherexceptionpublic WordNetOffset getWordNetOffset()
ScheherIDWithType
getWordNetOffset in interface ScheherIDWithType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||