Package ome.xml.model.primitives
Class NonNegativeLong
- java.lang.Object
-
- ome.xml.model.primitives.PrimitiveType<Long>
-
- ome.xml.model.primitives.NonNegativeLong
-
- All Implemented Interfaces:
PrimitiveNumber
- Direct Known Subclasses:
PositiveLong
public class NonNegativeLong extends PrimitiveType<Long> implements PrimitiveNumber
An integer whose constraints are bound to Java's 64-bit signed integer type and a further non-negative restriction.- Author:
- callan
-
-
Constructor Summary
Constructors Constructor Description NonNegativeLong(Long value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
getNumberValue()
static NonNegativeLong
valueOf(String s)
Returns anNonNegativeLong
object holding the value of the specified string.-
Methods inherited from class ome.xml.model.primitives.PrimitiveType
equals, getValue, toString
-
-
-
-
Constructor Detail
-
NonNegativeLong
public NonNegativeLong(Long value)
-
-
Method Detail
-
getNumberValue
public Number getNumberValue()
- Specified by:
getNumberValue
in interfacePrimitiveNumber
-
valueOf
public static NonNegativeLong valueOf(String s)
Returns anNonNegativeLong
object holding the value of the specified string.- Parameters:
s
- The string to be parsed.- Returns:
- See above.
-
-