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.XmlAnyElement;
021: import javax.xml.bind.annotation.XmlAttribute;
022: import javax.xml.bind.annotation.XmlType;
023: import org.w3c.dom.Element;
024:
025: /**
026: * <p>Java class for xml-attributeType complex type.
027: *
028: * <p>The following schema fragment specifies the expected content contained within this class.
029: *
030: * <pre>
031: * <complexType name="xml-attributeType">
032: * <complexContent>
033: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
034: * <sequence>
035: * <any/>
036: * </sequence>
037: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
038: * </restriction>
039: * </complexContent>
040: * </complexType>
041: * </pre>
042: *
043: *
044: */
045: @XmlAccessorType(XmlAccessType.FIELD)
046: @XmlType(name="xml-attributeType",namespace="http://geronimo.apache.org/xml/ns/deployment-1.2",propOrder={"any"})
047: public class XmlAttributeType {
048:
049: @XmlAnyElement(lax=true)
050: protected Object any;
051: @XmlAttribute
052: protected String name;
053:
054: /**
055: * Gets the value of the any property.
056: *
057: * @return
058: * possible object is
059: * {@link Object }
060: * {@link Element }
061: *
062: */
063: public Object getAny() {
064: return any;
065: }
066:
067: /**
068: * Sets the value of the any property.
069: *
070: * @param value
071: * allowed object is
072: * {@link Object }
073: * {@link Element }
074: *
075: */
076: public void setAny(Object value) {
077: this .any = value;
078: }
079:
080: /**
081: * Gets the value of the name property.
082: *
083: * @return
084: * possible object is
085: * {@link String }
086: *
087: */
088: public String getName() {
089: return name;
090: }
091:
092: /**
093: * Sets the value of the name property.
094: *
095: * @param value
096: * allowed object is
097: * {@link String }
098: *
099: */
100: public void setName(String value) {
101: this.name = value;
102: }
103:
104: }
|