001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.wls;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlAttribute;
021: import javax.xml.bind.annotation.XmlElement;
022: import javax.xml.bind.annotation.XmlID;
023: import javax.xml.bind.annotation.XmlType;
024: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
025: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
026:
027: /**
028: * <p>Java class for persistence-use complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="persistence-use">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="type-identifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
038: * <element name="type-version" type="{http://www.w3.org/2001/XMLSchema}string"/>
039: * <element name="type-storage" type="{http://www.w3.org/2001/XMLSchema}string"/>
040: * </sequence>
041: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
042: * </restriction>
043: * </complexContent>
044: * </complexType>
045: * </pre>
046: *
047: *
048: */
049: @XmlAccessorType(XmlAccessType.FIELD)
050: @XmlType(name="persistence-use",propOrder={"typeIdentifier","typeVersion","typeStorage"})
051: public class PersistenceUse {
052:
053: @XmlElement(name="type-identifier",required=true)
054: protected String typeIdentifier;
055: @XmlElement(name="type-version",required=true)
056: protected String typeVersion;
057: @XmlElement(name="type-storage",required=true)
058: protected String typeStorage;
059: @XmlAttribute
060: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
061: @XmlID
062: protected String id;
063:
064: /**
065: * Gets the value of the typeIdentifier property.
066: *
067: * @return
068: * possible object is
069: * {@link String }
070: *
071: */
072: public String getTypeIdentifier() {
073: return typeIdentifier;
074: }
075:
076: /**
077: * Sets the value of the typeIdentifier property.
078: *
079: * @param value
080: * allowed object is
081: * {@link String }
082: *
083: */
084: public void setTypeIdentifier(String value) {
085: this .typeIdentifier = value;
086: }
087:
088: /**
089: * Gets the value of the typeVersion property.
090: *
091: * @return
092: * possible object is
093: * {@link String }
094: *
095: */
096: public String getTypeVersion() {
097: return typeVersion;
098: }
099:
100: /**
101: * Sets the value of the typeVersion property.
102: *
103: * @param value
104: * allowed object is
105: * {@link String }
106: *
107: */
108: public void setTypeVersion(String value) {
109: this .typeVersion = value;
110: }
111:
112: /**
113: * Gets the value of the typeStorage property.
114: *
115: * @return
116: * possible object is
117: * {@link String }
118: *
119: */
120: public String getTypeStorage() {
121: return typeStorage;
122: }
123:
124: /**
125: * Sets the value of the typeStorage property.
126: *
127: * @param value
128: * allowed object is
129: * {@link String }
130: *
131: */
132: public void setTypeStorage(String value) {
133: this .typeStorage = value;
134: }
135:
136: /**
137: * Gets the value of the id property.
138: *
139: * @return
140: * possible object is
141: * {@link String }
142: *
143: */
144: public String getId() {
145: return id;
146: }
147:
148: /**
149: * Sets the value of the id property.
150: *
151: * @param value
152: * allowed object is
153: * {@link String }
154: *
155: */
156: public void setId(String value) {
157: this.id = value;
158: }
159:
160: }
|