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 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: * <p>Java class for anonymous complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType>
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <sequence>
034: * <element ref="{http://jboss.org}ejb-relationship-role-name"/>
035: * <element ref="{http://jboss.org}fk-constraint" minOccurs="0"/>
036: * <element ref="{http://jboss.org}key-fields" minOccurs="0"/>
037: * <element ref="{http://jboss.org}read-ahead" minOccurs="0"/>
038: * <element ref="{http://jboss.org}batch-cascade-delete" minOccurs="0"/>
039: * </sequence>
040: * </restriction>
041: * </complexContent>
042: * </complexType>
043: * </pre>
044: *
045: *
046: */
047: @XmlAccessorType(XmlAccessType.FIELD)
048: @XmlType(name="",propOrder={"ejbRelationshipRoleName","fkConstraint","keyFields","readAhead","batchCascadeDelete"})
049: @XmlRootElement(name="ejb-relationship-role")
050: public class EjbRelationshipRole {
051:
052: @XmlElement(name="ejb-relationship-role-name",required=true)
053: protected EjbRelationshipRoleName ejbRelationshipRoleName;
054: @XmlElement(name="fk-constraint")
055: protected FkConstraint fkConstraint;
056: @XmlElement(name="key-fields")
057: protected KeyFields keyFields;
058: @XmlElement(name="read-ahead")
059: protected ReadAhead readAhead;
060: @XmlElement(name="batch-cascade-delete")
061: protected BatchCascadeDelete batchCascadeDelete;
062:
063: /**
064: * Gets the value of the ejbRelationshipRoleName property.
065: *
066: * @return
067: * possible object is
068: * {@link EjbRelationshipRoleName }
069: *
070: */
071: public EjbRelationshipRoleName getEjbRelationshipRoleName() {
072: return ejbRelationshipRoleName;
073: }
074:
075: /**
076: * Sets the value of the ejbRelationshipRoleName property.
077: *
078: * @param value
079: * allowed object is
080: * {@link EjbRelationshipRoleName }
081: *
082: */
083: public void setEjbRelationshipRoleName(EjbRelationshipRoleName value) {
084: this .ejbRelationshipRoleName = value;
085: }
086:
087: /**
088: * Gets the value of the fkConstraint property.
089: *
090: * @return
091: * possible object is
092: * {@link FkConstraint }
093: *
094: */
095: public FkConstraint getFkConstraint() {
096: return fkConstraint;
097: }
098:
099: /**
100: * Sets the value of the fkConstraint property.
101: *
102: * @param value
103: * allowed object is
104: * {@link FkConstraint }
105: *
106: */
107: public void setFkConstraint(FkConstraint value) {
108: this .fkConstraint = value;
109: }
110:
111: /**
112: * Gets the value of the keyFields property.
113: *
114: * @return
115: * possible object is
116: * {@link KeyFields }
117: *
118: */
119: public KeyFields getKeyFields() {
120: return keyFields;
121: }
122:
123: /**
124: * Sets the value of the keyFields property.
125: *
126: * @param value
127: * allowed object is
128: * {@link KeyFields }
129: *
130: */
131: public void setKeyFields(KeyFields value) {
132: this .keyFields = value;
133: }
134:
135: /**
136: * Gets the value of the readAhead property.
137: *
138: * @return
139: * possible object is
140: * {@link ReadAhead }
141: *
142: */
143: public ReadAhead getReadAhead() {
144: return readAhead;
145: }
146:
147: /**
148: * Sets the value of the readAhead property.
149: *
150: * @param value
151: * allowed object is
152: * {@link ReadAhead }
153: *
154: */
155: public void setReadAhead(ReadAhead value) {
156: this .readAhead = value;
157: }
158:
159: /**
160: * Gets the value of the batchCascadeDelete property.
161: *
162: * @return
163: * possible object is
164: * {@link BatchCascadeDelete }
165: *
166: */
167: public BatchCascadeDelete getBatchCascadeDelete() {
168: return batchCascadeDelete;
169: }
170:
171: /**
172: * Sets the value of the batchCascadeDelete property.
173: *
174: * @param value
175: * allowed object is
176: * {@link BatchCascadeDelete }
177: *
178: */
179: public void setBatchCascadeDelete(BatchCascadeDelete value) {
180: this.batchCascadeDelete = value;
181: }
182:
183: }
|