de.deepamehta.core.model
Class SimpleValue
java.lang.Object
de.deepamehta.core.model.SimpleValue
public class SimpleValue
- extends Object
A wrapper for the topic value (atomic, non-null). Supported value types are string, int, long, double, boolean.
value
private Object value
- The (auto-boxed) wrapped value.
Either String, Integer, Long, Double, or Boolean.
logger
private Logger logger
SimpleValue
public SimpleValue(String value)
- Called by JAX-RS container to create a SimpleValue from a @PathParam or @QueryParam
SimpleValue
public SimpleValue(int value)
SimpleValue
public SimpleValue(long value)
SimpleValue
public SimpleValue(double value)
SimpleValue
public SimpleValue(boolean value)
SimpleValue
public SimpleValue(Object value)
toString
public String toString()
- Overrides:
toString
in class Object
intValue
public int intValue()
longValue
public long longValue()
doubleValue
public double doubleValue()
booleanValue
public boolean booleanValue()
value
public Object value()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2015. All Rights Reserved.