com.google.code.facebookapi.schema
Class StreamAttachment

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

public class StreamAttachment
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 stream_attachment complex type.

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

 <complexType name="stream_attachment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="media">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="stream_media" type="{http://api.facebook.com/1.0/}stream_media" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="href" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="caption" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="properties">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="stream_property" type="{http://api.facebook.com/1.0/}stream_property" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="icon" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="fb_object_type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="fb_object_id" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class StreamAttachment.Media
          Java class for anonymous complex type.
static class StreamAttachment.Properties
          Java class for anonymous complex type.
 
Field Summary
protected  java.lang.String caption
           
protected  java.lang.String description
           
protected  java.lang.String fbObjectId
           
protected  java.lang.String fbObjectType
           
protected  java.lang.String href
           
protected  java.lang.String icon
           
protected  StreamAttachment.Media media
           
protected  java.lang.String name
           
protected  StreamAttachment.Properties properties
           
 
Constructor Summary
StreamAttachment()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.lang.String getCaption()
          Gets the value of the caption property.
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getFbObjectId()
          Gets the value of the fbObjectId property.
 java.lang.String getFbObjectType()
          Gets the value of the fbObjectType property.
 java.lang.String getHref()
          Gets the value of the href property.
 java.lang.String getIcon()
          Gets the value of the icon property.
 StreamAttachment.Media getMedia()
          Gets the value of the media property.
 java.lang.String getName()
          Gets the value of the name property.
 StreamAttachment.Properties getProperties()
          Gets the value of the properties property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setCaption(java.lang.String value)
          Sets the value of the caption property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setFbObjectId(java.lang.String value)
          Sets the value of the fbObjectId property.
 void setFbObjectType(java.lang.String value)
          Sets the value of the fbObjectType property.
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setIcon(java.lang.String value)
          Sets the value of the icon property.
 void setMedia(StreamAttachment.Media value)
          Sets the value of the media property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setProperties(StreamAttachment.Properties value)
          Sets the value of the properties 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

media

protected StreamAttachment.Media media

name

protected java.lang.String name

href

protected java.lang.String href

caption

protected java.lang.String caption

description

protected java.lang.String description

properties

protected StreamAttachment.Properties properties

icon

protected java.lang.String icon

fbObjectType

protected java.lang.String fbObjectType

fbObjectId

protected java.lang.String fbObjectId
Constructor Detail

StreamAttachment

public StreamAttachment()
Method Detail

getMedia

public StreamAttachment.Media getMedia()
Gets the value of the media property.

Returns:
possible object is StreamAttachment.Media

setMedia

public void setMedia(StreamAttachment.Media value)
Sets the value of the media property.

Parameters:
value - allowed object is StreamAttachment.Media

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

getHref

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

Returns:
possible object is String

setHref

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

Parameters:
value - allowed object is String

getCaption

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

Returns:
possible object is String

setCaption

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

Parameters:
value - allowed object is String

getDescription

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

Returns:
possible object is String

setDescription

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

Parameters:
value - allowed object is String

getProperties

public StreamAttachment.Properties getProperties()
Gets the value of the properties property.

Returns:
possible object is StreamAttachment.Properties

setProperties

public void setProperties(StreamAttachment.Properties value)
Sets the value of the properties property.

Parameters:
value - allowed object is StreamAttachment.Properties

getIcon

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

Returns:
possible object is String

setIcon

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

Parameters:
value - allowed object is String

getFbObjectType

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

Returns:
possible object is String

setFbObjectType

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

Parameters:
value - allowed object is String

getFbObjectId

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

Returns:
possible object is String

setFbObjectId

public void setFbObjectId(java.lang.String value)
Sets the value of the fbObjectId 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.