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;
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.XmlRootElement;
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: *
029: */
030: @XmlAccessorType(XmlAccessType.FIELD)
031: @XmlType(name="",propOrder={"home","bean","listEntity"})
032: @XmlRootElement(name="client-interceptors")
033: public class ClientInterceptors {
034:
035: @XmlAttribute
036: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
037: protected String exposeContainer;
038: @XmlElement(required=true)
039: protected Home home;
040: @XmlElement(required=true)
041: protected Bean bean;
042: @XmlElement(name="list-entity")
043: protected ListEntity listEntity;
044:
045: /**
046: * Gets the value of the exposeContainer property.
047: *
048: * @return
049: * possible object is
050: * {@link String }
051: *
052: */
053: public String getExposeContainer() {
054: if (exposeContainer == null) {
055: return "false";
056: } else {
057: return exposeContainer;
058: }
059: }
060:
061: /**
062: * Sets the value of the exposeContainer property.
063: *
064: * @param value
065: * allowed object is
066: * {@link String }
067: *
068: */
069: public void setExposeContainer(String value) {
070: this .exposeContainer = value;
071: }
072:
073: /**
074: * Gets the value of the home property.
075: *
076: * @return
077: * possible object is
078: * {@link Home }
079: *
080: */
081: public Home getHome() {
082: return home;
083: }
084:
085: /**
086: * Sets the value of the home property.
087: *
088: * @param value
089: * allowed object is
090: * {@link Home }
091: *
092: */
093: public void setHome(Home value) {
094: this .home = value;
095: }
096:
097: /**
098: * Gets the value of the bean property.
099: *
100: * @return
101: * possible object is
102: * {@link Bean }
103: *
104: */
105: public Bean getBean() {
106: return bean;
107: }
108:
109: /**
110: * Sets the value of the bean property.
111: *
112: * @param value
113: * allowed object is
114: * {@link Bean }
115: *
116: */
117: public void setBean(Bean value) {
118: this .bean = value;
119: }
120:
121: /**
122: * Gets the value of the listEntity property.
123: *
124: * @return
125: * possible object is
126: * {@link ListEntity }
127: *
128: */
129: public ListEntity getListEntity() {
130: return listEntity;
131: }
132:
133: /**
134: * Sets the value of the listEntity property.
135: *
136: * @param value
137: * allowed object is
138: * {@link ListEntity }
139: *
140: */
141: public void setListEntity(ListEntity value) {
142: this.listEntity = value;
143: }
144:
145: }
|