1 /**
2 * JSpiff
3 * -----------------
4 * Copyright (c) 2005-2006 Emil A. Lefkof III
5 *
6 * I always give it my best shot to make a program useful and solid, but
7 * remeber that there is absolutely no warranty for using this program as
8 * stated in the following terms:
9 *
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 */
22
23 package com.melloware.jspiff.jaxb;
24
25 import java.util.ArrayList;
26 import java.util.List;
27 import javax.xml.bind.annotation.XmlAccessType;
28 import javax.xml.bind.annotation.XmlAccessorType;
29 import javax.xml.bind.annotation.XmlType;
30
31
32 /**
33 * <p>Java class for AttributionType complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * <complexType name="AttributionType">
39 * <complexContent>
40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 * <sequence>
42 * <element name="location" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
43 * </sequence>
44 * </restriction>
45 * </complexContent>
46 * </complexType>
47 * </pre>
48 *
49 *
50 */
51 @XmlAccessorType(XmlAccessType.FIELD)
52 @XmlType(name = "AttributionType", propOrder = {
53 "location"
54 })
55 public class AttributionType {
56
57 protected List<String> location;
58
59 /**
60 * Gets the value of the location property.
61 *
62 * <p>
63 * This accessor method returns a reference to the live list,
64 * not a snapshot. Therefore any modification you make to the
65 * returned list will be present inside the JAXB object.
66 * This is why there is not a <CODE>set</CODE> method for the location property.
67 *
68 * <p>
69 * For example, to add a new item, do as follows:
70 * <pre>
71 * getLocation().add(newItem);
72 * </pre>
73 *
74 *
75 * <p>
76 * Objects of the following type(s) are allowed in the list
77 * {@link String }
78 *
79 *
80 */
81 public List<String> getLocation() {
82 if (location == null) {
83 location = new ArrayList<String>();
84 }
85 return this.location;
86 }
87
88 }