Methods Summary |
---|
public byte | byteValue() return lValue.byteValue();
|
public int | compareTo(java.lang.Object obj)
if (lValue != null)
return lValue.compareTo(obj);
else
if (equals(obj) == true)
return 0; // null == null
else
return 1; // object is greater
|
public double | doubleValue() return lValue.doubleValue();
|
public synchronized boolean | equals(java.lang.Object obj)
if (!(obj instanceof UnsignedInt)) return false;
UnsignedInt other = (UnsignedInt) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((lValue ==null && other.lValue ==null) ||
(lValue !=null &&
lValue.equals(other.lValue)));
__equalsCalc = null;
return _equals;
|
public float | floatValue() return lValue.floatValue();
|
public int | hashCode()
if (lValue != null)
return lValue.hashCode();
else
return 0;
|
public int | intValue() return lValue.intValue();
|
public static boolean | isValid(long iValue)validate the value against the xsd definition
if ( (iValue < 0L) || (iValue > 4294967295L))
return false;
else
return true;
|
public long | longValue() return lValue.longValue();
|
public void | setValue(long iValue)validates the data and sets the value for the object.
if (UnsignedInt.isValid(iValue) == false)
throw new NumberFormatException(
Messages.getMessage("badUnsignedInt00") +
String.valueOf(iValue) + "]");
lValue = new Long(iValue);
|
public short | shortValue() return lValue.shortValue();
|
public java.lang.String | toString()
if (lValue != null)
return lValue.toString();
else
return null;
|