Class NonNegativeInteger

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<NonNegativeInteger>

    public class NonNegativeInteger
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<NonNegativeInteger>
    The XSD nonNegativeInteger datatype: an arbitrary-precision integer greater than or equal to zero
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the hydra.xml.schema.NonNegativeInteger type.
      • VALUE

        public static final Name VALUE
        Name of the hydra.xml.schema.NonNegativeInteger.value field.
      • value

        public final java.math.BigInteger value
    • Constructor Detail

      • NonNegativeInteger

        public NonNegativeInteger​(java.math.BigInteger value)
        Constructs an immutable NonNegativeInteger.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object