001: /**
002: *
003: * Licensed to the Apache Software Foundation (ASF) under one or more
004: * contributor license agreements. See the NOTICE file distributed with
005: * this work for additional information regarding copyright ownership.
006: * The ASF licenses this file to You under the Apache License, Version 2.0
007: * (the "License"); you may not use this file except in compliance with
008: * the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing, software
013: * distributed under the License is distributed on an "AS IS" BASIS,
014: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015: * See the License for the specific language governing permissions and
016: * limitations under the License.
017: */package org.apache.openejb.jee.jpa.unit;
018:
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlAccessType;
021: import javax.xml.bind.annotation.XmlType;
022: import javax.xml.bind.annotation.XmlAttribute;
023:
024: /**
025: * <p>Java class for anonymous complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType>
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
034: * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
035: * </restriction>
036: * </complexContent>
037: * </complexType>
038: * </pre>
039: *
040: *
041: */
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="")
044: public class Property {
045:
046: @XmlAttribute(required=true)
047: protected String name;
048: @XmlAttribute(required=true)
049: protected String value;
050:
051: public Property() {
052:
053: }
054:
055: public Property(String name, String value) {
056: this .name = name;
057: this .value = value;
058: }
059:
060: /**
061: * Gets the value of the name property.
062: *
063: * @return
064: * possible object is
065: * {@link String }
066: *
067: */
068: public String getName() {
069: return name;
070: }
071:
072: /**
073: * Sets the value of the name property.
074: *
075: * @param value
076: * allowed object is
077: * {@link String }
078: *
079: */
080: public void setName(String value) {
081: this .name = value;
082: }
083:
084: /**
085: * Gets the value of the value property.
086: *
087: * @return
088: * possible object is
089: * {@link String }
090: *
091: */
092: public String getValue() {
093: return value;
094: }
095:
096: /**
097: * Sets the value of the value property.
098: *
099: * @param value
100: * allowed object is
101: * {@link String }
102: *
103: */
104: public void setValue(String value) {
105: this.value = value;
106: }
107:
108: }
|