public class ValueResultData extends Object implements ResultData
| Constructor and Description |
|---|
ValueResultData()
Instantiates a new value result data.
|
ValueResultData(Object value)
Instantiates a new value result data.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ResultDataVisitor<T> visitor)
Accepts the specified visitor.
|
Object |
getValue()
Gets the value of the result.
|
void |
setValue(Object value)
Sets the value of the result.
|
public ValueResultData()
public ValueResultData(Object value)
value - the value of the resultpublic final Object getValue()
public final void setValue(Object value)
value - the new value of the resultpublic <T> T accept(ResultDataVisitor<T> visitor)
ResultDataaccept in interface ResultDataT - type of the results of the ResultDataVisitorvisitor - the visitor (must not be null)Copyright © 1998-2017 Apache Software Foundation. All Rights Reserved.