/** * @author Hyacinthe MENIET * Created on 26 août 07 */ package net.dotmyself.restclient.flickrphotos; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "photo") public class Photo { @XmlAttribute protected Integer farm; @XmlAttribute protected Integer id; @XmlAttribute protected Integer isfamily; @XmlAttribute protected Integer isfriend; @XmlAttribute protected Integer ispublic; @XmlAttribute protected String owner; @XmlAttribute protected String secret; @XmlAttribute protected Integer server; @XmlAttribute protected String title; /** * Gets the value of the farm property. * * @return * possible object is * {@link Integer } * */ public Integer getFarm() { return farm; } /** * Sets the value of the farm property. * * @param value * allowed object is * {@link Integer } * */ public void setFarm(Integer value) { this.farm = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link Integer } * */ public Integer getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Integer } * */ public void setId(Integer value) { this.id = value; } /** * Gets the value of the isfamily property. * * @return * possible object is * {@link Integer } * */ public Integer getIsfamily() { return isfamily; } /** * Sets the value of the isfamily property. * * @param value * allowed object is * {@link Integer } * */ public void setIsfamily(Integer value) { this.isfamily = value; } /** * Gets the value of the isfriend property. * * @return * possible object is * {@link Integer } * */ public Integer getIsfriend() { return isfriend; } /** * Sets the value of the isfriend property. * * @param value * allowed object is * {@link Integer } * */ public void setIsfriend(Integer value) { this.isfriend = value; } /** * Gets the value of the ispublic property. * * @return * possible object is * {@link Integer } * */ public Integer getIspublic() { return ispublic; } /** * Sets the value of the ispublic property. * * @param value * allowed object is * {@link Integer } * */ public void setIspublic(Integer value) { this.ispublic = value; } /** * Gets the value of the owner property. * * @return * possible object is * {@link String } * */ public String getOwner() { return owner; } /** * Sets the value of the owner property. * * @param value * allowed object is * {@link String } * */ public void setOwner(String value) { this.owner = value; } /** * Gets the value of the secret property. * * @return * possible object is * {@link String } * */ public String getSecret() { return secret; } /** * Sets the value of the secret property. * * @param value * allowed object is * {@link String } * */ public void setSecret(String value) { this.secret = value; } /** * Gets the value of the server property. * * @return * possible object is * {@link Integer } * */ public Integer getServer() { return server; } /** * Sets the value of the server property. * * @param value * allowed object is * {@link Integer } * */ public void setServer(Integer value) { this.server = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } }