org.apache.openejb.jee.wls.WeblogicEjbJar Maven / Gradle / Ivy
The newest version!
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.openejb.jee.wls;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* Java class for weblogic-ejb-jar complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="weblogic-ejb-jar">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.bea.com/ns/weblogic/90}description" minOccurs="0"/>
* <element name="weblogic-enterprise-bean" type="{http://www.bea.com/ns/weblogic/90}weblogic-enterprise-bean" maxOccurs="unbounded" minOccurs="0"/>
* <element name="security-role-assignment" type="{http://www.bea.com/ns/weblogic/90}security-role-assignment" maxOccurs="unbounded" minOccurs="0"/>
* <element name="run-as-role-assignment" type="{http://www.bea.com/ns/weblogic/90}run-as-role-assignment" maxOccurs="unbounded" minOccurs="0"/>
* <element name="security-permission" type="{http://www.bea.com/ns/weblogic/90}security-permission" minOccurs="0"/>
* <element name="transaction-isolation" type="{http://www.bea.com/ns/weblogic/90}transaction-isolation" maxOccurs="unbounded" minOccurs="0"/>
* <element name="message-destination-descriptor" type="{http://www.bea.com/ns/weblogic/90}message-destination-descriptor" maxOccurs="unbounded" minOccurs="0"/>
* <element name="idempotent-methods" type="{http://www.bea.com/ns/weblogic/90}idempotent-methods" minOccurs="0"/>
* <element name="retry-methods-on-rollback" type="{http://www.bea.com/ns/weblogic/90}retry-methods-on-rollback" maxOccurs="unbounded" minOccurs="0"/>
* <element name="enable-bean-class-redeploy" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
* <element name="disable-warning" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="work-manager" type="{http://www.bea.com/ns/weblogic/90}work-manager" maxOccurs="unbounded" minOccurs="0"/>
* <element name="weblogic-compatibility" type="{http://www.bea.com/ns/weblogic/90}weblogic-compatibility" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "weblogic-ejb-jar", propOrder = {
"description",
"weblogicEnterpriseBean",
"securityRoleAssignment",
"runAsRoleAssignment",
"securityPermission",
"transactionIsolation",
"messageDestinationDescriptor",
"idempotentMethods",
"retryMethodsOnRollback",
"enableBeanClassRedeploy",
"disableWarning",
"workManager",
"weblogicCompatibility"
})
public class WeblogicEjbJar {
protected Description description;
@XmlElement(name = "weblogic-enterprise-bean")
protected List weblogicEnterpriseBean;
@XmlElement(name = "security-role-assignment")
protected List securityRoleAssignment;
@XmlElement(name = "run-as-role-assignment")
protected List runAsRoleAssignment;
@XmlElement(name = "security-permission")
protected SecurityPermission securityPermission;
@XmlElement(name = "transaction-isolation")
protected List transactionIsolation;
@XmlElement(name = "message-destination-descriptor")
protected List messageDestinationDescriptor;
@XmlElement(name = "idempotent-methods")
protected IdempotentMethods idempotentMethods;
@XmlElement(name = "retry-methods-on-rollback")
protected List retryMethodsOnRollback;
@XmlElement(name = "enable-bean-class-redeploy")
@XmlJavaTypeAdapter(TrueFalseAdapter.class)
protected Boolean enableBeanClassRedeploy;
@XmlElement(name = "disable-warning")
protected List disableWarning;
@XmlElement(name = "work-manager")
protected List workManager;
@XmlElement(name = "weblogic-compatibility")
protected WeblogicCompatibility weblogicCompatibility;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
protected String id;
/**
* Gets the value of the description property.
*
* @return possible object is
* {@link Description }
*/
public Description getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value allowed object is
* {@link Description }
*/
public void setDescription(final Description value) {
this.description = value;
}
/**
* Gets the value of the weblogicEnterpriseBean property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the weblogicEnterpriseBean property.
*
*
* For example, to add a new item, do as follows:
*
* getWeblogicEnterpriseBean().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link WeblogicEnterpriseBean }
*/
public List getWeblogicEnterpriseBean() {
if (weblogicEnterpriseBean == null) {
weblogicEnterpriseBean = new ArrayList();
}
return this.weblogicEnterpriseBean;
}
/**
* Gets the value of the securityRoleAssignment property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the securityRoleAssignment property.
*
*
* For example, to add a new item, do as follows:
*
* getSecurityRoleAssignment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SecurityRoleAssignment }
*/
public List getSecurityRoleAssignment() {
if (securityRoleAssignment == null) {
securityRoleAssignment = new ArrayList();
}
return this.securityRoleAssignment;
}
/**
* Gets the value of the runAsRoleAssignment property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the runAsRoleAssignment property.
*
*
* For example, to add a new item, do as follows:
*
* getRunAsRoleAssignment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RunAsRoleAssignment }
*/
public List getRunAsRoleAssignment() {
if (runAsRoleAssignment == null) {
runAsRoleAssignment = new ArrayList();
}
return this.runAsRoleAssignment;
}
/**
* Gets the value of the securityPermission property.
*
* @return possible object is
* {@link SecurityPermission }
*/
public SecurityPermission getSecurityPermission() {
return securityPermission;
}
/**
* Sets the value of the securityPermission property.
*
* @param value allowed object is
* {@link SecurityPermission }
*/
public void setSecurityPermission(final SecurityPermission value) {
this.securityPermission = value;
}
/**
* Gets the value of the transactionIsolation property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the transactionIsolation property.
*
*
* For example, to add a new item, do as follows:
*
* getTransactionIsolation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransactionIsolation }
*/
public List getTransactionIsolation() {
if (transactionIsolation == null) {
transactionIsolation = new ArrayList();
}
return this.transactionIsolation;
}
/**
* Gets the value of the messageDestinationDescriptor property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the messageDestinationDescriptor property.
*
*
* For example, to add a new item, do as follows:
*
* getMessageDestinationDescriptor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MessageDestinationDescriptor }
*/
public List getMessageDestinationDescriptor() {
if (messageDestinationDescriptor == null) {
messageDestinationDescriptor = new ArrayList();
}
return this.messageDestinationDescriptor;
}
/**
* Gets the value of the idempotentMethods property.
*
* @return possible object is
* {@link IdempotentMethods }
*/
public IdempotentMethods getIdempotentMethods() {
return idempotentMethods;
}
/**
* Sets the value of the idempotentMethods property.
*
* @param value allowed object is
* {@link IdempotentMethods }
*/
public void setIdempotentMethods(final IdempotentMethods value) {
this.idempotentMethods = value;
}
/**
* Gets the value of the retryMethodsOnRollback property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the retryMethodsOnRollback property.
*
*
* For example, to add a new item, do as follows:
*
* getRetryMethodsOnRollback().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RetryMethodsOnRollback }
*/
public List getRetryMethodsOnRollback() {
if (retryMethodsOnRollback == null) {
retryMethodsOnRollback = new ArrayList();
}
return this.retryMethodsOnRollback;
}
/**
* Gets the value of the enableBeanClassRedeploy property.
*
* @return possible object is
* {@link Boolean }
*/
public Boolean getEnableBeanClassRedeploy() {
return enableBeanClassRedeploy;
}
/**
* Sets the value of the enableBeanClassRedeploy property.
*
* @param value allowed object is
* {@link Boolean }
*/
public void setEnableBeanClassRedeploy(final Boolean value) {
this.enableBeanClassRedeploy = value;
}
/**
* Gets the value of the disableWarning property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the disableWarning property.
*
*
* For example, to add a new item, do as follows:
*
* getDisableWarning().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*/
public List getDisableWarning() {
if (disableWarning == null) {
disableWarning = new ArrayList();
}
return this.disableWarning;
}
/**
* Gets the value of the workManager property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the workManager property.
*
*
* For example, to add a new item, do as follows:
*
* getWorkManager().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link WorkManager }
*/
public List getWorkManager() {
if (workManager == null) {
workManager = new ArrayList();
}
return this.workManager;
}
/**
* Gets the value of the weblogicCompatibility property.
*
* @return possible object is
* {@link WeblogicCompatibility }
*/
public WeblogicCompatibility getWeblogicCompatibility() {
return weblogicCompatibility;
}
/**
* Sets the value of the weblogicCompatibility property.
*
* @param value allowed object is
* {@link WeblogicCompatibility }
*/
public void setWeblogicCompatibility(final WeblogicCompatibility value) {
this.weblogicCompatibility = value;
}
/**
* Gets the value of the id property.
*
* @return possible object is
* {@link String }
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value allowed object is
* {@link String }
*/
public void setId(final String value) {
this.id = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy