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.XmlElement;
021: import javax.xml.bind.annotation.XmlRootElement;
022: import javax.xml.bind.annotation.XmlType;
023:
024: /**
025: *
026: */
027: @XmlAccessorType(XmlAccessType.FIELD)
028: @XmlType(name="",propOrder={"integrity","confidentiality","establishTrustInTarget","establishTrustInClient","detectMisordering","detectReplay"})
029: @XmlRootElement(name="transport-config")
030: public class TransportConfig {
031:
032: @XmlElement(required=true)
033: protected String integrity;
034: @XmlElement(required=true)
035: protected String confidentiality;
036: @XmlElement(name="establish-trust-in-target",required=true)
037: protected String establishTrustInTarget;
038: @XmlElement(name="establish-trust-in-client",required=true)
039: protected String establishTrustInClient;
040: @XmlElement(name="detect-misordering")
041: protected String detectMisordering;
042: @XmlElement(name="detect-replay")
043: protected String detectReplay;
044:
045: /**
046: * Gets the value of the integrity property.
047: *
048: * @return
049: * possible object is
050: * {@link String }
051: *
052: */
053: public String getIntegrity() {
054: return integrity;
055: }
056:
057: /**
058: * Sets the value of the integrity property.
059: *
060: * @param value
061: * allowed object is
062: * {@link String }
063: *
064: */
065: public void setIntegrity(String value) {
066: this .integrity = value;
067: }
068:
069: /**
070: * Gets the value of the confidentiality property.
071: *
072: * @return
073: * possible object is
074: * {@link String }
075: *
076: */
077: public String getConfidentiality() {
078: return confidentiality;
079: }
080:
081: /**
082: * Sets the value of the confidentiality property.
083: *
084: * @param value
085: * allowed object is
086: * {@link String }
087: *
088: */
089: public void setConfidentiality(String value) {
090: this .confidentiality = value;
091: }
092:
093: /**
094: * Gets the value of the establishTrustInTarget property.
095: *
096: * @return
097: * possible object is
098: * {@link String }
099: *
100: */
101: public String getEstablishTrustInTarget() {
102: return establishTrustInTarget;
103: }
104:
105: /**
106: * Sets the value of the establishTrustInTarget property.
107: *
108: * @param value
109: * allowed object is
110: * {@link String }
111: *
112: */
113: public void setEstablishTrustInTarget(String value) {
114: this .establishTrustInTarget = value;
115: }
116:
117: /**
118: * Gets the value of the establishTrustInClient property.
119: *
120: * @return
121: * possible object is
122: * {@link String }
123: *
124: */
125: public String getEstablishTrustInClient() {
126: return establishTrustInClient;
127: }
128:
129: /**
130: * Sets the value of the establishTrustInClient property.
131: *
132: * @param value
133: * allowed object is
134: * {@link String }
135: *
136: */
137: public void setEstablishTrustInClient(String value) {
138: this .establishTrustInClient = value;
139: }
140:
141: /**
142: * Gets the value of the detectMisordering property.
143: *
144: * @return
145: * possible object is
146: * {@link String }
147: *
148: */
149: public String getDetectMisordering() {
150: return detectMisordering;
151: }
152:
153: /**
154: * Sets the value of the detectMisordering property.
155: *
156: * @param value
157: * allowed object is
158: * {@link String }
159: *
160: */
161: public void setDetectMisordering(String value) {
162: this .detectMisordering = value;
163: }
164:
165: /**
166: * Gets the value of the detectReplay property.
167: *
168: * @return
169: * possible object is
170: * {@link String }
171: *
172: */
173: public String getDetectReplay() {
174: return detectReplay;
175: }
176:
177: /**
178: * Sets the value of the detectReplay property.
179: *
180: * @param value
181: * allowed object is
182: * {@link String }
183: *
184: */
185: public void setDetectReplay(String value) {
186: this.detectReplay = value;
187: }
188:
189: }
|