Class LongDataTypeTransformer

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isLong​(java.lang.Number value)  
      TypedValue transform​(java.lang.Object value)
      Transform the given value.
      protected long transformNumber​(java.lang.Number value)  
      protected long transformString​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LongDataTypeTransformer

        public LongDataTypeTransformer()
    • Method Detail

      • transform

        public TypedValue transform​(java.lang.Object value)
                             throws java.lang.IllegalArgumentException
        Description copied from interface: DmnDataTypeTransformer
        Transform the given value.
        Specified by:
        transform in interface DmnDataTypeTransformer
        value - of any type
        value of the specific type
        java.lang.IllegalArgumentException - if the value can not be transformed
      • transformNumber

        protected long transformNumber​(java.lang.Number value)
      • isLong

        protected boolean isLong​(java.lang.Number value)
      • transformString

        protected long transformString​(java.lang.String value)