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 stream_data complex type.

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

 <complexType name="stream_data">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="posts">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="stream_post" type="{http://api.facebook.com/1.0/}stream_post" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="profiles">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="profile" type="{http://api.facebook.com/1.0/}profile" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="albums">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="album" type="{http://api.facebook.com/1.0/}album" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="photo_tags">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="photo_tag" type="{http://api.facebook.com/1.0/}photo_tag" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="photo_feedback">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="photo_feedback" type="{http://api.facebook.com/1.0/}photo_feedback" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="connections">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="connection" type="{http://api.facebook.com/1.0/}connection" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "stream_data", propOrder = {
     "posts",
     "profiles",
     "albums",
     "photoTags",
     "photoFeedback",
     "connections"
 })
 public class StreamData
     implements EqualsHashCodeToString
 {
 
     @XmlElement(required = true)
     protected StreamData.Posts posts;
     @XmlElement(required = true)
     protected StreamData.Profiles profiles;
     @XmlElement(required = true)
     protected StreamData.Albums albums;
     @XmlElement(name = "photo_tags", required = true)
     protected StreamData.PhotoTags photoTags;
     @XmlElement(name = "photo_feedback", required = true)
     @XmlElement(required = true)
     protected StreamData.Connections connections;

    
Gets the value of the posts property.

Returns:
possible object is
 
     public StreamData.Posts getPosts() {
         return ;
     }

    
Sets the value of the posts property.

Parameters:
value allowed object is
 
     public void setPosts(StreamData.Posts value) {
         this. = value;
     }

    
Gets the value of the profiles property.

Returns:
possible object is
 
     public StreamData.Profiles getProfiles() {
         return ;
     }

    
Sets the value of the profiles property.

Parameters:
value allowed object is
 
     public void setProfiles(StreamData.Profiles value) {
         this. = value;
     }

    
Gets the value of the albums property.

Returns:
possible object is
 
     public StreamData.Albums getAlbums() {
         return ;
     }

    
Sets the value of the albums property.

Parameters:
value allowed object is
 
     public void setAlbums(StreamData.Albums value) {
         this. = value;
     }

    
Gets the value of the photoTags property.

Returns:
possible object is
 
     public StreamData.PhotoTags getPhotoTags() {
         return ;
     }

    
Sets the value of the photoTags property.

Parameters:
value allowed object is
 
     public void setPhotoTags(StreamData.PhotoTags value) {
         this. = value;
     }

    
Gets the value of the photoFeedback property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the photoFeedback property.

Parameters:
value allowed object is
 
     public void setPhotoFeedback(StreamData.PhotoFeedback value) {
         this. = value;
     }

    
Gets the value of the connections property.

Returns:
possible object is
 
     public StreamData.Connections getConnections() {
         return ;
     }

    
Sets the value of the connections property.

Parameters:
value allowed object is
 
     public void setConnections(StreamData.Connections value) {
         this. = value;
     }
 
     public void toString(ToStringBuilder toStringBuilder) {
         {
             StreamData.Posts thePosts;
             thePosts = this.getPosts();
             toStringBuilder.append("posts"thePosts);
         }
         {
             StreamData.Profiles theProfiles;
             theProfiles = this.getProfiles();
             toStringBuilder.append("profiles"theProfiles);
         }
         {
             StreamData.Albums theAlbums;
             theAlbums = this.getAlbums();
             toStringBuilder.append("albums"theAlbums);
         }
         {
             StreamData.PhotoTags thePhotoTags;
             thePhotoTags = this.getPhotoTags();
             toStringBuilder.append("photoTags"thePhotoTags);
         }
         {
             StreamData.PhotoFeedback thePhotoFeedback;
             thePhotoFeedback = this.getPhotoFeedback();
             toStringBuilder.append("photoFeedback"thePhotoFeedback);
         }
         {
             StreamData.Connections theConnections;
             theConnections = this.getConnections();
             toStringBuilder.append("connections"theConnections);
         }
     }
 
     public String toString() {
         final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
         toString(toStringBuilder);
         return toStringBuilder.toString();
     }
 
     public void equals(Object objectEqualsBuilder equalsBuilder) {
         if (!(object instanceof StreamData)) {
             equalsBuilder.appendSuper(false);
             return ;
         }
         if (this == object) {
             return ;
         }
         final StreamData that = ((StreamDataobject);
         equalsBuilder.append(this.getPosts(), that.getPosts());
         equalsBuilder.append(this.getProfiles(), that.getProfiles());
         equalsBuilder.append(this.getAlbums(), that.getAlbums());
         equalsBuilder.append(this.getPhotoTags(), that.getPhotoTags());
         equalsBuilder.append(this.getPhotoFeedback(), that.getPhotoFeedback());
         equalsBuilder.append(this.getConnections(), that.getConnections());
     }
 
     public boolean equals(Object object) {
         if (!(object instanceof StreamData)) {
             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.getPosts());
         hashCodeBuilder.append(this.getProfiles());
         hashCodeBuilder.append(this.getAlbums());
         hashCodeBuilder.append(this.getPhotoTags());
         hashCodeBuilder.append(this.getPhotoFeedback());
         hashCodeBuilder.append(this.getConnections());
     }
 
     public int hashCode() {
         final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
         hashCode(hashCodeBuilder);
         return hashCodeBuilder.toHashCode();
     }


    

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="album" type="{http://api.facebook.com/1.0/}album" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
 
     @XmlType(name = "", propOrder = {
         "album"
     })
     public static class Albums
         implements EqualsHashCodeToString
     {
 
         protected List<Albumalbum;
         @XmlAttribute
         protected Boolean list;

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

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

    getAlbum().add(newItem);
 

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

 
         public List<AlbumgetAlbum() {
             if ( == null) {
                  = new ArrayList<Album>();
             }
             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<AlbumtheAlbum;
                 theAlbum = this.getAlbum();
                 toStringBuilder.append("album"theAlbum);
             }
             {
                 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 StreamData.Albums)) {
                 equalsBuilder.appendSuper(false);
                 return ;
             }
             if (this == object) {
                 return ;
             }
             final StreamData.Albums that = ((StreamData.Albumsobject);
             equalsBuilder.append(this.getAlbum(), that.getAlbum());
             equalsBuilder.append(this.isList(), that.isList());
         }
 
         public boolean equals(Object object) {
             if (!(object instanceof StreamData.Albums)) {
                 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.getAlbum());
             hashCodeBuilder.append(this.isList());
         }
 
         public int hashCode() {
             final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
             hashCode(hashCodeBuilder);
             return hashCodeBuilder.toHashCode();
         }
 
     }


    

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="connection" type="{http://api.facebook.com/1.0/}connection" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
 
     @XmlType(name = "", propOrder = {
         "connection"
     })
     public static class Connections
         implements EqualsHashCodeToString
     {
 
         protected List<Connectionconnection;
         @XmlAttribute
         protected Boolean list;

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

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

    getConnection().add(newItem);
 

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

 
         public List<ConnectiongetConnection() {
             if ( == null) {
                  = new ArrayList<Connection>();
             }
             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<ConnectiontheConnection;
                 theConnection = this.getConnection();
                 toStringBuilder.append("connection"theConnection);
             }
             {
                 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 StreamData.Connections)) {
                 equalsBuilder.appendSuper(false);
                 return ;
             }
             if (this == object) {
                 return ;
             }
             final StreamData.Connections that = ((StreamData.Connectionsobject);
             equalsBuilder.append(this.getConnection(), that.getConnection());
             equalsBuilder.append(this.isList(), that.isList());
         }
 
         public boolean equals(Object object) {
             if (!(object instanceof StreamData.Connections)) {
                 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.getConnection());
             hashCodeBuilder.append(this.isList());
         }
 
         public int hashCode() {
             final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
             hashCode(hashCodeBuilder);
             return hashCodeBuilder.toHashCode();
         }
 
     }


    

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="photo_feedback" type="{http://api.facebook.com/1.0/}photo_feedback" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
 
     @XmlType(name = "", propOrder = {
         "photoFeedback"
     })
     public static class PhotoFeedback
         implements EqualsHashCodeToString
     {
 
         @XmlElement(name = "photo_feedback")
         @XmlAttribute
         protected Boolean list;

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

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

    getPhotoFeedback().add(newItem);
 

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

 
             if ( == null) {
                  = new ArrayList<com.google.code.facebookapi.schema.PhotoFeedback>();
             }
             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<com.google.code.facebookapi.schema.PhotoFeedbackthePhotoFeedback;
                 thePhotoFeedback = this.getPhotoFeedback();
                 toStringBuilder.append("photoFeedback"thePhotoFeedback);
             }
             {
                 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 StreamData.PhotoFeedback)) {
                 equalsBuilder.appendSuper(false);
                 return ;
             }
             if (this == object) {
                 return ;
             }
             final StreamData.PhotoFeedback that = ((StreamData.PhotoFeedbackobject);
             equalsBuilder.append(this.getPhotoFeedback(), that.getPhotoFeedback());
             equalsBuilder.append(this.isList(), that.isList());
         }
 
         public boolean equals(Object object) {
             if (!(object instanceof StreamData.PhotoFeedback)) {
                 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.getPhotoFeedback());
             hashCodeBuilder.append(this.isList());
         }
 
         public int hashCode() {
             final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
             hashCode(hashCodeBuilder);
             return hashCodeBuilder.toHashCode();
         }
 
     }


    

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="photo_tag" type="{http://api.facebook.com/1.0/}photo_tag" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
 
     @XmlType(name = "", propOrder = {
         "photoTag"
     })
     public static class PhotoTags
         implements EqualsHashCodeToString
     {
 
         @XmlElement(name = "photo_tag")
         protected List<PhotoTagphotoTag;
         @XmlAttribute
         protected Boolean list;

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

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

    getPhotoTag().add(newItem);
 

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

 
         public List<PhotoTaggetPhotoTag() {
             if ( == null) {
                  = new ArrayList<PhotoTag>();
             }
             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<PhotoTagthePhotoTag;
                 thePhotoTag = this.getPhotoTag();
                 toStringBuilder.append("photoTag"thePhotoTag);
             }
             {
                 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 StreamData.PhotoTags)) {
                 equalsBuilder.appendSuper(false);
                 return ;
             }
             if (this == object) {
                 return ;
             }
             final StreamData.PhotoTags that = ((StreamData.PhotoTagsobject);
             equalsBuilder.append(this.getPhotoTag(), that.getPhotoTag());
             equalsBuilder.append(this.isList(), that.isList());
         }
 
         public boolean equals(Object object) {
             if (!(object instanceof StreamData.PhotoTags)) {
                 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.getPhotoTag());
             hashCodeBuilder.append(this.isList());
         }
 
         public int hashCode() {
             final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
             hashCode(hashCodeBuilder);
             return hashCodeBuilder.toHashCode();
         }
 
     }


    

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="stream_post" type="{http://api.facebook.com/1.0/}stream_post" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
 
     @XmlType(name = "", propOrder = {
         "streamPost"
     })
     public static class Posts
         implements EqualsHashCodeToString
     {
 
         @XmlElement(name = "stream_post")
         protected List<StreamPoststreamPost;
         @XmlAttribute
         protected Boolean list;

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

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

    getStreamPost().add(newItem);
 

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

        public List<StreamPostgetStreamPost() {
            if ( == null) {
                 = new ArrayList<StreamPost>();
            }
            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<StreamPosttheStreamPost;
                theStreamPost = this.getStreamPost();
                toStringBuilder.append("streamPost"theStreamPost);
            }
            {
                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 StreamData.Posts)) {
                equalsBuilder.appendSuper(false);
                return ;
            }
            if (this == object) {
                return ;
            }
            final StreamData.Posts that = ((StreamData.Postsobject);
            equalsBuilder.append(this.getStreamPost(), that.getStreamPost());
            equalsBuilder.append(this.isList(), that.isList());
        }
        public boolean equals(Object object) {
            if (!(object instanceof StreamData.Posts)) {
                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.getStreamPost());
            hashCodeBuilder.append(this.isList());
        }
        public int hashCode() {
            final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
            hashCode(hashCodeBuilder);
            return hashCodeBuilder.toHashCode();
        }
    }


    

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="profile" type="{http://api.facebook.com/1.0/}profile" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "profile"
    })
    public static class Profiles
        implements EqualsHashCodeToString
    {
        protected List<Profileprofile;
        @XmlAttribute
        protected Boolean list;

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

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

    getProfile().add(newItem);
 

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

        public List<ProfilegetProfile() {
            if ( == null) {
                 = new ArrayList<Profile>();
            }
            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<ProfiletheProfile;
                theProfile = this.getProfile();
                toStringBuilder.append("profile"theProfile);
            }
            {
                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 StreamData.Profiles)) {
                equalsBuilder.appendSuper(false);
                return ;
            }
            if (this == object) {
                return ;
            }
            final StreamData.Profiles that = ((StreamData.Profilesobject);
            equalsBuilder.append(this.getProfile(), that.getProfile());
            equalsBuilder.append(this.isList(), that.isList());
        }
        public boolean equals(Object object) {
            if (!(object instanceof StreamData.Profiles)) {
                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.getProfile());
            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