org.apache.openejb.jee.jba
Class ResourceRef

java.lang.Object
  extended by org.apache.openejb.jee.jba.ResourceRef

public class ResourceRef
extends java.lang.Object


Field Summary
protected  java.util.List<java.lang.Object> resourceNameOrJndiNameOrResUrl
           
protected  java.lang.String resRefName
           
 
Constructor Summary
ResourceRef()
           
 
Method Summary
 java.util.List<java.lang.Object> getResourceNameOrJndiNameOrResUrl()
          Gets the value of the resourceNameOrJndiNameOrResUrl property.
 java.lang.String getResRefName()
          Gets the value of the resRefName property.
 void setResRefName(java.lang.String value)
          Sets the value of the resRefName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resRefName

protected java.lang.String resRefName

resourceNameOrJndiNameOrResUrl

protected java.util.List<java.lang.Object> resourceNameOrJndiNameOrResUrl
Constructor Detail

ResourceRef

public ResourceRef()
Method Detail

getResRefName

public java.lang.String getResRefName()
Gets the value of the resRefName property.

Returns:
possible object is String

setResRefName

public void setResRefName(java.lang.String value)
Sets the value of the resRefName property.

Parameters:
value - allowed object is String

getResourceNameOrJndiNameOrResUrl

public java.util.List<java.lang.Object> getResourceNameOrJndiNameOrResUrl()
Gets the value of the resourceNameOrJndiNameOrResUrl 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 resourceNameOrJndiNameOrResUrl property.

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

    getResourceNameOrJndiNameOrResUrl().add(newItem);
 

Objects of the following type(s) are allowed in the list ResourceName JndiName ResUrl



Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.