Class LongBindMarkerNode

  • All Implemented Interfaces:
    ExpNode

    public class LongBindMarkerNode
    extends BindMarkerNode
    A bind marker representing a nullable Long value
    • Constructor Detail

      • LongBindMarkerNode

        public LongBindMarkerNode​(java.lang.Long value)
    • Method Detail

      • visit

        public <T> T visit​(ExpNodeVisitor<T> visitor)
        Description copied from interface: ExpNode
        Generic evaluation visitor
        Returns:
      • checkTypeAndValue

        public boolean checkTypeAndValue​(java.lang.Object expectedValue)
        Description copied from class: BindMarkerNode
        Check that the value represented by this bind marker equals the type and value of the given expectedValue.
        Specified by:
        checkTypeAndValue in class BindMarkerNode
        Returns:
      • toValueString

        public java.lang.String toValueString​(java.lang.String defaultValue)
        Description copied from class: BindMarkerNode
        Return a string of the value being represented by this bind marker, or the defaultValue if the internal value is null.
        Specified by:
        toValueString in class BindMarkerNode
        Returns: