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 unknown-primary-key-field complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="unknown-primary-key-field">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="cmp-field" type="{http://www.w3.org/2001/XMLSchema}string"/>
038: * </sequence>
039: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
040: * </restriction>
041: * </complexContent>
042: * </complexType>
043: * </pre>
044: *
045: *
046: */
047: @XmlAccessorType(XmlAccessType.FIELD)
048: @XmlType(name="unknown-primary-key-field",propOrder={"cmpField"})
049: public class UnknownPrimaryKeyField {
050:
051: @XmlElement(name="cmp-field",required=true)
052: protected String cmpField;
053: @XmlAttribute
054: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
055: @XmlID
056: protected String id;
057:
058: /**
059: * Gets the value of the cmpField property.
060: *
061: * @return
062: * possible object is
063: * {@link String }
064: *
065: */
066: public String getCmpField() {
067: return cmpField;
068: }
069:
070: /**
071: * Sets the value of the cmpField property.
072: *
073: * @param value
074: * allowed object is
075: * {@link String }
076: *
077: */
078: public void setCmpField(String value) {
079: this .cmpField = value;
080: }
081:
082: /**
083: * Gets the value of the id property.
084: *
085: * @return
086: * possible object is
087: * {@link String }
088: *
089: */
090: public String getId() {
091: return id;
092: }
093:
094: /**
095: * Sets the value of the id property.
096: *
097: * @param value
098: * allowed object is
099: * {@link String }
100: *
101: */
102: public void setId(String value) {
103: this.id = value;
104: }
105:
106: }
|