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.oejb2;
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.XmlType;
022: import javax.xml.bind.annotation.XmlValue;
023:
024: /**
025: * <p>Java class for attributeType complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType name="attributeType">
031: * <simpleContent>
032: * <extension base="<http://www.w3.org/2001/XMLSchema>string">
033: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
034: * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
035: * </extension>
036: * </simpleContent>
037: * </complexType>
038: * </pre>
039: *
040: *
041: */
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="attributeType",namespace="http://geronimo.apache.org/xml/ns/deployment-1.2",propOrder={"value"})
044: public class AttributeType {
045:
046: @XmlValue
047: protected String value;
048: @XmlAttribute
049: protected String name;
050: @XmlAttribute
051: protected String type;
052:
053: /**
054: * Gets the value of the value property.
055: *
056: * @return
057: * possible object is
058: * {@link String }
059: *
060: */
061: public String getValue() {
062: return value;
063: }
064:
065: /**
066: * Sets the value of the value property.
067: *
068: * @param value
069: * allowed object is
070: * {@link String }
071: *
072: */
073: public void setValue(String value) {
074: this .value = value;
075: }
076:
077: /**
078: * Gets the value of the name property.
079: *
080: * @return
081: * possible object is
082: * {@link String }
083: *
084: */
085: public String getName() {
086: return name;
087: }
088:
089: /**
090: * Sets the value of the name property.
091: *
092: * @param value
093: * allowed object is
094: * {@link String }
095: *
096: */
097: public void setName(String value) {
098: this .name = value;
099: }
100:
101: /**
102: * Gets the value of the type property.
103: *
104: * @return
105: * possible object is
106: * {@link String }
107: *
108: */
109: public String getType() {
110: return type;
111: }
112:
113: /**
114: * Sets the value of the type property.
115: *
116: * @param value
117: * allowed object is
118: * {@link String }
119: *
120: */
121: public void setType(String value) {
122: this.type = value;
123: }
124:
125: }
|