com.amazonaws.a2s.model
Class AvailabilityAttributes

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

public class AvailabilityAttributes
extends java.lang.Object

Java class for AvailabilityAttributes complex type.

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

 <complexType name="AvailabilityAttributes">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AvailabilityType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="IsPreorder" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="MinimumHours" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="MaximumHours" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.lang.String availabilityType
           
protected  java.lang.Boolean isPreorder
           
protected  java.lang.Integer maximumHours
           
protected  java.lang.Integer minimumHours
           
 
Constructor Summary
AvailabilityAttributes()
           
 
Method Summary
 java.lang.String getAvailabilityType()
          Gets the value of the availabilityType property.
 java.lang.Integer getMaximumHours()
          Gets the value of the maximumHours property.
 java.lang.Integer getMinimumHours()
          Gets the value of the minimumHours property.
 java.lang.Boolean isIsPreorder()
          Gets the value of the isPreorder property.
 boolean isSetAvailabilityType()
           
 boolean isSetIsPreorder()
           
 boolean isSetMaximumHours()
           
 boolean isSetMinimumHours()
           
 void setAvailabilityType(java.lang.String value)
          Sets the value of the availabilityType property.
 void setIsPreorder(java.lang.Boolean value)
          Sets the value of the isPreorder property.
 void setMaximumHours(java.lang.Integer value)
          Sets the value of the maximumHours property.
 void setMinimumHours(java.lang.Integer value)
          Sets the value of the minimumHours property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 AvailabilityAttributes withAvailabilityType(java.lang.String value)
          Sets the value of the AvailabilityType property.
 AvailabilityAttributes withIsPreorder(java.lang.Boolean value)
          Sets the value of the IsPreorder property.
 AvailabilityAttributes withMaximumHours(java.lang.Integer value)
          Sets the value of the MaximumHours property.
 AvailabilityAttributes withMinimumHours(java.lang.Integer value)
          Sets the value of the MinimumHours property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

availabilityType

protected java.lang.String availabilityType

isPreorder

protected java.lang.Boolean isPreorder

minimumHours

protected java.lang.Integer minimumHours

maximumHours

protected java.lang.Integer maximumHours
Constructor Detail

AvailabilityAttributes

public AvailabilityAttributes()
Method Detail

getAvailabilityType

public java.lang.String getAvailabilityType()
Gets the value of the availabilityType property.

Returns:
possible object is String

setAvailabilityType

public void setAvailabilityType(java.lang.String value)
Sets the value of the availabilityType property.

Parameters:
value - allowed object is String

isSetAvailabilityType

public boolean isSetAvailabilityType()

isIsPreorder

public java.lang.Boolean isIsPreorder()
Gets the value of the isPreorder property.

Returns:
possible object is Boolean

setIsPreorder

public void setIsPreorder(java.lang.Boolean value)
Sets the value of the isPreorder property.

Parameters:
value - allowed object is Boolean

isSetIsPreorder

public boolean isSetIsPreorder()

getMinimumHours

public java.lang.Integer getMinimumHours()
Gets the value of the minimumHours property.

Returns:
possible object is Integer

setMinimumHours

public void setMinimumHours(java.lang.Integer value)
Sets the value of the minimumHours property.

Parameters:
value - allowed object is Integer

isSetMinimumHours

public boolean isSetMinimumHours()

getMaximumHours

public java.lang.Integer getMaximumHours()
Gets the value of the maximumHours property.

Returns:
possible object is Integer

setMaximumHours

public void setMaximumHours(java.lang.Integer value)
Sets the value of the maximumHours property.

Parameters:
value - allowed object is Integer

isSetMaximumHours

public boolean isSetMaximumHours()

withAvailabilityType

public AvailabilityAttributes withAvailabilityType(java.lang.String value)
Sets the value of the AvailabilityType property.

Parameters:
value -
Returns:
this instance

withIsPreorder

public AvailabilityAttributes withIsPreorder(java.lang.Boolean value)
Sets the value of the IsPreorder property.

Parameters:
value -
Returns:
this instance

withMinimumHours

public AvailabilityAttributes withMinimumHours(java.lang.Integer value)
Sets the value of the MinimumHours property.

Parameters:
value -
Returns:
this instance

withMaximumHours

public AvailabilityAttributes withMaximumHours(java.lang.Integer value)
Sets the value of the MaximumHours 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