Class Constant

  • All Implemented Interfaces:
    Constants

    public class Constant
    extends Object
    implements Constants
    Utility class to manage constants for the system. This is the value recorded at parse time

    Created by Jeff Gaynor
    on 1/13/20 at 3:07 PM

    • Constructor Detail

      • Constant

        public Constant()
    • Method Detail

      • getType

        public static int getType​(Object object)
      • getName

        public static String getName​(int type)
        Given the (integer) type, return the string name. This is used mostly for error or diagnostic messsages.
        Parameters:
        type -
        Returns:
      • isString

        public static boolean isString​(Object key)
      • isModule

        public static boolean isModule​(Object key)
      • getType

        public int getType()
      • getValue

        public Object getValue()
      • getString

        public String getString()
      • getLong

        public Long getLong()
      • isNull

        public static boolean isNull​(Object obj)
      • isScalar

        public static boolean isScalar​(Object obj)
      • isStem

        public static boolean isStem​(Object obj)
      • isSet

        public static boolean isSet​(Object obj)