com.amazonaws.a2s.model
Class NonNegativeIntegerWithUnits

java.lang.Object
  extended by com.amazonaws.a2s.model.NonNegativeIntegerWithUnits

public class NonNegativeIntegerWithUnits
extends java.lang.Object

Java class for NonNegativeIntegerWithUnits complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="NonNegativeIntegerWithUnits">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>nonNegativeInteger">
       <attribute name="Units" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </simpleContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.lang.String units
           
protected  java.math.BigInteger value
           
 
Constructor Summary
NonNegativeIntegerWithUnits()
           
 
Method Summary
 java.lang.String getUnits()
          Gets the value of the units property.
 java.math.BigInteger getValue()
          Gets the value of the value property.
 boolean isSetUnits()
           
 boolean isSetValue()
           
 void setUnits(java.lang.String value)
          Sets the value of the units property.
 void setValue(java.math.BigInteger value)
          Sets the value of the value property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 NonNegativeIntegerWithUnits withUnits(java.lang.String value)
          Sets the value of the Units property.
 NonNegativeIntegerWithUnits withValue(java.math.BigInteger value)
          Sets the value of the Value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected java.math.BigInteger value

units

protected java.lang.String units
Constructor Detail

NonNegativeIntegerWithUnits

public NonNegativeIntegerWithUnits()
Method Detail

getValue

public java.math.BigInteger getValue()
Gets the value of the value property.

Returns:
possible object is BigInteger

setValue

public void setValue(java.math.BigInteger value)
Sets the value of the value property.

Parameters:
value - allowed object is BigInteger

isSetValue

public boolean isSetValue()

getUnits

public java.lang.String getUnits()
Gets the value of the units property.

Returns:
possible object is String

setUnits

public void setUnits(java.lang.String value)
Sets the value of the units property.

Parameters:
value - allowed object is String

isSetUnits

public boolean isSetUnits()

withValue

public NonNegativeIntegerWithUnits withValue(java.math.BigInteger value)
Sets the value of the Value property.

Parameters:
value -
Returns:
this instance

withUnits

public NonNegativeIntegerWithUnits withUnits(java.lang.String value)
Sets the value of the Units property.

Parameters:
value -
Returns:
this instance

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only