com.ebmwebsourcing.wsstar.agreement.definition.org.ggf.schemas.graap.agreement
Class OfferItemType

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.agreement.definition.org.ggf.schemas.graap.agreement.OfferItemType
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class OfferItemType
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for OfferItemType complex type.

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

 <complexType name="OfferItemType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://schemas.ggf.org/graap/2007/03/ws-agreement}Location"/>
         <element name="ItemConstraint">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <choice minOccurs="0">
                 </choice>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class OfferItemType.ItemConstraint
          Java class for anonymous complex type.
 
Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  OfferItemType.ItemConstraint itemConstraint
           
protected  java.lang.Object location
           
protected  java.lang.String name
           
 
Constructor Summary
OfferItemType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 OfferItemType.ItemConstraint getItemConstraint()
          Gets the value of the itemConstraint property.
 java.lang.Object getLocation()
          Gets the value of the location property.
 java.lang.String getName()
          Gets the value of the name property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setItemConstraint(OfferItemType.ItemConstraint value)
          Sets the value of the itemConstraint property.
 void setLocation(java.lang.Object value)
          Sets the value of the location property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

location

protected java.lang.Object location

itemConstraint

protected OfferItemType.ItemConstraint itemConstraint

any

protected java.util.List<java.lang.Object> any

name

protected java.lang.String name
Constructor Detail

OfferItemType

public OfferItemType()
Method Detail

getLocation

public java.lang.Object getLocation()
Gets the value of the location property.

Returns:
possible object is Object

setLocation

public void setLocation(java.lang.Object value)
Sets the value of the location property.

Parameters:
value - allowed object is Object

getItemConstraint

public OfferItemType.ItemConstraint getItemConstraint()
Gets the value of the itemConstraint property.

Returns:
possible object is OfferItemType.ItemConstraint

setItemConstraint

public void setItemConstraint(OfferItemType.ItemConstraint value)
Sets the value of the itemConstraint property.

Parameters:
value - allowed object is OfferItemType.ItemConstraint

getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object Element


getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2009 eBM Websourcing. All Rights Reserved.