Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2010.07.14 at 01:45:55 PM PDT 
  //
  
  
  package com.google.code.facebookapi.schema;
 
 import java.util.List;

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <element name="info_item" type="{http://api.facebook.com/1.0/}info_item" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "infoItem"
 })
 @XmlRootElement(name = "profile_getInfoOptions_response")
     implements EqualsHashCodeToString
 {
 
     @XmlElement(name = "info_item")
     protected List<InfoIteminfoItem;
     @XmlAttribute
     protected Boolean list;

    
Gets the value of the infoItem 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 infoItem property.

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

    getInfoItem().add(newItem);
 

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

 
     public List<InfoItemgetInfoItem() {
         if ( == null) {
              = new ArrayList<InfoItem>();
         }
         return this.;
     }

    
Gets the value of the list property.

Returns:
possible object is
    public Boolean isList() {
        return ;
    }

    
Sets the value of the list property.

Parameters:
value allowed object is
    public void setList(Boolean value) {
        this. = value;
    }
    public void toString(ToStringBuilder toStringBuilder) {
        {
            List<InfoItemtheInfoItem;
            theInfoItem = this.getInfoItem();
            toStringBuilder.append("infoItem"theInfoItem);
        }
        {
            Boolean theList;
            theList = this.isList();
            toStringBuilder.append("list"theList);
        }
    }
    public String toString() {
        final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
        toString(toStringBuilder);
        return toStringBuilder.toString();
    }
    public void equals(Object objectEqualsBuilder equalsBuilder) {
        if (!(object instanceof ProfileGetInfoOptionsResponse)) {
            equalsBuilder.appendSuper(false);
            return ;
        }
        if (this == object) {
            return ;
        }
        final ProfileGetInfoOptionsResponse that = ((ProfileGetInfoOptionsResponseobject);
        equalsBuilder.append(this.getInfoItem(), that.getInfoItem());
        equalsBuilder.append(this.isList(), that.isList());
    }
    public boolean equals(Object object) {
        if (!(object instanceof ProfileGetInfoOptionsResponse)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
        equals(objectequalsBuilder);
        return equalsBuilder.isEquals();
    }
    public void hashCode(HashCodeBuilder hashCodeBuilder) {
        hashCodeBuilder.append(this.getInfoItem());
        hashCodeBuilder.append(this.isList());
    }
    public int hashCode() {
        final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
        hashCode(hashCodeBuilder);
        return hashCodeBuilder.toHashCode();
    }
New to GrepCode? Check out our FAQ X