org.apache.openejb.jee.wls
Class RelationshipCaching

java.lang.Object
  extended by org.apache.openejb.jee.wls.RelationshipCaching

public class RelationshipCaching
extends Object

Java class for relationship-caching complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="relationship-caching">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="caching-name" type="{http://www.bea.com/ns/weblogic/90}caching-name"/>
         <element name="caching-element" type="{http://www.bea.com/ns/weblogic/90}caching-element" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<CachingElement> cachingElement
           
protected  CachingName cachingName
           
protected  String id
           
 
Constructor Summary
RelationshipCaching()
           
 
Method Summary
 List<CachingElement> getCachingElement()
          Gets the value of the cachingElement property.
 CachingName getCachingName()
          Gets the value of the cachingName property.
 String getId()
          Gets the value of the id property.
 void setCachingName(CachingName value)
          Sets the value of the cachingName property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cachingName

protected CachingName cachingName

cachingElement

protected List<CachingElement> cachingElement

id

protected String id
Constructor Detail

RelationshipCaching

public RelationshipCaching()
Method Detail

getCachingName

public CachingName getCachingName()
Gets the value of the cachingName property.

Returns:
possible object is CachingName

setCachingName

public void setCachingName(CachingName value)
Sets the value of the cachingName property.

Parameters:
value - allowed object is CachingName

getCachingElement

public List<CachingElement> getCachingElement()
Gets the value of the cachingElement 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 cachingElement property.

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

    getCachingElement().add(newItem);
 

Objects of the following type(s) are allowed in the list CachingElement


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


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