// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-793 // 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: 2009.07.03 at 05:59:50 PM CEST // package com.sun.jersey.json.impl.rim; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * * Incorporates the attributes defined for use in simple XLink * elements. The xlink:role attribute should be included to * indicate the WSDL version of the target document (e.g. * xlink:role="http://www.w3.org/2005/08/wsdl"). * * * <p>Java class for SimpleLinkType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="SimpleLinkType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attGroup ref="{http://www.w3.org/1999/xlink}simpleLink"/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SimpleLinkType") public class SimpleLinkType { @XmlAttribute(namespace = "http://www.w3.org/1999/xlink") protected String type; @XmlAttribute(namespace = "http://www.w3.org/1999/xlink") @XmlSchemaType(name = "anyURI") protected String href; @XmlAttribute(namespace = "http://www.w3.org/1999/xlink") @XmlSchemaType(name = "anyURI") protected String role; @XmlAttribute(namespace = "http://www.w3.org/1999/xlink") @XmlSchemaType(name = "anyURI") protected String arcrole; @XmlAttribute(namespace = "http://www.w3.org/1999/xlink") protected String title; @XmlAttribute(namespace = "http://www.w3.org/1999/xlink") protected String show; @XmlAttribute(namespace = "http://www.w3.org/1999/xlink") protected String actuate; /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { if (type == null) { return "simple"; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the href property. * * @return * possible object is * {@link String } * */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is * {@link String } * */ public void setHref(String value) { this.href = value; } /** * Gets the value of the role property. * * @return * possible object is * {@link String } * */ public String getRole() { return role; } /** * Sets the value of the role property. * * @param value * allowed object is * {@link String } * */ public void setRole(String value) { this.role = value; } /** * Gets the value of the arcrole property. * * @return * possible object is * {@link String } * */ public String getArcrole() { return arcrole; } /** * Sets the value of the arcrole property. * * @param value * allowed object is * {@link String } * */ public void setArcrole(String value) { this.arcrole = 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; } /** * Gets the value of the show property. * * @return * possible object is * {@link String } * */ public String getShow() { return show; } /** * Sets the value of the show property. * * @param value * allowed object is * {@link String } * */ public void setShow(String value) { this.show = value; } /** * Gets the value of the actuate property. * * @return * possible object is * {@link String } * */ public String getActuate() { return actuate; } /** * Sets the value of the actuate property. * * @param value * allowed object is * {@link String } * */ public void setActuate(String value) { this.actuate = value; } @Override public boolean equals(Object obj) { if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final SimpleLinkType other = (SimpleLinkType) obj; if ((this.type == null) ? (other.type != null) : !this.type.equals(other.type)) { return false; } if ((this.href == null) ? (other.href != null) : !this.href.equals(other.href)) { return false; } if ((this.role == null) ? (other.role != null) : !this.role.equals(other.role)) { return false; } if ((this.arcrole == null) ? (other.arcrole != null) : !this.arcrole.equals(other.arcrole)) { return false; } if ((this.title == null) ? (other.title != null) : !this.title.equals(other.title)) { return false; } if ((this.show == null) ? (other.show != null) : !this.show.equals(other.show)) { return false; } if ((this.actuate == null) ? (other.actuate != null) : !this.actuate.equals(other.actuate)) { return false; } return true; } @Override public int hashCode() { int hash = 7; hash = 89 * hash + (this.type != null ? this.type.hashCode() : 0); hash = 89 * hash + (this.href != null ? this.href.hashCode() : 0); hash = 89 * hash + (this.role != null ? this.role.hashCode() : 0); hash = 89 * hash + (this.arcrole != null ? this.arcrole.hashCode() : 0); hash = 89 * hash + (this.title != null ? this.title.hashCode() : 0); hash = 89 * hash + (this.show != null ? this.show.hashCode() : 0); hash = 89 * hash + (this.actuate != null ? this.actuate.hashCode() : 0); return hash; } @Override public String toString() { return String.format("{type:%s, href:%s, role: %s, arcrole:%s, title:%s, show:%s, actuate:%s}", type, href, role, arcrole, title, show, actuate); } }