Class TimeValueExpr
- java.lang.Object
-
- org.n52.svalbard.odata.core.expr.temporal.TimeValueExpr
-
- All Implemented Interfaces:
ODataExpr,Expr,TemporalExpr
public class TimeValueExpr extends Object implements TemporalExpr
Holds a TimeValue directly or reference to a property containing TimeValue
-
-
Constructor Summary
Constructors Constructor Description TimeValueExpr(String value)Creates a newValueExpr.TimeValueExpr(TimeInstant value)
-
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)ObjectgetTime()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.Expr
asArithmetic, asBinary, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asGeometry, asMember, asMethodCall, asNumericValue, asTextValue, asUnary, isArithmetic, isBinary, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isGeometry, isMember, isMethodCall, isNumericValue, isTextValue, isUnary
-
Methods inherited from interface org.n52.shetland.oasis.odata.ODataExpr
toODataString
-
Methods inherited from interface org.n52.svalbard.odata.core.expr.temporal.TemporalExpr
asTime, isTime
-
-
-
-
Constructor Detail
-
TimeValueExpr
public TimeValueExpr(String value)
Creates a newValueExpr.- Parameters:
value- the value
-
TimeValueExpr
public TimeValueExpr(TimeInstant value)
-
-
Method Detail
-
getTime
public Object getTime()
Gets the value.- 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.
-
-