Class UnsignedByte

    • Constructor Detail

      • UnsignedByte

        public UnsignedByte()
      • UnsignedByte

        public UnsignedByte​(long sValue)
                     throws java.lang.NumberFormatException
        ctor for UnsignedByte
        Throws:
        java.lang.Exception - will be thrown if validation fails
        java.lang.NumberFormatException
      • UnsignedByte

        public UnsignedByte​(java.lang.String sValue)
                     throws java.lang.NumberFormatException
        Throws:
        java.lang.NumberFormatException
    • Method Detail

      • setValue

        public void setValue​(long sValue)
                      throws java.lang.NumberFormatException
        validates the data and sets the value for the object.
        Overrides:
        setValue in class UnsignedShort
        Parameters:
        sValue - the number to set
        Throws:
        java.lang.NumberFormatException
      • isValid

        public static boolean isValid​(long sValue)
        validate the value against the xsd value space definition
        Parameters:
        sValue - number to check against range