Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » jba » [javadoc | source]
    1   /**
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *     http://www.apache.org/licenses/LICENSE-2.0
   10    *
   11    * Unless required by applicable law or agreed to in writing, software
   12    * distributed under the License is distributed on an "AS IS" BASIS,
   13    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14    * See the License for the specific language governing permissions and
   15    * limitations under the License.
   16    */
   17   
   18   package org.apache.openejb.jee.jba;
   19   
   20   import java.util.ArrayList;
   21   import java.util.List;
   22   import javax.xml.bind.annotation.XmlAccessType;
   23   import javax.xml.bind.annotation.XmlAccessorType;
   24   import javax.xml.bind.annotation.XmlAttribute;
   25   import javax.xml.bind.annotation.XmlElement;
   26   import javax.xml.bind.annotation.XmlID;
   27   import javax.xml.bind.annotation.XmlRootElement;
   28   import javax.xml.bind.annotation.XmlType;
   29   import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
   30   import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
   31   
   32   
   33   /**
   34    * 
   35    */
   36   @XmlAccessorType(XmlAccessType.FIELD)
   37   @XmlType(name = "", propOrder = {
   38       "ejbName",
   39       "jndiName",
   40       "localJndiName",
   41       "callByValue",
   42       "readOnly",
   43       "exceptionOnRollback",
   44       "timerPersistence",
   45       "configurationName",
   46       "invokerBindings",
   47       "securityProxy",
   48       "ejbRef",
   49       "ejbLocalRef",
   50       "serviceRef",
   51       "securityIdentity",
   52       "resourceRef",
   53       "resourceEnvRef",
   54       "messageDestinationRef",
   55       "methodAttributes",
   56       "clustered",
   57       "clusterConfig",
   58       "cacheInvalidation",
   59       "cacheInvalidationConfig",
   60       "depends",
   61       "iorSecurityConfig"
   62   })
   63   @XmlRootElement(name = "entity")
   64   public class Entity {
   65   
   66       @XmlAttribute
   67       @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
   68       @XmlID
   69       protected String id;
   70       @XmlElement(name = "ejb-name", required = true)
   71       protected String ejbName;
   72       @XmlElement(name = "jndi-name")
   73       protected JndiName jndiName;
   74       @XmlElement(name = "local-jndi-name")
   75       protected String localJndiName;
   76       @XmlElement(name = "call-by-value")
   77       protected String callByValue;
   78       @XmlElement(name = "read-only")
   79       protected String readOnly;
   80       @XmlElement(name = "exception-on-rollback")
   81       protected String exceptionOnRollback;
   82       @XmlElement(name = "timer-persistence")
   83       protected String timerPersistence;
   84       @XmlElement(name = "configuration-name")
   85       protected String configurationName;
   86       @XmlElement(name = "invoker-bindings")
   87       protected InvokerBindings invokerBindings;
   88       @XmlElement(name = "security-proxy")
   89       protected String securityProxy;
   90       @XmlElement(name = "ejb-ref")
   91       protected List<EjbRef> ejbRef;
   92       @XmlElement(name = "ejb-local-ref")
   93       protected List<EjbLocalRef> ejbLocalRef;
   94       @XmlElement(name = "service-ref")
   95       protected List<ServiceRef> serviceRef;
   96       @XmlElement(name = "security-identity")
   97       protected SecurityIdentity securityIdentity;
   98       @XmlElement(name = "resource-ref")
   99       protected List<ResourceRef> resourceRef;
  100       @XmlElement(name = "resource-env-ref")
  101       protected List<ResourceEnvRef> resourceEnvRef;
  102       @XmlElement(name = "message-destination-ref")
  103       protected List<MessageDestinationRef> messageDestinationRef;
  104       @XmlElement(name = "method-attributes")
  105       protected MethodAttributes methodAttributes;
  106       protected String clustered;
  107       @XmlElement(name = "cluster-config")
  108       protected ClusterConfig clusterConfig;
  109       @XmlElement(name = "cache-invalidation")
  110       protected String cacheInvalidation;
  111       @XmlElement(name = "cache-invalidation-config")
  112       protected CacheInvalidationConfig cacheInvalidationConfig;
  113       protected List<Depends> depends;
  114       @XmlElement(name = "ior-security-config")
  115       protected IorSecurityConfig iorSecurityConfig;
  116   
  117       /**
  118        * Gets the value of the id property.
  119        * 
  120        * @return
  121        *     possible object is
  122        *     {@link String }
  123        *     
  124        */
  125       public String getId() {
  126           return id;
  127       }
  128   
  129       /**
  130        * Sets the value of the id property.
  131        * 
  132        * @param value
  133        *     allowed object is
  134        *     {@link String }
  135        *     
  136        */
  137       public void setId(String value) {
  138           this.id = value;
  139       }
  140   
  141       /**
  142        * Gets the value of the ejbName property.
  143        * 
  144        * @return
  145        *     possible object is
  146        *     {@link String }
  147        *     
  148        */
  149       public String getEjbName() {
  150           return ejbName;
  151       }
  152   
  153       /**
  154        * Sets the value of the ejbName property.
  155        * 
  156        * @param value
  157        *     allowed object is
  158        *     {@link String }
  159        *     
  160        */
  161       public void setEjbName(String value) {
  162           this.ejbName = value;
  163       }
  164   
  165       /**
  166        * Gets the value of the jndiName property.
  167        * 
  168        * @return
  169        *     possible object is
  170        *     {@link JndiName }
  171        *     
  172        */
  173       public JndiName getJndiName() {
  174           return jndiName;
  175       }
  176   
  177       /**
  178        * Sets the value of the jndiName property.
  179        * 
  180        * @param value
  181        *     allowed object is
  182        *     {@link JndiName }
  183        *     
  184        */
  185       public void setJndiName(JndiName value) {
  186           this.jndiName = value;
  187       }
  188   
  189       /**
  190        * Gets the value of the localJndiName property.
  191        * 
  192        * @return
  193        *     possible object is
  194        *     {@link String }
  195        *     
  196        */
  197       public String getLocalJndiName() {
  198           return localJndiName;
  199       }
  200   
  201       /**
  202        * Sets the value of the localJndiName property.
  203        * 
  204        * @param value
  205        *     allowed object is
  206        *     {@link String }
  207        *     
  208        */
  209       public void setLocalJndiName(String value) {
  210           this.localJndiName = value;
  211       }
  212   
  213       /**
  214        * Gets the value of the callByValue property.
  215        * 
  216        * @return
  217        *     possible object is
  218        *     {@link String }
  219        *     
  220        */
  221       public String getCallByValue() {
  222           return callByValue;
  223       }
  224   
  225       /**
  226        * Sets the value of the callByValue property.
  227        * 
  228        * @param value
  229        *     allowed object is
  230        *     {@link String }
  231        *     
  232        */
  233       public void setCallByValue(String value) {
  234           this.callByValue = value;
  235       }
  236   
  237       /**
  238        * Gets the value of the readOnly property.
  239        * 
  240        * @return
  241        *     possible object is
  242        *     {@link String }
  243        *     
  244        */
  245       public String getReadOnly() {
  246           return readOnly;
  247       }
  248   
  249       /**
  250        * Sets the value of the readOnly property.
  251        * 
  252        * @param value
  253        *     allowed object is
  254        *     {@link String }
  255        *     
  256        */
  257       public void setReadOnly(String value) {
  258           this.readOnly = value;
  259       }
  260   
  261       /**
  262        * Gets the value of the exceptionOnRollback property.
  263        * 
  264        * @return
  265        *     possible object is
  266        *     {@link String }
  267        *     
  268        */
  269       public String getExceptionOnRollback() {
  270           return exceptionOnRollback;
  271       }
  272   
  273       /**
  274        * Sets the value of the exceptionOnRollback property.
  275        * 
  276        * @param value
  277        *     allowed object is
  278        *     {@link String }
  279        *     
  280        */
  281       public void setExceptionOnRollback(String value) {
  282           this.exceptionOnRollback = value;
  283       }
  284   
  285       /**
  286        * Gets the value of the timerPersistence property.
  287        * 
  288        * @return
  289        *     possible object is
  290        *     {@link String }
  291        *     
  292        */
  293       public String getTimerPersistence() {
  294           return timerPersistence;
  295       }
  296   
  297       /**
  298        * Sets the value of the timerPersistence property.
  299        * 
  300        * @param value
  301        *     allowed object is
  302        *     {@link String }
  303        *     
  304        */
  305       public void setTimerPersistence(String value) {
  306           this.timerPersistence = value;
  307       }
  308   
  309       /**
  310        * Gets the value of the configurationName property.
  311        * 
  312        * @return
  313        *     possible object is
  314        *     {@link String }
  315        *     
  316        */
  317       public String getConfigurationName() {
  318           return configurationName;
  319       }
  320   
  321       /**
  322        * Sets the value of the configurationName property.
  323        * 
  324        * @param value
  325        *     allowed object is
  326        *     {@link String }
  327        *     
  328        */
  329       public void setConfigurationName(String value) {
  330           this.configurationName = value;
  331       }
  332   
  333       /**
  334        * Gets the value of the invokerBindings property.
  335        * 
  336        * @return
  337        *     possible object is
  338        *     {@link InvokerBindings }
  339        *     
  340        */
  341       public InvokerBindings getInvokerBindings() {
  342           return invokerBindings;
  343       }
  344   
  345       /**
  346        * Sets the value of the invokerBindings property.
  347        * 
  348        * @param value
  349        *     allowed object is
  350        *     {@link InvokerBindings }
  351        *     
  352        */
  353       public void setInvokerBindings(InvokerBindings value) {
  354           this.invokerBindings = value;
  355       }
  356   
  357       /**
  358        * Gets the value of the securityProxy property.
  359        * 
  360        * @return
  361        *     possible object is
  362        *     {@link String }
  363        *     
  364        */
  365       public String getSecurityProxy() {
  366           return securityProxy;
  367       }
  368   
  369       /**
  370        * Sets the value of the securityProxy property.
  371        * 
  372        * @param value
  373        *     allowed object is
  374        *     {@link String }
  375        *     
  376        */
  377       public void setSecurityProxy(String value) {
  378           this.securityProxy = value;
  379       }
  380   
  381       /**
  382        * Gets the value of the ejbRef property.
  383        * 
  384        * <p>
  385        * This accessor method returns a reference to the live list,
  386        * not a snapshot. Therefore any modification you make to the
  387        * returned list will be present inside the JAXB object.
  388        * This is why there is not a <CODE>set</CODE> method for the ejbRef property.
  389        * 
  390        * <p>
  391        * For example, to add a new item, do as follows:
  392        * <pre>
  393        *    getEjbRef().add(newItem);
  394        * </pre>
  395        * 
  396        * 
  397        * <p>
  398        * Objects of the following type(s) are allowed in the list
  399        * {@link EjbRef }
  400        * 
  401        * 
  402        */
  403       public List<EjbRef> getEjbRef() {
  404           if (ejbRef == null) {
  405               ejbRef = new ArrayList<EjbRef>();
  406           }
  407           return this.ejbRef;
  408       }
  409   
  410       /**
  411        * Gets the value of the ejbLocalRef property.
  412        * 
  413        * <p>
  414        * This accessor method returns a reference to the live list,
  415        * not a snapshot. Therefore any modification you make to the
  416        * returned list will be present inside the JAXB object.
  417        * This is why there is not a <CODE>set</CODE> method for the ejbLocalRef property.
  418        * 
  419        * <p>
  420        * For example, to add a new item, do as follows:
  421        * <pre>
  422        *    getEjbLocalRef().add(newItem);
  423        * </pre>
  424        * 
  425        * 
  426        * <p>
  427        * Objects of the following type(s) are allowed in the list
  428        * {@link EjbLocalRef }
  429        * 
  430        * 
  431        */
  432       public List<EjbLocalRef> getEjbLocalRef() {
  433           if (ejbLocalRef == null) {
  434               ejbLocalRef = new ArrayList<EjbLocalRef>();
  435           }
  436           return this.ejbLocalRef;
  437       }
  438   
  439       /**
  440        * Gets the value of the serviceRef property.
  441        * 
  442        * <p>
  443        * This accessor method returns a reference to the live list,
  444        * not a snapshot. Therefore any modification you make to the
  445        * returned list will be present inside the JAXB object.
  446        * This is why there is not a <CODE>set</CODE> method for the serviceRef property.
  447        * 
  448        * <p>
  449        * For example, to add a new item, do as follows:
  450        * <pre>
  451        *    getServiceRef().add(newItem);
  452        * </pre>
  453        * 
  454        * 
  455        * <p>
  456        * Objects of the following type(s) are allowed in the list
  457        * {@link ServiceRef }
  458        * 
  459        * 
  460        */
  461       public List<ServiceRef> getServiceRef() {
  462           if (serviceRef == null) {
  463               serviceRef = new ArrayList<ServiceRef>();
  464           }
  465           return this.serviceRef;
  466       }
  467   
  468       /**
  469        * Gets the value of the securityIdentity property.
  470        * 
  471        * @return
  472        *     possible object is
  473        *     {@link SecurityIdentity }
  474        *     
  475        */
  476       public SecurityIdentity getSecurityIdentity() {
  477           return securityIdentity;
  478       }
  479   
  480       /**
  481        * Sets the value of the securityIdentity property.
  482        * 
  483        * @param value
  484        *     allowed object is
  485        *     {@link SecurityIdentity }
  486        *     
  487        */
  488       public void setSecurityIdentity(SecurityIdentity value) {
  489           this.securityIdentity = value;
  490       }
  491   
  492       /**
  493        * Gets the value of the resourceRef property.
  494        * 
  495        * <p>
  496        * This accessor method returns a reference to the live list,
  497        * not a snapshot. Therefore any modification you make to the
  498        * returned list will be present inside the JAXB object.
  499        * This is why there is not a <CODE>set</CODE> method for the resourceRef property.
  500        * 
  501        * <p>
  502        * For example, to add a new item, do as follows:
  503        * <pre>
  504        *    getResourceRef().add(newItem);
  505        * </pre>
  506        * 
  507        * 
  508        * <p>
  509        * Objects of the following type(s) are allowed in the list
  510        * {@link ResourceRef }
  511        * 
  512        * 
  513        */
  514       public List<ResourceRef> getResourceRef() {
  515           if (resourceRef == null) {
  516               resourceRef = new ArrayList<ResourceRef>();
  517           }
  518           return this.resourceRef;
  519       }
  520   
  521       /**
  522        * Gets the value of the resourceEnvRef property.
  523        * 
  524        * <p>
  525        * This accessor method returns a reference to the live list,
  526        * not a snapshot. Therefore any modification you make to the
  527        * returned list will be present inside the JAXB object.
  528        * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
  529        * 
  530        * <p>
  531        * For example, to add a new item, do as follows:
  532        * <pre>
  533        *    getResourceEnvRef().add(newItem);
  534        * </pre>
  535        * 
  536        * 
  537        * <p>
  538        * Objects of the following type(s) are allowed in the list
  539        * {@link ResourceEnvRef }
  540        * 
  541        * 
  542        */
  543       public List<ResourceEnvRef> getResourceEnvRef() {
  544           if (resourceEnvRef == null) {
  545               resourceEnvRef = new ArrayList<ResourceEnvRef>();
  546           }
  547           return this.resourceEnvRef;
  548       }
  549   
  550       /**
  551        * Gets the value of the messageDestinationRef property.
  552        * 
  553        * <p>
  554        * This accessor method returns a reference to the live list,
  555        * not a snapshot. Therefore any modification you make to the
  556        * returned list will be present inside the JAXB object.
  557        * This is why there is not a <CODE>set</CODE> method for the messageDestinationRef property.
  558        * 
  559        * <p>
  560        * For example, to add a new item, do as follows:
  561        * <pre>
  562        *    getMessageDestinationRef().add(newItem);
  563        * </pre>
  564        * 
  565        * 
  566        * <p>
  567        * Objects of the following type(s) are allowed in the list
  568        * {@link MessageDestinationRef }
  569        * 
  570        * 
  571        */
  572       public List<MessageDestinationRef> getMessageDestinationRef() {
  573           if (messageDestinationRef == null) {
  574               messageDestinationRef = new ArrayList<MessageDestinationRef>();
  575           }
  576           return this.messageDestinationRef;
  577       }
  578   
  579       /**
  580        * Gets the value of the methodAttributes property.
  581        * 
  582        * @return
  583        *     possible object is
  584        *     {@link MethodAttributes }
  585        *     
  586        */
  587       public MethodAttributes getMethodAttributes() {
  588           return methodAttributes;
  589       }
  590   
  591       /**
  592        * Sets the value of the methodAttributes property.
  593        * 
  594        * @param value
  595        *     allowed object is
  596        *     {@link MethodAttributes }
  597        *     
  598        */
  599       public void setMethodAttributes(MethodAttributes value) {
  600           this.methodAttributes = value;
  601       }
  602   
  603       /**
  604        * Gets the value of the clustered property.
  605        * 
  606        * @return
  607        *     possible object is
  608        *     {@link String }
  609        *     
  610        */
  611       public String getClustered() {
  612           return clustered;
  613       }
  614   
  615       /**
  616        * Sets the value of the clustered property.
  617        * 
  618        * @param value
  619        *     allowed object is
  620        *     {@link String }
  621        *     
  622        */
  623       public void setClustered(String value) {
  624           this.clustered = value;
  625       }
  626   
  627       /**
  628        * Gets the value of the clusterConfig property.
  629        * 
  630        * @return
  631        *     possible object is
  632        *     {@link ClusterConfig }
  633        *     
  634        */
  635       public ClusterConfig getClusterConfig() {
  636           return clusterConfig;
  637       }
  638   
  639       /**
  640        * Sets the value of the clusterConfig property.
  641        * 
  642        * @param value
  643        *     allowed object is
  644        *     {@link ClusterConfig }
  645        *     
  646        */
  647       public void setClusterConfig(ClusterConfig value) {
  648           this.clusterConfig = value;
  649       }
  650   
  651       /**
  652        * Gets the value of the cacheInvalidation property.
  653        * 
  654        * @return
  655        *     possible object is
  656        *     {@link String }
  657        *     
  658        */
  659       public String getCacheInvalidation() {
  660           return cacheInvalidation;
  661       }
  662   
  663       /**
  664        * Sets the value of the cacheInvalidation property.
  665        * 
  666        * @param value
  667        *     allowed object is
  668        *     {@link String }
  669        *     
  670        */
  671       public void setCacheInvalidation(String value) {
  672           this.cacheInvalidation = value;
  673       }
  674   
  675       /**
  676        * Gets the value of the cacheInvalidationConfig property.
  677        * 
  678        * @return
  679        *     possible object is
  680        *     {@link CacheInvalidationConfig }
  681        *     
  682        */
  683       public CacheInvalidationConfig getCacheInvalidationConfig() {
  684           return cacheInvalidationConfig;
  685       }
  686   
  687       /**
  688        * Sets the value of the cacheInvalidationConfig property.
  689        * 
  690        * @param value
  691        *     allowed object is
  692        *     {@link CacheInvalidationConfig }
  693        *     
  694        */
  695       public void setCacheInvalidationConfig(CacheInvalidationConfig value) {
  696           this.cacheInvalidationConfig = value;
  697       }
  698   
  699       /**
  700        * Gets the value of the depends property.
  701        * 
  702        * <p>
  703        * This accessor method returns a reference to the live list,
  704        * not a snapshot. Therefore any modification you make to the
  705        * returned list will be present inside the JAXB object.
  706        * This is why there is not a <CODE>set</CODE> method for the depends property.
  707        * 
  708        * <p>
  709        * For example, to add a new item, do as follows:
  710        * <pre>
  711        *    getDepends().add(newItem);
  712        * </pre>
  713        * 
  714        * 
  715        * <p>
  716        * Objects of the following type(s) are allowed in the list
  717        * {@link Depends }
  718        * 
  719        * 
  720        */
  721       public List<Depends> getDepends() {
  722           if (depends == null) {
  723               depends = new ArrayList<Depends>();
  724           }
  725           return this.depends;
  726       }
  727   
  728       /**
  729        * Gets the value of the iorSecurityConfig property.
  730        * 
  731        * @return
  732        *     possible object is
  733        *     {@link IorSecurityConfig }
  734        *     
  735        */
  736       public IorSecurityConfig getIorSecurityConfig() {
  737           return iorSecurityConfig;
  738       }
  739   
  740       /**
  741        * Sets the value of the iorSecurityConfig property.
  742        * 
  743        * @param value
  744        *     allowed object is
  745        *     {@link IorSecurityConfig }
  746        *     
  747        */
  748       public void setIorSecurityConfig(IorSecurityConfig value) {
  749           this.iorSecurityConfig = value;
  750       }
  751   
  752   }

Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » jba » [javadoc | source]