Package hydra.xml.schema
Class NonNegativeInteger
- java.lang.Object
-
- hydra.xml.schema.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNonNegativeInteger.BuilderA fluent builder forNonNegativeInteger.
-
Constructor Summary
Constructors Constructor Description NonNegativeInteger(java.math.BigInteger value)Constructs an immutableNonNegativeInteger.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NonNegativeInteger.Builderbuilder()Creates a new fluent builder forNonNegativeInteger.intcompareTo(NonNegativeInteger other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
NonNegativeInteger
public NonNegativeInteger(java.math.BigInteger value)
Constructs an immutableNonNegativeInteger.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(NonNegativeInteger other)
- Specified by:
compareToin interfacejava.lang.Comparable<NonNegativeInteger>
-
builder
public static NonNegativeInteger.Builder builder()
Creates a new fluent builder forNonNegativeInteger.
-
-