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 transport-requirements complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="transport-requirements">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="integrity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
038: * <element name="confidentiality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
039: * <element name="client-cert-authentication" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
040: * </sequence>
041: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
042: * </restriction>
043: * </complexContent>
044: * </complexType>
045: * </pre>
046: *
047: *
048: */
049: @XmlAccessorType(XmlAccessType.FIELD)
050: @XmlType(name="transport-requirements",propOrder={"integrity","confidentiality","clientCertAuthentication"})
051: public class TransportRequirements {
052:
053: protected String integrity;
054: protected String confidentiality;
055: @XmlElement(name="client-cert-authentication")
056: protected String clientCertAuthentication;
057: @XmlAttribute
058: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
059: @XmlID
060: protected String id;
061:
062: /**
063: * Gets the value of the integrity property.
064: *
065: * @return
066: * possible object is
067: * {@link String }
068: *
069: */
070: public String getIntegrity() {
071: return integrity;
072: }
073:
074: /**
075: * Sets the value of the integrity property.
076: *
077: * @param value
078: * allowed object is
079: * {@link String }
080: *
081: */
082: public void setIntegrity(String value) {
083: this .integrity = value;
084: }
085:
086: /**
087: * Gets the value of the confidentiality property.
088: *
089: * @return
090: * possible object is
091: * {@link String }
092: *
093: */
094: public String getConfidentiality() {
095: return confidentiality;
096: }
097:
098: /**
099: * Sets the value of the confidentiality property.
100: *
101: * @param value
102: * allowed object is
103: * {@link String }
104: *
105: */
106: public void setConfidentiality(String value) {
107: this .confidentiality = value;
108: }
109:
110: /**
111: * Gets the value of the clientCertAuthentication property.
112: *
113: * @return
114: * possible object is
115: * {@link String }
116: *
117: */
118: public String getClientCertAuthentication() {
119: return clientCertAuthentication;
120: }
121:
122: /**
123: * Sets the value of the clientCertAuthentication property.
124: *
125: * @param value
126: * allowed object is
127: * {@link String }
128: *
129: */
130: public void setClientCertAuthentication(String value) {
131: this .clientCertAuthentication = value;
132: }
133:
134: /**
135: * Gets the value of the id property.
136: *
137: * @return
138: * possible object is
139: * {@link String }
140: *
141: */
142: public String getId() {
143: return id;
144: }
145:
146: /**
147: * Sets the value of the id property.
148: *
149: * @param value
150: * allowed object is
151: * {@link String }
152: *
153: */
154: public void setId(String value) {
155: this.id = value;
156: }
157:
158: }
|