1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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.19 at 11:00:24 AM BST
6 //
7
8
9 package org.gbif.portal.ws.response.gbif;
10
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
17
18
19 /**
20 * <p>Java class for access-point complex type.
21 *
22 * <p>The following schema fragment specifies the expected content contained within this class.
23 *
24 * <pre>
25 * <complexType name="access-point">
26 * <complexContent>
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <sequence>
29 * <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
30 * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
31 * <element name="schema" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
32 * </sequence>
33 * </restriction>
34 * </complexContent>
35 * </complexType>
36 * </pre>
37 *
38 *
39 */
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "access-point", propOrder = {
42 "url",
43 "identifier",
44 "schema"
45 })
46 public class AccessPoint {
47
48 @XmlElement(required = true)
49 protected String url;
50 protected String identifier;
51 protected List<String> schema;
52
53 /**
54 * Gets the value of the url property.
55 *
56 * @return
57 * possible object is
58 * {@link String }
59 *
60 */
61 public String getUrl() {
62 return url;
63 }
64
65 /**
66 * Sets the value of the url property.
67 *
68 * @param value
69 * allowed object is
70 * {@link String }
71 *
72 */
73 public void setUrl(String value) {
74 this.url = value;
75 }
76
77 /**
78 * Gets the value of the identifier property.
79 *
80 * @return
81 * possible object is
82 * {@link String }
83 *
84 */
85 public String getIdentifier() {
86 return identifier;
87 }
88
89 /**
90 * Sets the value of the identifier property.
91 *
92 * @param value
93 * allowed object is
94 * {@link String }
95 *
96 */
97 public void setIdentifier(String value) {
98 this.identifier = value;
99 }
100
101 /**
102 * Gets the value of the schema property.
103 *
104 * <p>
105 * This accessor method returns a reference to the live list,
106 * not a snapshot. Therefore any modification you make to the
107 * returned list will be present inside the JAXB object.
108 * This is why there is not a <CODE>set</CODE> method for the schema property.
109 *
110 * <p>
111 * For example, to add a new item, do as follows:
112 * <pre>
113 * getSchema().add(newItem);
114 * </pre>
115 *
116 *
117 * <p>
118 * Objects of the following type(s) are allowed in the list
119 * {@link String }
120 *
121 *
122 */
123 public List<String> getSchema() {
124 if (schema == null) {
125 schema = new ArrayList<String>();
126 }
127 return this.schema;
128 }
129
130 }