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

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

 <complexType name="stream_swf">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="source_url" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="preview_img" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="flash_vars" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="width" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="height" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "stream_swf", propOrder = {
     "sourceUrl",
     "previewImg",
     "flashVars",
     "width",
     "height"
 })
 public class StreamSwf
     implements EqualsHashCodeToString
 {
 
     @XmlElement(name = "source_url", required = true)
     protected String sourceUrl;
     @XmlElement(name = "preview_img", required = true)
     protected String previewImg;
     @XmlElement(name = "flash_vars", required = true)
     protected String flashVars;
     protected int width;
     protected int height;

    
Gets the value of the sourceUrl property.

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

    
Sets the value of the sourceUrl property.

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

    
Gets the value of the previewImg property.

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

    
Sets the value of the previewImg property.

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

    
Gets the value of the flashVars property.

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

    
Sets the value of the flashVars property.

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

    
Gets the value of the width property.
    public int getWidth() {
        return ;
    }

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

    
Gets the value of the height property.
    public int getHeight() {
        return ;
    }

    
Sets the value of the height property.
    public void setHeight(int value) {
        this. = value;
    }
    public void toString(ToStringBuilder toStringBuilder) {
        {
            String theSourceUrl;
            theSourceUrl = this.getSourceUrl();
            toStringBuilder.append("sourceUrl"theSourceUrl);
        }
        {
            String thePreviewImg;
            thePreviewImg = this.getPreviewImg();
            toStringBuilder.append("previewImg"thePreviewImg);
        }
        {
            String theFlashVars;
            theFlashVars = this.getFlashVars();
            toStringBuilder.append("flashVars"theFlashVars);
        }
        {
            int theWidth;
            theWidth = this.getWidth();
            toStringBuilder.append("width"theWidth);
        }
        {
            int theHeight;
            theHeight = this.getHeight();
            toStringBuilder.append("height"theHeight);
        }
    }
    public String toString() {
        final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
        toString(toStringBuilder);
        return toStringBuilder.toString();
    }
    public void equals(Object objectEqualsBuilder equalsBuilder) {
        if (!(object instanceof StreamSwf)) {
            equalsBuilder.appendSuper(false);
            return ;
        }
        if (this == object) {
            return ;
        }
        final StreamSwf that = ((StreamSwfobject);
        equalsBuilder.append(this.getSourceUrl(), that.getSourceUrl());
        equalsBuilder.append(this.getPreviewImg(), that.getPreviewImg());
        equalsBuilder.append(this.getFlashVars(), that.getFlashVars());
        equalsBuilder.append(this.getWidth(), that.getWidth());
        equalsBuilder.append(this.getHeight(), that.getHeight());
    }
    public boolean equals(Object object) {
        if (!(object instanceof StreamSwf)) {
            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.getSourceUrl());
        hashCodeBuilder.append(this.getPreviewImg());
        hashCodeBuilder.append(this.getFlashVars());
        hashCodeBuilder.append(this.getWidth());
        hashCodeBuilder.append(this.getHeight());
    }
    public int hashCode() {
        final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
        hashCode(hashCodeBuilder);
        return hashCodeBuilder.toHashCode();
    }
New to GrepCode? Check out our FAQ X