Package org.n52.svalbard.odata.core.expr
Class StringValueExpr
- java.lang.Object
-
- org.n52.svalbard.odata.core.expr.StringValueExpr
-
- All Implemented Interfaces:
ODataExpr,DirectTextExpr,Expr,TextExpr
public class StringValueExpr extends Object implements DirectTextExpr
Expression representing a value.
-
-
Constructor Summary
Constructors Constructor Description StringValueExpr(String value)Creates a newValueExpr.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,X extends Throwable>
Taccept(ExprVisitor<T,X> visitor)Acceptsvisitorfor this expression.booleanequals(Object o)StringgetValue()Gets the value.inthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.svalbard.odata.core.expr.DirectTextExpr
asTextValue
-
Methods inherited from interface org.n52.svalbard.odata.core.expr.Expr
asArithmetic, asBinary, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asGeometry, asMember, asMethodCall, asNumericValue, asTime, asUnary, isArithmetic, isBinary, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isGeometry, isMember, isMethodCall, isNumericValue, isTime, isUnary
-
Methods inherited from interface org.n52.shetland.oasis.odata.ODataExpr
toODataString
-
Methods inherited from interface org.n52.svalbard.odata.core.expr.TextExpr
isTextValue
-
-
-
-
Constructor Detail
-
StringValueExpr
public StringValueExpr(String value)
Creates a newValueExpr.- Parameters:
value- the value
-
-
Method Detail
-
getValue
public String getValue()
Gets the value.- Specified by:
getValuein interfaceDirectTextExpr- Returns:
- the value
-
accept
public <T,X extends Throwable> T accept(ExprVisitor<T,X> visitor) throws X extends Throwable
Description copied from interface:ExprAcceptsvisitorfor this expression.
-
-