public class Literal extends GraphNodeObject
GraphNodeObject.ParameterPairs| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | valueDetermines whether this literal is true or false | 
name, parameters| Constructor and Description | 
|---|
| Literal(String name,
       boolean value)Creates a new instance of Literal | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | getValue()Returns the value of the literal | 
| boolean | match(GraphNodeObject l2)Compares this literal against another and returns true if they are equivalent | 
| boolean | matchMinusObject(Literal l2)Compares this literal against another and returns true if they are equivalent 
 in every respect except the "object" parameter | 
| Literal | negation()Returns the negation of this literal | 
| String | toString()Converts the GraphNodeObject to a String | 
addParameter, addParameter, addParameter, addParameter, compareTo, copyParameters, getName, getParameter, matchParams, numParameters, removeParameterpublic Literal(String name, boolean value)
name - descriptor for this actionvalue - public boolean getValue()
public Literal negation()
public boolean matchMinusObject(Literal l2)
public boolean match(GraphNodeObject l2)
match in class GraphNodeObjectpublic String toString()
toString in class GraphNodeObject