Class UnsignedShort

    • Constructor Detail

      • UnsignedShort

        public UnsignedShort()
      • UnsignedShort

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

        public UnsignedShort​(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 UnsignedInt
        Parameters:
        sValue - value
        Throws:
        java.lang.NumberFormatException
      • isValid

        public static boolean isValid​(long sValue)
        validate the value against the xsd definition