|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.jverbnet.data.semantics.PredicateDesc
public class PredicateDesc
Default implementation of IPredicateDesc
.
Constructor Summary | |
---|---|
PredicateDesc(PredicateType value,
boolean bool,
List<ISemanticArgType> argTypes)
Creates a new predicate description with the specified parameters |
Method Summary | |
---|---|
List<ISemanticArgType> |
getArgumentTypes()
Returns a list of semantic arguments, which will never be null , never contain null , and will always have
at least one element. |
boolean |
getBool()
Returns the boolean value of this predicate. |
PredicateType |
getValue()
The type of the predicate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PredicateDesc(PredicateType value, boolean bool, List<ISemanticArgType> argTypes)
value
- the type of this predicatebool
- the boolean value for this predicateargTypes
- may not be null
, may not contain
null
, and must have at least one elementMethod Detail |
---|
public PredicateType getValue()
IPredicateDesc
null
.
getValue
in interface IPredicateDesc
null
type of the predicatepublic boolean getBool()
IPredicateDesc
getBool
in interface IPredicateDesc
public List<ISemanticArgType> getArgumentTypes()
IPredicateDesc
null
, never contain null
, and will always have
at least one element.
getArgumentTypes
in interface IPredicateDesc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |