public class MapFieldAssignment extends java.lang.Object implements AssignmentType
| Constructor and Description |
|---|
MapFieldAssignment(RtflType map,
java.lang.String field) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(RtflType value,
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
|
java.lang.String |
field() |
RtflType |
map() |
java.lang.String |
name()
The name of the type
|
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 MapFieldAssignment(RtflType map, java.lang.String field)
public java.lang.String name()
RtflTypepublic java.lang.Object value()
RtflTypepublic RtflType map()
public java.lang.String field()
public boolean equals(RtflType value, Scope scope) throws RuntimeException
RtflTypeequals in interface RtflTypevalue - 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 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 usedpublic java.lang.String toString()
toString in class java.lang.Object