|
||||||||||
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,
java.util.List<ISemanticArgType> argTypes)
Creates a new predicate description with the specified parameters |
Method Summary | |
---|---|
java.util.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. |
java.lang.String |
toString()
|
static java.lang.String |
toString(IPredicateDesc pred)
Produces a standard string format for a predicate descriptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PredicateDesc(PredicateType value, boolean bool, java.util.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 java.util.List<ISemanticArgType> getArgumentTypes()
IPredicateDesc
null
, never contain null
, and will always have
at least one element.
getArgumentTypes
in interface IPredicateDesc
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String toString(IPredicateDesc pred)
pred
- the predicate for which the string should be constructed
java.lang.NullPointerException
- if the specified predicate is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |