| Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
| IdType |
|
| 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:37 AM EDT |
|
| 6 | // |
|
| 7 | ||
| 8 | ||
| 9 | package yarfraw.generated.atom10.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.XmlValue; |
|
| 20 | import javax.xml.namespace.QName; |
|
| 21 | ||
| 22 | ||
| 23 | /** |
|
| 24 | * |
|
| 25 | * The Atom id construct is defined in section 4.2.6 of the format spec. |
|
| 26 | * |
|
| 27 | * |
|
| 28 | * <p>Java class for idType complex type. |
|
| 29 | * |
|
| 30 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
| 31 | * |
|
| 32 | * <pre> |
|
| 33 | * <complexType name="idType"> |
|
| 34 | * <simpleContent> |
|
| 35 | * <extension base="<http://www.w3.org/2001/XMLSchema>anyURI"> |
|
| 36 | * <attGroup ref="{http://www.w3.org/2005/Atom}commonAttributes"/> |
|
| 37 | * </extension> |
|
| 38 | * </simpleContent> |
|
| 39 | * </complexType> |
|
| 40 | * </pre> |
|
| 41 | * |
|
| 42 | * |
|
| 43 | */ |
|
| 44 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 45 | @XmlType(name = "idType", propOrder = { |
|
| 46 | "value" |
|
| 47 | }) |
|
| 48 | 531 | public class IdType { |
| 49 | ||
| 50 | @XmlValue |
|
| 51 | @XmlSchemaType(name = "anyURI") |
|
| 52 | protected String value; |
|
| 53 | @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") |
|
| 54 | @XmlSchemaType(name = "anyURI") |
|
| 55 | protected String base; |
|
| 56 | @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") |
|
| 57 | protected String lang; |
|
| 58 | 531 | @XmlAnyAttribute |
| 59 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
|
| 60 | ||
| 61 | /** |
|
| 62 | * Gets the value of the value property. |
|
| 63 | * |
|
| 64 | * @return |
|
| 65 | * possible object is |
|
| 66 | * {@link String } |
|
| 67 | * |
|
| 68 | */ |
|
| 69 | public String getValue() { |
|
| 70 | 420 | return value; |
| 71 | } |
|
| 72 | ||
| 73 | /** |
|
| 74 | * Sets the value of the value property. |
|
| 75 | * |
|
| 76 | * @param value |
|
| 77 | * allowed object is |
|
| 78 | * {@link String } |
|
| 79 | * |
|
| 80 | */ |
|
| 81 | public void setValue(String value) { |
|
| 82 | 111 | this.value = value; |
| 83 | 111 | } |
| 84 | ||
| 85 | /** |
|
| 86 | * Gets the value of the base property. |
|
| 87 | * |
|
| 88 | * @return |
|
| 89 | * possible object is |
|
| 90 | * {@link String } |
|
| 91 | * |
|
| 92 | */ |
|
| 93 | public String getBase() { |
|
| 94 | 420 | return base; |
| 95 | } |
|
| 96 | ||
| 97 | /** |
|
| 98 | * Sets the value of the base property. |
|
| 99 | * |
|
| 100 | * @param value |
|
| 101 | * allowed object is |
|
| 102 | * {@link String } |
|
| 103 | * |
|
| 104 | */ |
|
| 105 | public void setBase(String value) { |
|
| 106 | 111 | this.base = value; |
| 107 | 111 | } |
| 108 | ||
| 109 | /** |
|
| 110 | * Gets the value of the lang property. |
|
| 111 | * |
|
| 112 | * @return |
|
| 113 | * possible object is |
|
| 114 | * {@link String } |
|
| 115 | * |
|
| 116 | */ |
|
| 117 | public String getLang() { |
|
| 118 | 420 | return lang; |
| 119 | } |
|
| 120 | ||
| 121 | /** |
|
| 122 | * Sets the value of the lang property. |
|
| 123 | * |
|
| 124 | * @param value |
|
| 125 | * allowed object is |
|
| 126 | * {@link String } |
|
| 127 | * |
|
| 128 | */ |
|
| 129 | public void setLang(String value) { |
|
| 130 | 111 | this.lang = value; |
| 131 | 111 | } |
| 132 | ||
| 133 | /** |
|
| 134 | * Gets a map that contains attributes that aren't bound to any typed property on this class. |
|
| 135 | * |
|
| 136 | * <p> |
|
| 137 | * the map is keyed by the name of the attribute and |
|
| 138 | * the value is the string value of the attribute. |
|
| 139 | * |
|
| 140 | * the map returned by this method is live, and you can add new attribute |
|
| 141 | * by updating the map directly. Because of this design, there's no setter. |
|
| 142 | * |
|
| 143 | * |
|
| 144 | * @return |
|
| 145 | * always non-null |
|
| 146 | */ |
|
| 147 | public Map<QName, String> getOtherAttributes() { |
|
| 148 | 951 | return otherAttributes; |
| 149 | } |
|
| 150 | ||
| 151 | } |