public class LogicAssignment extends java.lang.Object implements AssignmentType
| Constructor and Description |
|---|
LogicAssignment(RtflType leftCondition,
LogicComparison comparison,
RtflType rightCondition,
boolean isInverse) |
| Modifier and Type | Method and Description |
|---|---|
LogicComparison |
comparisonType() |
boolean |
equals(RtflType val,
Scope scope)
Checks two RtflTypes to see if they qualify as equals in Rtfl
|
RtflType |
extractValue(Scope scope)
Returns the wrapped RtflType value for this AssignmentType
|
RtflType |
firstValue() |
boolean |
inverse() |
java.lang.String |
name()
The name of the type
|
RtflType |
secondValue() |
java.lang.String |
toString() |
java.lang.Object |
value()
The Java value stored in this RtflType wrapper
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromJavaType, toJavaTypepublic LogicAssignment(RtflType leftCondition, LogicComparison comparison, RtflType rightCondition, boolean isInverse)
public java.lang.String name()
RtflTypepublic java.lang.Object value()
RtflTypepublic boolean equals(RtflType val, Scope scope) throws RuntimeException
RtflTypeequals in interface RtflTypeval - The value to check this RtflType againstscope - The scope in which to check (to use functions and variables)RuntimeException - If any references are invalid or if executing a function failspublic java.lang.String toString()
toString in class java.lang.Objectpublic RtflType firstValue()
public RtflType secondValue()
public LogicComparison comparisonType()
public boolean inverse()
public RtflType extractValue(Scope scope) throws RuntimeException
AssignmentTypeextractValue in interface AssignmentTypescope - The scope in which to resolve this AssignmentTypeRuntimeException - If a reference is invalid, a function fails, or invalid operations are used