| Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
| LinkType |
|
| 0.0;0 |
| 1 | // |
|
| 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs |
|
| 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
|
| 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
|
| 5 | // Generated on: 2008.06.11 at 12:15:38 AM EDT |
|
| 6 | // |
|
| 7 | ||
| 8 | ||
| 9 | package yarfraw.generated.atom03.elements; |
|
| 10 | ||
| 11 | import java.util.HashMap; |
|
| 12 | import java.util.Map; |
|
| 13 | import javax.xml.bind.annotation.XmlAccessType; |
|
| 14 | import javax.xml.bind.annotation.XmlAccessorType; |
|
| 15 | import javax.xml.bind.annotation.XmlAnyAttribute; |
|
| 16 | import javax.xml.bind.annotation.XmlAttribute; |
|
| 17 | import javax.xml.bind.annotation.XmlSchemaType; |
|
| 18 | import javax.xml.bind.annotation.XmlType; |
|
| 19 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
|
| 20 | import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; |
|
| 21 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
|
| 22 | import javax.xml.namespace.QName; |
|
| 23 | ||
| 24 | ||
| 25 | /** |
|
| 26 | * <p>Java class for linkType complex type. |
|
| 27 | * |
|
| 28 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
| 29 | * |
|
| 30 | * <pre> |
|
| 31 | * <complexType name="linkType"> |
|
| 32 | * <complexContent> |
|
| 33 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
| 34 | * <attribute name="rel" use="required"> |
|
| 35 | * <simpleType> |
|
| 36 | * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> |
|
| 37 | * <enumeration value="alternate"/> |
|
| 38 | * <enumeration value="start"/> |
|
| 39 | * <enumeration value="next"/> |
|
| 40 | * <enumeration value="prev"/> |
|
| 41 | * <enumeration value="service.edit"/> |
|
| 42 | * <enumeration value="service.post"/> |
|
| 43 | * <enumeration value="service.feed"/> |
|
| 44 | * </restriction> |
|
| 45 | * </simpleType> |
|
| 46 | * </attribute> |
|
| 47 | * <attribute name="type" use="required" type="{http://purl.org/atom/ns#}mediaType" /> |
|
| 48 | * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> |
|
| 49 | * <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|
| 50 | * </restriction> |
|
| 51 | * </complexContent> |
|
| 52 | * </complexType> |
|
| 53 | * </pre> |
|
| 54 | * |
|
| 55 | * |
|
| 56 | */ |
|
| 57 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 58 | @XmlType(name = "linkType") |
|
| 59 | 81 | public class LinkType { |
| 60 | ||
| 61 | @XmlAttribute(required = true) |
|
| 62 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
|
| 63 | protected String rel; |
|
| 64 | @XmlAttribute(required = true) |
|
| 65 | @XmlJavaTypeAdapter(NormalizedStringAdapter.class) |
|
| 66 | protected String type; |
|
| 67 | @XmlAttribute(required = true) |
|
| 68 | @XmlSchemaType(name = "anyURI") |
|
| 69 | protected String href; |
|
| 70 | @XmlAttribute |
|
| 71 | protected String title; |
|
| 72 | 81 | @XmlAnyAttribute |
| 73 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
|
| 74 | ||
| 75 | /** |
|
| 76 | * Gets the value of the rel property. |
|
| 77 | * |
|
| 78 | * @return |
|
| 79 | * possible object is |
|
| 80 | * {@link String } |
|
| 81 | * |
|
| 82 | */ |
|
| 83 | public String getRel() { |
|
| 84 | 81 | return rel; |
| 85 | } |
|
| 86 | ||
| 87 | /** |
|
| 88 | * Sets the value of the rel property. |
|
| 89 | * |
|
| 90 | * @param value |
|
| 91 | * allowed object is |
|
| 92 | * {@link String } |
|
| 93 | * |
|
| 94 | */ |
|
| 95 | public void setRel(String value) { |
|
| 96 | 0 | this.rel = value; |
| 97 | 0 | } |
| 98 | ||
| 99 | /** |
|
| 100 | * Gets the value of the type property. |
|
| 101 | * |
|
| 102 | * @return |
|
| 103 | * possible object is |
|
| 104 | * {@link String } |
|
| 105 | * |
|
| 106 | */ |
|
| 107 | public String getType() { |
|
| 108 | 81 | return type; |
| 109 | } |
|
| 110 | ||
| 111 | /** |
|
| 112 | * Sets the value of the type property. |
|
| 113 | * |
|
| 114 | * @param value |
|
| 115 | * allowed object is |
|
| 116 | * {@link String } |
|
| 117 | * |
|
| 118 | */ |
|
| 119 | public void setType(String value) { |
|
| 120 | 0 | this.type = value; |
| 121 | 0 | } |
| 122 | ||
| 123 | /** |
|
| 124 | * Gets the value of the href property. |
|
| 125 | * |
|
| 126 | * @return |
|
| 127 | * possible object is |
|
| 128 | * {@link String } |
|
| 129 | * |
|
| 130 | */ |
|
| 131 | public String getHref() { |
|
| 132 | 81 | return href; |
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * Sets the value of the href property. |
|
| 137 | * |
|
| 138 | * @param value |
|
| 139 | * allowed object is |
|
| 140 | * {@link String } |
|
| 141 | * |
|
| 142 | */ |
|
| 143 | public void setHref(String value) { |
|
| 144 | 0 | this.href = value; |
| 145 | 0 | } |
| 146 | ||
| 147 | /** |
|
| 148 | * Gets the value of the title property. |
|
| 149 | * |
|
| 150 | * @return |
|
| 151 | * possible object is |
|
| 152 | * {@link String } |
|
| 153 | * |
|
| 154 | */ |
|
| 155 | public String getTitle() { |
|
| 156 | 81 | return title; |
| 157 | } |
|
| 158 | ||
| 159 | /** |
|
| 160 | * Sets the value of the title property. |
|
| 161 | * |
|
| 162 | * @param value |
|
| 163 | * allowed object is |
|
| 164 | * {@link String } |
|
| 165 | * |
|
| 166 | */ |
|
| 167 | public void setTitle(String value) { |
|
| 168 | 0 | this.title = value; |
| 169 | 0 | } |
| 170 | ||
| 171 | /** |
|
| 172 | * Gets a map that contains attributes that aren't bound to any typed property on this class. |
|
| 173 | * |
|
| 174 | * <p> |
|
| 175 | * the map is keyed by the name of the attribute and |
|
| 176 | * the value is the string value of the attribute. |
|
| 177 | * |
|
| 178 | * the map returned by this method is live, and you can add new attribute |
|
| 179 | * by updating the map directly. Because of this design, there's no setter. |
|
| 180 | * |
|
| 181 | * |
|
| 182 | * @return |
|
| 183 | * always non-null |
|
| 184 | */ |
|
| 185 | public Map<QName, String> getOtherAttributes() { |
|
| 186 | 162 | return otherAttributes; |
| 187 | } |
|
| 188 | ||
| 189 | } |