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.XmlID;
022: import javax.xml.bind.annotation.XmlType;
023: import javax.xml.bind.annotation.XmlValue;
024: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
025: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
026:
027: /**
028: * <p>Java class for caching-name complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="caching-name">
034: * <simpleContent>
035: * <extension base="<http://www.w3.org/2001/XMLSchema>string">
036: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
037: * </extension>
038: * </simpleContent>
039: * </complexType>
040: * </pre>
041: *
042: *
043: */
044: @XmlAccessorType(XmlAccessType.FIELD)
045: @XmlType(name="caching-name",propOrder={"value"})
046: public class CachingName {
047:
048: @XmlValue
049: protected String value;
050: @XmlAttribute
051: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
052: @XmlID
053: protected String id;
054:
055: /**
056: * Gets the value of the value property.
057: *
058: * @return
059: * possible object is
060: * {@link String }
061: *
062: */
063: public String getValue() {
064: return value;
065: }
066:
067: /**
068: * Sets the value of the value property.
069: *
070: * @param value
071: * allowed object is
072: * {@link String }
073: *
074: */
075: public void setValue(String value) {
076: this .value = value;
077: }
078:
079: /**
080: * Gets the value of the id property.
081: *
082: * @return
083: * possible object is
084: * {@link String }
085: *
086: */
087: public String getId() {
088: return id;
089: }
090:
091: /**
092: * Sets the value of the id property.
093: *
094: * @param value
095: * allowed object is
096: * {@link String }
097: *
098: */
099: public void setId(String value) {
100: this.id = value;
101: }
102:
103: }
|