1
2 package org.kuali.ole.docstore.common.document.content.instance;
3
4 import com.thoughtworks.xstream.annotations.XStreamAlias;
5 import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
6
7 import javax.xml.bind.annotation.*;
8
9
10 /**
11 * Created by IntelliJ IDEA.
12 * User: Pranitha
13 * Date: 8/17/12
14 * Time: 10:47 AM
15 * To change this template use File | Settings | File Templates.
16 * <p/>
17 * <p>Java class for sourceHoldings complex type.
18 * <p/>
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 * <p/>
21 * <pre>
22 * <complexType name="sourceHoldings">
23 * <complexContent>
24 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25 * <sequence>
26 * <element name="holdingsIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
27 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
28 * <element name="holdings" type="{http://ole.kuali.org/standards/ole-instance}extension"/>
29 * <element name="extension" type="{http://ole.kuali.org/standards/ole-instance}extension"/>
30 * </sequence>
31 * <attribute name="primary" type="{http://www.w3.org/2001/XMLSchema}string" />
32 * </restriction>
33 * </complexContent>
34 * </complexType>
35 * </pre>
36 */
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "sourceHoldings", namespace = "http://ole.kuali.org/standards/ole-instance", propOrder = {
39 "holdingsIdentifier",
40 "name",
41 "holdings",
42 "extension"
43 })
44 @XStreamAlias("sourceHoldings")
45 @XmlRootElement(name = "sourceHoldings", namespace = "http://ole.kuali.org/standards/ole-instance")
46 public class SourceHoldings {
47
48 @XmlElement(namespace = "http://ole.kuali.org/standards/ole-instance", required = true)
49 protected String holdingsIdentifier;
50 @XmlElement(namespace = "http://ole.kuali.org/standards/ole-instance", required = true)
51 protected String name;
52 @XmlElement(namespace = "http://ole.kuali.org/standards/ole-instance", required = true)
53 protected Extension holdings;
54 @XmlElement(namespace = "http://ole.kuali.org/standards/ole-instance", required = true)
55 protected Extension extension;
56 @XmlAttribute
57 @XStreamAsAttribute
58 protected String primary;
59
60 /**
61 * Gets the value of the holdingsIdentifier property.
62 *
63 * @return possible object is
64 * {@link String }
65 */
66 public String getHoldingsIdentifier() {
67 return holdingsIdentifier;
68 }
69
70 /**
71 * Sets the value of the holdingsIdentifier property.
72 *
73 * @param value allowed object is
74 * {@link String }
75 */
76 public void setHoldingsIdentifier(String value) {
77 this.holdingsIdentifier = value;
78 }
79
80 /**
81 * Gets the value of the name property.
82 *
83 * @return possible object is
84 * {@link String }
85 */
86 public String getName() {
87 return name;
88 }
89
90 /**
91 * Sets the value of the name property.
92 *
93 * @param value allowed object is
94 * {@link String }
95 */
96 public void setName(String value) {
97 this.name = value;
98 }
99
100 /**
101 * Gets the value of the holdings property.
102 *
103 * @return possible object is
104 * {@link Extension }
105 */
106 public Extension getHoldings() {
107 return holdings;
108 }
109
110 /**
111 * Sets the value of the holdings property.
112 *
113 * @param value allowed object is
114 * {@link Extension }
115 */
116 public void setHoldings(Extension value) {
117 this.holdings = value;
118 }
119
120 /**
121 * Gets the value of the extension property.
122 *
123 * @return possible object is
124 * {@link Extension }
125 */
126 public Extension getExtension() {
127 return extension;
128 }
129
130 /**
131 * Sets the value of the extension property.
132 *
133 * @param value allowed object is
134 * {@link Extension }
135 */
136 public void setExtension(Extension value) {
137 this.extension = value;
138 }
139
140 /**
141 * Gets the value of the primary property.
142 *
143 * @return possible object is
144 * {@link String }
145 */
146 public String getPrimary() {
147 return primary;
148 }
149
150 /**
151 * Sets the value of the primary property.
152 *
153 * @param value allowed object is
154 * {@link String }
155 */
156 public void setPrimary(String value) {
157 this.primary = value;
158 }
159
160 }