Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class UnsignedLong

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

public class UnsignedLong
extends Validator

A wrapper class that contains a unsignedLong. 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
UnsignedLong(long value)
          Construct an unsignedLong with the specified value.
UnsignedLong(String value)
          Construct an unsignedLong with the specified value.
 
Method Summary
 boolean equals(Object other)
           
 long getValue()
          Get the value of this unsignedLong.
 int hashCode()
           
 void setValue(long value)
          Set the value of this unsignedLong.
 String toString()
          Return string form of object
static void validate(Object object)
          Validate that a unsignedLong is a proper XML Schema unsignedLong.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsignedLong

public UnsignedLong(long value)
             throws IllegalArgumentException
Construct an unsignedLong with the specified value.

Parameters:
value - the value of the unsignedLong
Throws:
IllegalArgumentException - if the value can not be validated as an unsignedLong.

UnsignedLong

public UnsignedLong(String value)
             throws IllegalArgumentException
Construct an unsignedLong with the specified value.

Parameters:
value - the value of the unsignedLong
Throws:
IllegalArgumentException - if the value can not be validated as an unsignedLong.
Method Detail

getValue

public long getValue()
Get the value of this unsignedLong.

Returns:
the value of the unsignedLong

setValue

public void setValue(long value)
              throws IllegalArgumentException
Set the value of this unsignedLong.

Parameters:
value - the value of the unsignedLong
Throws:
IllegalArgumentException - if the value can not be validated as an unsignedLong.

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public String toString()
Return string form of object

Returns:
the value of the string

validate

public static void validate(Object object)
                     throws IllegalArgumentException
Validate that a unsignedLong is a proper XML Schema unsignedLong.

Throws:
IllegalArgumentException - if the value can not be validated as an unsignedLong.

Novell exteNd Web Services SDK API

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