public class Predicate extends java.lang.Object implements java.io.Serializable, RevisionHandler
Constructor and Description |
---|
Predicate(java.lang.String name,
int index,
boolean isClass) |
Modifier and Type | Method and Description |
---|---|
void |
addLiteral(Literal lit) |
java.lang.String |
description() |
int |
getIndex() |
Literal |
getLiteral(int index) |
java.lang.String |
getRevision()
Returns the revision string.
|
int |
indexOf(Literal lit) |
boolean |
isClass() |
int |
numLiterals() |
java.lang.String |
toString() |
public void addLiteral(Literal lit)
public Literal getLiteral(int index)
public int getIndex()
public int indexOf(Literal lit)
public int numLiterals()
public boolean isClass()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String description()
public java.lang.String getRevision()
getRevision
in interface RevisionHandler