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

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

 <complexType name="event">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="eid" type="{http://api.facebook.com/1.0/}eid"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="tagline" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="nid" type="{http://api.facebook.com/1.0/}nid"/>
         <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="host" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="event_type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="event_subtype" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="start_time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="end_time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="creator" type="{http://api.facebook.com/1.0/}id"/>
         <element name="update_time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="location" 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"/>
         <element name="hide_guest_list" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="show_in_search" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "event", propOrder = {
     "eid",
     "name",
     "tagline",
     "nid",
     "pic",
     "picBig",
     "picSmall",
     "host",
     "description",
     "eventType",
     "eventSubtype",
     "startTime",
     "endTime",
     "creator",
     "updateTime",
     "location",
     "venue",
     "privacy",
     "hideGuestList",
     "showInSearch"
 })
 public class Event
     implements EqualsHashCodeToString
 {
 
     protected long eid;
     @XmlElement(required = true)
     protected String name;
     @XmlElement(required = true)
     protected String tagline;
     protected int nid;
     @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)
    protected String host;
    @XmlElement(required = true)
    protected String description;
    @XmlElement(name = "event_type", required = true)
    protected String eventType;
    @XmlElement(name = "event_subtype", required = true)
    protected String eventSubtype;
    @XmlElement(name = "start_time")
    protected long startTime;
    @XmlElement(name = "end_time")
    protected long endTime;
    @XmlElement(required = true, type = Long.class, nillable = true)
    protected Long creator;
    @XmlElement(name = "update_time")
    protected long updateTime;
    @XmlElement(required = true)
    protected String location;
    @XmlElement(required = true)
    protected Location venue;
    @XmlElement(required = true)
    protected String privacy;
    @XmlElement(name = "hide_guest_list")
    protected boolean hideGuestList;
    @XmlElement(name = "show_in_search")
    protected boolean showInSearch;

    
Gets the value of the eid property.
    public long getEid() {
        return ;
    }

    
Sets the value of the eid property.
    public void setEid(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 tagline property.

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

    
Sets the value of the tagline property.

Parameters:
value allowed object is
    public void setTagline(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 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 host property.

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

    
Sets the value of the host property.

Parameters:
value allowed object is
    public void setHost(String 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 eventType property.

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

    
Sets the value of the eventType property.

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

    
Gets the value of the eventSubtype property.

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

    
Sets the value of the eventSubtype property.

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

    
Gets the value of the startTime property.
    public long getStartTime() {
        return ;
    }

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

    
Gets the value of the endTime property.
    public long getEndTime() {
        return ;
    }

    
Sets the value of the endTime property.
    public void setEndTime(long 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 location property.

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

    
Sets the value of the location property.

Parameters:
value allowed object is
    public void setLocation(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;
    }

    
Gets the value of the hideGuestList property.
    public boolean isHideGuestList() {
        return ;
    }

    
Sets the value of the hideGuestList property.
    public void setHideGuestList(boolean value) {
        this. = value;
    }

    
Gets the value of the showInSearch property.
    public boolean isShowInSearch() {
        return ;
    }

    
Sets the value of the showInSearch property.
    public void setShowInSearch(boolean value) {
        this. = value;
    }
    public void toString(ToStringBuilder toStringBuilder) {
        {
            long theEid;
            theEid = this.getEid();
            toStringBuilder.append("eid"theEid);
        }
        {
            String theName;
            theName = this.getName();
            toStringBuilder.append("name"theName);
        }
        {
            String theTagline;
            theTagline = this.getTagline();
            toStringBuilder.append("tagline"theTagline);
        }
        {
            int theNid;
            theNid = this.getNid();
            toStringBuilder.append("nid"theNid);
        }
        {
            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);
        }
        {
            String theHost;
            theHost = this.getHost();
            toStringBuilder.append("host"theHost);
        }
        {
            String theDescription;
            theDescription = this.getDescription();
            toStringBuilder.append("description"theDescription);
        }
        {
            String theEventType;
            theEventType = this.getEventType();
            toStringBuilder.append("eventType"theEventType);
        }
        {
            String theEventSubtype;
            theEventSubtype = this.getEventSubtype();
            toStringBuilder.append("eventSubtype"theEventSubtype);
        }
        {
            long theStartTime;
            theStartTime = this.getStartTime();
            toStringBuilder.append("startTime"theStartTime);
        }
        {
            long theEndTime;
            theEndTime = this.getEndTime();
            toStringBuilder.append("endTime"theEndTime);
        }
        {
            Long theCreator;
            theCreator = this.getCreator();
            toStringBuilder.append("creator"theCreator);
        }
        {
            long theUpdateTime;
            theUpdateTime = this.getUpdateTime();
            toStringBuilder.append("updateTime"theUpdateTime);
        }
        {
            String theLocation;
            theLocation = this.getLocation();
            toStringBuilder.append("location"theLocation);
        }
        {
            Location theVenue;
            theVenue = this.getVenue();
            toStringBuilder.append("venue"theVenue);
        }
        {
            String thePrivacy;
            thePrivacy = this.getPrivacy();
            toStringBuilder.append("privacy"thePrivacy);
        }
        {
            boolean theHideGuestList;
            theHideGuestList = this.isHideGuestList();
            toStringBuilder.append("hideGuestList"theHideGuestList);
        }
        {
            boolean theShowInSearch;
            theShowInSearch = this.isShowInSearch();
            toStringBuilder.append("showInSearch"theShowInSearch);
        }
    }
    public String toString() {
        final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
        toString(toStringBuilder);
        return toStringBuilder.toString();
    }
    public void equals(Object objectEqualsBuilder equalsBuilder) {
        if (!(object instanceof Event)) {
            equalsBuilder.appendSuper(false);
            return ;
        }
        if (this == object) {
            return ;
        }
        final Event that = ((Eventobject);
        equalsBuilder.append(this.getEid(), that.getEid());
        equalsBuilder.append(this.getName(), that.getName());
        equalsBuilder.append(this.getTagline(), that.getTagline());
        equalsBuilder.append(this.getNid(), that.getNid());
        equalsBuilder.append(this.getPic(), that.getPic());
        equalsBuilder.append(this.getPicBig(), that.getPicBig());
        equalsBuilder.append(this.getPicSmall(), that.getPicSmall());
        equalsBuilder.append(this.getHost(), that.getHost());
        equalsBuilder.append(this.getDescription(), that.getDescription());
        equalsBuilder.append(this.getEventType(), that.getEventType());
        equalsBuilder.append(this.getEventSubtype(), that.getEventSubtype());
        equalsBuilder.append(this.getStartTime(), that.getStartTime());
        equalsBuilder.append(this.getEndTime(), that.getEndTime());
        equalsBuilder.append(this.getCreator(), that.getCreator());
        equalsBuilder.append(this.getUpdateTime(), that.getUpdateTime());
        equalsBuilder.append(this.getLocation(), that.getLocation());
        equalsBuilder.append(this.getVenue(), that.getVenue());
        equalsBuilder.append(this.getPrivacy(), that.getPrivacy());
        equalsBuilder.append(this.isHideGuestList(), that.isHideGuestList());
        equalsBuilder.append(this.isShowInSearch(), that.isShowInSearch());
    }
    public boolean equals(Object object) {
        if (!(object instanceof Event)) {
            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.getEid());
        hashCodeBuilder.append(this.getName());
        hashCodeBuilder.append(this.getTagline());
        hashCodeBuilder.append(this.getNid());
        hashCodeBuilder.append(this.getPic());
        hashCodeBuilder.append(this.getPicBig());
        hashCodeBuilder.append(this.getPicSmall());
        hashCodeBuilder.append(this.getHost());
        hashCodeBuilder.append(this.getDescription());
        hashCodeBuilder.append(this.getEventType());
        hashCodeBuilder.append(this.getEventSubtype());
        hashCodeBuilder.append(this.getStartTime());
        hashCodeBuilder.append(this.getEndTime());
        hashCodeBuilder.append(this.getCreator());
        hashCodeBuilder.append(this.getUpdateTime());
        hashCodeBuilder.append(this.getLocation());
        hashCodeBuilder.append(this.getVenue());
        hashCodeBuilder.append(this.getPrivacy());
        hashCodeBuilder.append(this.isHideGuestList());
        hashCodeBuilder.append(this.isShowInSearch());
    }
    public int hashCode() {
        final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
        hashCode(hashCodeBuilder);
        return hashCodeBuilder.toHashCode();
    }
New to GrepCode? Check out our FAQ X