com.google.code.facebookapi.schema
Class Cookie

java.lang.Object
  extended by com.google.code.facebookapi.schema.Cookie
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class Cookie
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 cookie complex type.

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

 <complexType name="cookie">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="uid" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="expires" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  int expires
           
protected  java.lang.String name
           
protected  java.lang.String path
           
protected  long uid
           
protected  java.lang.String value
           
 
Constructor Summary
Cookie()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 int getExpires()
          Gets the value of the expires property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getPath()
          Gets the value of the path property.
 long getUid()
          Gets the value of the uid property.
 java.lang.String getValue()
          Gets the value of the value property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setExpires(int value)
          Sets the value of the expires property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPath(java.lang.String value)
          Sets the value of the path property.
 void setUid(long value)
          Sets the value of the uid property.
 void setValue(java.lang.String value)
          Sets the value of the value 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

uid

protected long uid

name

protected java.lang.String name

value

protected java.lang.String value

expires

protected int expires

path

protected java.lang.String path
Constructor Detail

Cookie

public Cookie()
Method Detail

getUid

public long getUid()
Gets the value of the uid property.


setUid

public void setUid(long value)
Sets the value of the uid property.


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

getValue

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

Returns:
possible object is String

setValue

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

Parameters:
value - allowed object is String

getExpires

public int getExpires()
Gets the value of the expires property.


setExpires

public void setExpires(int value)
Sets the value of the expires property.


getPath

public java.lang.String getPath()
Gets the value of the path property.

Returns:
possible object is String

setPath

public void setPath(java.lang.String value)
Sets the value of the path 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. All Rights Reserved.