All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.openejb.jee.jba.Entity 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.jba;

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.XmlRootElement;
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;


@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "ejbName",
    "jndiName",
    "localJndiName",
    "callByValue",
    "readOnly",
    "exceptionOnRollback",
    "timerPersistence",
    "configurationName",
    "invokerBindings",
    "securityProxy",
    "ejbRef",
    "ejbLocalRef",
    "serviceRef",
    "securityIdentity",
    "resourceRef",
    "resourceEnvRef",
    "messageDestinationRef",
    "methodAttributes",
    "clustered",
    "clusterConfig",
    "cacheInvalidation",
    "cacheInvalidationConfig",
    "depends",
    "iorSecurityConfig"
})
@XmlRootElement(name = "entity")
public class Entity {

    @XmlAttribute
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlID
    protected String id;
    @XmlElement(name = "ejb-name", required = true)
    protected String ejbName;
    @XmlElement(name = "jndi-name")
    protected JndiName jndiName;
    @XmlElement(name = "local-jndi-name")
    protected String localJndiName;
    @XmlElement(name = "call-by-value")
    protected String callByValue;
    @XmlElement(name = "read-only")
    protected String readOnly;
    @XmlElement(name = "exception-on-rollback")
    protected String exceptionOnRollback;
    @XmlElement(name = "timer-persistence")
    protected String timerPersistence;
    @XmlElement(name = "configuration-name")
    protected String configurationName;
    @XmlElement(name = "invoker-bindings")
    protected InvokerBindings invokerBindings;
    @XmlElement(name = "security-proxy")
    protected String securityProxy;
    @XmlElement(name = "ejb-ref")
    protected List ejbRef;
    @XmlElement(name = "ejb-local-ref")
    protected List ejbLocalRef;
    @XmlElement(name = "service-ref")
    protected List serviceRef;
    @XmlElement(name = "security-identity")
    protected SecurityIdentity securityIdentity;
    @XmlElement(name = "resource-ref")
    protected List resourceRef;
    @XmlElement(name = "resource-env-ref")
    protected List resourceEnvRef;
    @XmlElement(name = "message-destination-ref")
    protected List messageDestinationRef;
    @XmlElement(name = "method-attributes")
    protected MethodAttributes methodAttributes;
    protected String clustered;
    @XmlElement(name = "cluster-config")
    protected ClusterConfig clusterConfig;
    @XmlElement(name = "cache-invalidation")
    protected String cacheInvalidation;
    @XmlElement(name = "cache-invalidation-config")
    protected CacheInvalidationConfig cacheInvalidationConfig;
    protected List depends;
    @XmlElement(name = "ior-security-config")
    protected IorSecurityConfig iorSecurityConfig;

    /**
     * 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;
    }

    /**
     * Gets the value of the ejbName property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getEjbName() {
        return ejbName;
    }

    /**
     * Sets the value of the ejbName property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setEjbName(final String value) {
        this.ejbName = value;
    }

    /**
     * Gets the value of the jndiName property.
     *
     * @return possible object is
     * {@link JndiName }
     */
    public JndiName getJndiName() {
        return jndiName;
    }

    /**
     * Sets the value of the jndiName property.
     *
     * @param value allowed object is
     *              {@link JndiName }
     */
    public void setJndiName(final JndiName value) {
        this.jndiName = value;
    }

    /**
     * Gets the value of the localJndiName property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getLocalJndiName() {
        return localJndiName;
    }

    /**
     * Sets the value of the localJndiName property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setLocalJndiName(final String value) {
        this.localJndiName = value;
    }

    /**
     * Gets the value of the callByValue property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getCallByValue() {
        return callByValue;
    }

    /**
     * Sets the value of the callByValue property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setCallByValue(final String value) {
        this.callByValue = value;
    }

    /**
     * Gets the value of the readOnly property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getReadOnly() {
        return readOnly;
    }

    /**
     * Sets the value of the readOnly property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setReadOnly(final String value) {
        this.readOnly = value;
    }

    /**
     * Gets the value of the exceptionOnRollback property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getExceptionOnRollback() {
        return exceptionOnRollback;
    }

    /**
     * Sets the value of the exceptionOnRollback property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setExceptionOnRollback(final String value) {
        this.exceptionOnRollback = value;
    }

    /**
     * Gets the value of the timerPersistence property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getTimerPersistence() {
        return timerPersistence;
    }

    /**
     * Sets the value of the timerPersistence property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setTimerPersistence(final String value) {
        this.timerPersistence = value;
    }

    /**
     * Gets the value of the configurationName property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getConfigurationName() {
        return configurationName;
    }

    /**
     * Sets the value of the configurationName property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setConfigurationName(final String value) {
        this.configurationName = value;
    }

    /**
     * Gets the value of the invokerBindings property.
     *
     * @return possible object is
     * {@link InvokerBindings }
     */
    public InvokerBindings getInvokerBindings() {
        return invokerBindings;
    }

    /**
     * Sets the value of the invokerBindings property.
     *
     * @param value allowed object is
     *              {@link InvokerBindings }
     */
    public void setInvokerBindings(final InvokerBindings value) {
        this.invokerBindings = value;
    }

    /**
     * Gets the value of the securityProxy property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getSecurityProxy() {
        return securityProxy;
    }

    /**
     * Sets the value of the securityProxy property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setSecurityProxy(final String value) {
        this.securityProxy = value;
    }

    /**
     * Gets the value of the ejbRef 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 ejbRef property. *

*

* For example, to add a new item, do as follows: *

     *    getEjbRef().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link EjbRef } */ public List getEjbRef() { if (ejbRef == null) { ejbRef = new ArrayList(); } return this.ejbRef; } /** * Gets the value of the ejbLocalRef 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 ejbLocalRef property. *

*

* For example, to add a new item, do as follows: *

     *    getEjbLocalRef().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link EjbLocalRef } */ public List getEjbLocalRef() { if (ejbLocalRef == null) { ejbLocalRef = new ArrayList(); } return this.ejbLocalRef; } /** * Gets the value of the serviceRef 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 serviceRef property. *

*

* For example, to add a new item, do as follows: *

     *    getServiceRef().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link ServiceRef } */ public List getServiceRef() { if (serviceRef == null) { serviceRef = new ArrayList(); } return this.serviceRef; } /** * Gets the value of the securityIdentity property. * * @return possible object is * {@link SecurityIdentity } */ public SecurityIdentity getSecurityIdentity() { return securityIdentity; } /** * Sets the value of the securityIdentity property. * * @param value allowed object is * {@link SecurityIdentity } */ public void setSecurityIdentity(final SecurityIdentity value) { this.securityIdentity = value; } /** * Gets the value of the resourceRef 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 resourceRef property. *

*

* For example, to add a new item, do as follows: *

     *    getResourceRef().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link ResourceRef } */ public List getResourceRef() { if (resourceRef == null) { resourceRef = new ArrayList(); } return this.resourceRef; } /** * Gets the value of the resourceEnvRef 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 resourceEnvRef property. *

*

* For example, to add a new item, do as follows: *

     *    getResourceEnvRef().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link ResourceEnvRef } */ public List getResourceEnvRef() { if (resourceEnvRef == null) { resourceEnvRef = new ArrayList(); } return this.resourceEnvRef; } /** * Gets the value of the messageDestinationRef 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 messageDestinationRef property. *

*

* For example, to add a new item, do as follows: *

     *    getMessageDestinationRef().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link MessageDestinationRef } */ public List getMessageDestinationRef() { if (messageDestinationRef == null) { messageDestinationRef = new ArrayList(); } return this.messageDestinationRef; } /** * Gets the value of the methodAttributes property. * * @return possible object is * {@link MethodAttributes } */ public MethodAttributes getMethodAttributes() { return methodAttributes; } /** * Sets the value of the methodAttributes property. * * @param value allowed object is * {@link MethodAttributes } */ public void setMethodAttributes(final MethodAttributes value) { this.methodAttributes = value; } /** * Gets the value of the clustered property. * * @return possible object is * {@link String } */ public String getClustered() { return clustered; } /** * Sets the value of the clustered property. * * @param value allowed object is * {@link String } */ public void setClustered(final String value) { this.clustered = value; } /** * Gets the value of the clusterConfig property. * * @return possible object is * {@link ClusterConfig } */ public ClusterConfig getClusterConfig() { return clusterConfig; } /** * Sets the value of the clusterConfig property. * * @param value allowed object is * {@link ClusterConfig } */ public void setClusterConfig(final ClusterConfig value) { this.clusterConfig = value; } /** * Gets the value of the cacheInvalidation property. * * @return possible object is * {@link String } */ public String getCacheInvalidation() { return cacheInvalidation; } /** * Sets the value of the cacheInvalidation property. * * @param value allowed object is * {@link String } */ public void setCacheInvalidation(final String value) { this.cacheInvalidation = value; } /** * Gets the value of the cacheInvalidationConfig property. * * @return possible object is * {@link CacheInvalidationConfig } */ public CacheInvalidationConfig getCacheInvalidationConfig() { return cacheInvalidationConfig; } /** * Sets the value of the cacheInvalidationConfig property. * * @param value allowed object is * {@link CacheInvalidationConfig } */ public void setCacheInvalidationConfig(final CacheInvalidationConfig value) { this.cacheInvalidationConfig = value; } /** * Gets the value of the depends 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 depends property. *

*

* For example, to add a new item, do as follows: *

     *    getDepends().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link Depends } */ public List getDepends() { if (depends == null) { depends = new ArrayList(); } return this.depends; } /** * Gets the value of the iorSecurityConfig property. * * @return possible object is * {@link IorSecurityConfig } */ public IorSecurityConfig getIorSecurityConfig() { return iorSecurityConfig; } /** * Sets the value of the iorSecurityConfig property. * * @param value allowed object is * {@link IorSecurityConfig } */ public void setIorSecurityConfig(final IorSecurityConfig value) { this.iorSecurityConfig = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy