Class ObjectValueHolder

java.lang.Object
org.smartparam.engine.core.type.AbstractValueHolder
pl.decerto.hyperon.runtime.model.ObjectValueHolder
All Implemented Interfaces:
Comparable<ValueHolder>, ValueHolder

public class ObjectValueHolder extends AbstractValueHolder
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns boolean value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.
    double
    Returns double value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.
    Returns BigDecimal value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.
    Returns Boolean value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.
    Returns Date value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.
    Returns Double value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.
    Returns Integer value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.
    Returns Long value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.
    Returns String representation of held object (by using toString).
    int
    Returns int value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.
    boolean
    Does held value implement Comparable interface.
    long
    Returns long value if holder is capable of doing it, otherwise UnsupportedOperationException is thrown.

    Methods inherited from class org.smartparam.engine.core.type.AbstractValueHolder

    compareTo, equals, getDatetime, getLocalDate, getLocalDateTime, hashCode, isBlank, isNotNull, isNull, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.smartparam.engine.core.type.ValueHolder

    getValue