Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class PositiveInteger

java.lang.Object
  extended bycom.sssw.jbroker.web.xsd.Validator
      extended bycom.sssw.jbroker.web.xsd.NonNegativeInteger
          extended bycom.sssw.jbroker.web.xsd.PositiveInteger
All Implemented Interfaces:
Serializable

public class PositiveInteger
extends NonNegativeInteger

A wrapper class that contains a positiveInteger. Please refer to the XML Schema for the complete definition of this simple type.

Since:
jBroker Web 2.0
See Also:
Serialized Form

Constructor Summary
PositiveInteger(int value)
          Construct a positive integer with the specified value.
PositiveInteger(String value)
          Construct a positive integer with the specified value.
 
Methods inherited from class com.sssw.jbroker.web.xsd.NonNegativeInteger
equals, getValue, hashCode, setValue, toString, validate
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PositiveInteger

public PositiveInteger(int value)
                throws IllegalArgumentException
Construct a positive integer with the specified value.

Parameters:
value - the value of the integer
Throws:
IllegalArgumentException - if the value can not be validated as a positive integer.

PositiveInteger

public PositiveInteger(String value)
                throws IllegalArgumentException
Construct a positive integer with the specified value.

Parameters:
value - the value of the integer
Throws:
IllegalArgumentException - if the value can not be validated as a positive integer.

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.