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 weblogic-relationship-role complex type.
029: *
030: * <p>The following schema fragment specifies the expected content contained within this class.
031: *
032: * <pre>
033: * <complexType name="weblogic-relationship-role">
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <sequence>
037: * <element name="relationship-role-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
038: * <element name="group-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
039: * <element name="relationship-role-map" type="{http://www.bea.com/ns/weblogic/90}relationship-role-map" minOccurs="0"/>
040: * <element name="db-cascade-delete" type="{http://www.bea.com/ns/weblogic/90}empty" minOccurs="0"/>
041: * <element name="enable-query-caching" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
042: * </sequence>
043: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
044: * </restriction>
045: * </complexContent>
046: * </complexType>
047: * </pre>
048: *
049: *
050: */
051: @XmlAccessorType(XmlAccessType.FIELD)
052: @XmlType(name="weblogic-relationship-role",propOrder={"relationshipRoleName","groupName","relationshipRoleMap","dbCascadeDelete","enableQueryCaching"})
053: public class WeblogicRelationshipRole {
054:
055: @XmlElement(name="relationship-role-name",required=true)
056: protected String relationshipRoleName;
057: @XmlElement(name="group-name")
058: protected String groupName;
059: @XmlElement(name="relationship-role-map")
060: protected RelationshipRoleMap relationshipRoleMap;
061: @XmlElement(name="db-cascade-delete")
062: protected Empty dbCascadeDelete;
063: @XmlElement(name="enable-query-caching")
064: @XmlJavaTypeAdapter(TrueFalseAdapter.class)
065: protected Boolean enableQueryCaching;
066: @XmlAttribute
067: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
068: @XmlID
069: protected String id;
070:
071: /**
072: * Gets the value of the relationshipRoleName property.
073: *
074: * @return
075: * possible object is
076: * {@link String }
077: *
078: */
079: public String getRelationshipRoleName() {
080: return relationshipRoleName;
081: }
082:
083: /**
084: * Sets the value of the relationshipRoleName property.
085: *
086: * @param value
087: * allowed object is
088: * {@link String }
089: *
090: */
091: public void setRelationshipRoleName(String value) {
092: this .relationshipRoleName = value;
093: }
094:
095: /**
096: * Gets the value of the groupName property.
097: *
098: * @return
099: * possible object is
100: * {@link String }
101: *
102: */
103: public String getGroupName() {
104: return groupName;
105: }
106:
107: /**
108: * Sets the value of the groupName property.
109: *
110: * @param value
111: * allowed object is
112: * {@link String }
113: *
114: */
115: public void setGroupName(String value) {
116: this .groupName = value;
117: }
118:
119: /**
120: * Gets the value of the relationshipRoleMap property.
121: *
122: * @return
123: * possible object is
124: * {@link RelationshipRoleMap }
125: *
126: */
127: public RelationshipRoleMap getRelationshipRoleMap() {
128: return relationshipRoleMap;
129: }
130:
131: /**
132: * Sets the value of the relationshipRoleMap property.
133: *
134: * @param value
135: * allowed object is
136: * {@link RelationshipRoleMap }
137: *
138: */
139: public void setRelationshipRoleMap(RelationshipRoleMap value) {
140: this .relationshipRoleMap = value;
141: }
142:
143: /**
144: * Gets the value of the dbCascadeDelete property.
145: *
146: * @return
147: * possible object is
148: * {@link Empty }
149: *
150: */
151: public Empty getDbCascadeDelete() {
152: return dbCascadeDelete;
153: }
154:
155: /**
156: * Sets the value of the dbCascadeDelete property.
157: *
158: * @param value
159: * allowed object is
160: * {@link Empty }
161: *
162: */
163: public void setDbCascadeDelete(Empty value) {
164: this .dbCascadeDelete = value;
165: }
166:
167: /**
168: * Gets the value of the enableQueryCaching property.
169: *
170: * @return
171: * possible object is
172: * {@link Boolean }
173: *
174: */
175: public Boolean getEnableQueryCaching() {
176: return enableQueryCaching;
177: }
178:
179: /**
180: * Sets the value of the enableQueryCaching property.
181: *
182: * @param value
183: * allowed object is
184: * {@link Boolean }
185: *
186: */
187: public void setEnableQueryCaching(Boolean value) {
188: this .enableQueryCaching = value;
189: }
190:
191: /**
192: * Gets the value of the id property.
193: *
194: * @return
195: * possible object is
196: * {@link String }
197: *
198: */
199: public String getId() {
200: return id;
201: }
202:
203: /**
204: * Sets the value of the id property.
205: *
206: * @param value
207: * allowed object is
208: * {@link String }
209: *
210: */
211: public void setId(String value) {
212: this.id = value;
213: }
214:
215: }
|