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.jba.cmp;
017:
018: import java.util.ArrayList;
019: import java.util.List;
020: import javax.xml.bind.annotation.XmlAccessType;
021: import javax.xml.bind.annotation.XmlAccessorType;
022: import javax.xml.bind.annotation.XmlAttribute;
023: import javax.xml.bind.annotation.XmlElement;
024: import javax.xml.bind.annotation.XmlRootElement;
025: import javax.xml.bind.annotation.XmlType;
026:
027: /**
028: * <p>Java class for anonymous complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType>
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element ref="{http://jboss.org}left-join" maxOccurs="unbounded" minOccurs="0"/>
038: * </sequence>
039: * <attribute name="eager-load-group" type="{http://www.w3.org/2001/XMLSchema}string" />
040: * </restriction>
041: * </complexContent>
042: * </complexType>
043: * </pre>
044: *
045: *
046: */
047: @XmlAccessorType(XmlAccessType.FIELD)
048: @XmlType(name="",propOrder={"leftJoin"})
049: @XmlRootElement(name="left-join")
050: public class LeftJoin {
051:
052: @XmlElement(name="left-join")
053: protected List<LeftJoin> leftJoin;
054: @XmlAttribute(name="eager-load-group")
055: protected String eagerLoadGroup;
056:
057: /**
058: * Gets the value of the leftJoin property.
059: *
060: * <p>
061: * This accessor method returns a reference to the live list,
062: * not a snapshot. Therefore any modification you make to the
063: * returned list will be present inside the JAXB object.
064: * This is why there is not a <CODE>set</CODE> method for the leftJoin property.
065: *
066: * <p>
067: * For example, to add a new item, do as follows:
068: * <pre>
069: * getLeftJoin().add(newItem);
070: * </pre>
071: *
072: *
073: * <p>
074: * Objects of the following type(s) are allowed in the list
075: * {@link LeftJoin }
076: *
077: *
078: */
079: public List<LeftJoin> getLeftJoin() {
080: if (leftJoin == null) {
081: leftJoin = new ArrayList<LeftJoin>();
082: }
083: return this .leftJoin;
084: }
085:
086: /**
087: * Gets the value of the eagerLoadGroup property.
088: *
089: * @return
090: * possible object is
091: * {@link String }
092: *
093: */
094: public String getEagerLoadGroup() {
095: return eagerLoadGroup;
096: }
097:
098: /**
099: * Sets the value of the eagerLoadGroup property.
100: *
101: * @param value
102: * allowed object is
103: * {@link String }
104: *
105: */
106: public void setEagerLoadGroup(String value) {
107: this.eagerLoadGroup = value;
108: }
109:
110: }
|