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;
 

Java class for group complex type.

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

 <complexType name="group">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="gid" type="{http://api.facebook.com/1.0/}gid"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="nid" type="{http://api.facebook.com/1.0/}nid"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="group_type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="group_subtype" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="recent_news" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="pic" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="pic_big" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="pic_small" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="creator" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="update_time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="office" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="website" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="venue" type="{http://api.facebook.com/1.0/}location"/>
         <element name="privacy" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "group", propOrder = {
     "gid",
     "name",
     "nid",
     "description",
     "groupType",
     "groupSubtype",
     "recentNews",
     "pic",
     "picBig",
     "picSmall",
     "creator",
     "updateTime",
     "office",
     "website",
     "venue",
     "privacy"
 })
 public class Group
     implements EqualsHashCodeToString
 {
 
     protected long gid;
     @XmlElement(required = true)
     protected String name;
     protected int nid;
     @XmlElement(required = true)
     protected String description;
     @XmlElement(name = "group_type", required = true)
     protected String groupType;
     @XmlElement(name = "group_subtype", required = true)
     protected String groupSubtype;
     @XmlElement(name = "recent_news", required = true)
     protected String recentNews;
     @XmlElement(required = true)
     protected String pic;
     @XmlElement(name = "pic_big", required = true)
     protected String picBig;
     @XmlElement(name = "pic_small", required = true)
    protected String picSmall;
    @XmlElement(required = true, type = Long.class, nillable = true)
    protected Long creator;
    @XmlElement(name = "update_time")
    protected long updateTime;
    @XmlElement(required = true)
    protected String office;
    @XmlElement(required = true)
    protected String website;
    @XmlElement(required = true)
    protected Location venue;
    @XmlElement(required = true)
    protected String privacy;

    
Gets the value of the gid property.
    public long getGid() {
        return ;
    }

    
Sets the value of the gid property.
    public void setGid(long value) {
        this. = value;
    }

    
Gets the value of the name property.

Returns:
possible object is
    public String getName() {
        return ;
    }

    
Sets the value of the name property.

Parameters:
value allowed object is
    public void setName(String value) {
        this. = value;
    }

    
Gets the value of the nid property.
    public int getNid() {
        return ;
    }

    
Sets the value of the nid property.
    public void setNid(int value) {
        this. = value;
    }

    
Gets the value of the description property.

Returns:
possible object is
    public String getDescription() {
        return ;
    }

    
Sets the value of the description property.

Parameters:
value allowed object is
    public void setDescription(String value) {
        this. = value;
    }

    
Gets the value of the groupType property.

Returns:
possible object is
    public String getGroupType() {
        return ;
    }

    
Sets the value of the groupType property.

Parameters:
value allowed object is
    public void setGroupType(String value) {
        this. = value;
    }

    
Gets the value of the groupSubtype property.

Returns:
possible object is
    public String getGroupSubtype() {
        return ;
    }

    
Sets the value of the groupSubtype property.

Parameters:
value allowed object is
    public void setGroupSubtype(String value) {
        this. = value;
    }

    
Gets the value of the recentNews property.

Returns:
possible object is
    public String getRecentNews() {
        return ;
    }

    
Sets the value of the recentNews property.

Parameters:
value allowed object is
    public void setRecentNews(String value) {
        this. = value;
    }

    
Gets the value of the pic property.

Returns:
possible object is
    public String getPic() {
        return ;
    }

    
Sets the value of the pic property.

Parameters:
value allowed object is
    public void setPic(String value) {
        this. = value;
    }

    
Gets the value of the picBig property.

Returns:
possible object is
    public String getPicBig() {
        return ;
    }

    
Sets the value of the picBig property.

Parameters:
value allowed object is
    public void setPicBig(String value) {
        this. = value;
    }

    
Gets the value of the picSmall property.

Returns:
possible object is
    public String getPicSmall() {
        return ;
    }

    
Sets the value of the picSmall property.

Parameters:
value allowed object is
    public void setPicSmall(String value) {
        this. = value;
    }

    
Gets the value of the creator property.

Returns:
possible object is
    public Long getCreator() {
        return ;
    }

    
Sets the value of the creator property.

Parameters:
value allowed object is
    public void setCreator(Long value) {
        this. = value;
    }

    
Gets the value of the updateTime property.
    public long getUpdateTime() {
        return ;
    }

    
Sets the value of the updateTime property.
    public void setUpdateTime(long value) {
        this. = value;
    }

    
Gets the value of the office property.

Returns:
possible object is
    public String getOffice() {
        return ;
    }

    
Sets the value of the office property.

Parameters:
value allowed object is
    public void setOffice(String value) {
        this. = value;
    }

    
Gets the value of the website property.

Returns:
possible object is
    public String getWebsite() {
        return ;
    }

    
Sets the value of the website property.

Parameters:
value allowed object is
    public void setWebsite(String value) {
        this. = value;
    }

    
Gets the value of the venue property.

Returns:
possible object is
    public Location getVenue() {
        return ;
    }

    
Sets the value of the venue property.

Parameters:
value allowed object is
    public void setVenue(Location value) {
        this. = value;
    }

    
Gets the value of the privacy property.

Returns:
possible object is
    public String getPrivacy() {
        return ;
    }

    
Sets the value of the privacy property.

Parameters:
value allowed object is
    public void setPrivacy(String value) {
        this. = value;
    }
    public void toString(ToStringBuilder toStringBuilder) {
        {
            long theGid;
            theGid = this.getGid();
            toStringBuilder.append("gid"theGid);
        }
        {
            String theName;
            theName = this.getName();
            toStringBuilder.append("name"theName);
        }
        {
            int theNid;
            theNid = this.getNid();
            toStringBuilder.append("nid"theNid);
        }
        {
            String theDescription;
            theDescription = this.getDescription();
            toStringBuilder.append("description"theDescription);
        }
        {
            String theGroupType;
            theGroupType = this.getGroupType();
            toStringBuilder.append("groupType"theGroupType);
        }
        {
            String theGroupSubtype;
            theGroupSubtype = this.getGroupSubtype();
            toStringBuilder.append("groupSubtype"theGroupSubtype);
        }
        {
            String theRecentNews;
            theRecentNews = this.getRecentNews();
            toStringBuilder.append("recentNews"theRecentNews);
        }
        {
            String thePic;
            thePic = this.getPic();
            toStringBuilder.append("pic"thePic);
        }
        {
            String thePicBig;
            thePicBig = this.getPicBig();
            toStringBuilder.append("picBig"thePicBig);
        }
        {
            String thePicSmall;
            thePicSmall = this.getPicSmall();
            toStringBuilder.append("picSmall"thePicSmall);
        }
        {
            Long theCreator;
            theCreator = this.getCreator();
            toStringBuilder.append("creator"theCreator);
        }
        {
            long theUpdateTime;
            theUpdateTime = this.getUpdateTime();
            toStringBuilder.append("updateTime"theUpdateTime);
        }
        {
            String theOffice;
            theOffice = this.getOffice();
            toStringBuilder.append("office"theOffice);
        }
        {
            String theWebsite;
            theWebsite = this.getWebsite();
            toStringBuilder.append("website"theWebsite);
        }
        {
            Location theVenue;
            theVenue = this.getVenue();
            toStringBuilder.append("venue"theVenue);
        }
        {
            String thePrivacy;
            thePrivacy = this.getPrivacy();
            toStringBuilder.append("privacy"thePrivacy);
        }
    }
    public String toString() {
        final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
        toString(toStringBuilder);
        return toStringBuilder.toString();
    }
    public void equals(Object objectEqualsBuilder equalsBuilder) {
        if (!(object instanceof Group)) {
            equalsBuilder.appendSuper(false);
            return ;
        }
        if (this == object) {
            return ;
        }
        final Group that = ((Groupobject);
        equalsBuilder.append(this.getGid(), that.getGid());
        equalsBuilder.append(this.getName(), that.getName());
        equalsBuilder.append(this.getNid(), that.getNid());
        equalsBuilder.append(this.getDescription(), that.getDescription());
        equalsBuilder.append(this.getGroupType(), that.getGroupType());
        equalsBuilder.append(this.getGroupSubtype(), that.getGroupSubtype());
        equalsBuilder.append(this.getRecentNews(), that.getRecentNews());
        equalsBuilder.append(this.getPic(), that.getPic());
        equalsBuilder.append(this.getPicBig(), that.getPicBig());
        equalsBuilder.append(this.getPicSmall(), that.getPicSmall());
        equalsBuilder.append(this.getCreator(), that.getCreator());
        equalsBuilder.append(this.getUpdateTime(), that.getUpdateTime());
        equalsBuilder.append(this.getOffice(), that.getOffice());
        equalsBuilder.append(this.getWebsite(), that.getWebsite());
        equalsBuilder.append(this.getVenue(), that.getVenue());
        equalsBuilder.append(this.getPrivacy(), that.getPrivacy());
    }
    public boolean equals(Object object) {
        if (!(object instanceof Group)) {
            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.getGid());
        hashCodeBuilder.append(this.getName());
        hashCodeBuilder.append(this.getNid());
        hashCodeBuilder.append(this.getDescription());
        hashCodeBuilder.append(this.getGroupType());
        hashCodeBuilder.append(this.getGroupSubtype());
        hashCodeBuilder.append(this.getRecentNews());
        hashCodeBuilder.append(this.getPic());
        hashCodeBuilder.append(this.getPicBig());
        hashCodeBuilder.append(this.getPicSmall());
        hashCodeBuilder.append(this.getCreator());
        hashCodeBuilder.append(this.getUpdateTime());
        hashCodeBuilder.append(this.getOffice());
        hashCodeBuilder.append(this.getWebsite());
        hashCodeBuilder.append(this.getVenue());
        hashCodeBuilder.append(this.getPrivacy());
    }
    public int hashCode() {
        final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
        hashCode(hashCodeBuilder);
        return hashCodeBuilder.toHashCode();
    }
New to GrepCode? Check out our FAQ X