Package ome.xml.model.primitives
Class PositiveInteger
java.lang.Object
ome.xml.model.primitives.PrimitiveType<Integer>
ome.xml.model.primitives.NonNegativeInteger
ome.xml.model.primitives.PositiveInteger
- All Implemented Interfaces:
PrimitiveNumber
An integer whose constraints are bound to Java's 32-bit signed integer type
and a further positive restriction.
- Author:
- callan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PositiveIntegerReturns anPositiveIntegerobject holding the value of the specified string.Methods inherited from class ome.xml.model.primitives.PrimitiveType
equals, getValue, toString
-
Constructor Details
-
PositiveInteger
-
-
Method Details
-
getNumberValue
- Specified by:
getNumberValuein interfacePrimitiveNumber- Overrides:
getNumberValuein classNonNegativeInteger
-
valueOf
Returns anPositiveIntegerobject holding the value of the specified string.- Parameters:
s- The string to be parsed.- Returns:
- See above.
-