net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.javaee
Interface EnterpriseBeansType

All Known Implementing Classes:
EnterpriseBeansTypeImpl

public interface EnterpriseBeansType

The enterprise-beansType declares one or more enterprise beans. Each bean can be a session, entity or message-driven bean.

Java class for enterprise-beansType complex type.

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

 <complexType name="enterprise-beansType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="session" type="{http://java.sun.com/xml/ns/javaee}session-beanType"/>
         <element name="entity" type="{http://java.sun.com/xml/ns/javaee}entity-beanType"/>
         <element name="message-driven" type="{http://java.sun.com/xml/ns/javaee}message-driven-beanType"/>
       </choice>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 String getId()
          Gets the value of the id property.
 List<Object> getSessionOrEntityOrMessageDriven()
          Gets the value of the sessionOrEntityOrMessageDriven property.
 void setId(String value)
          Sets the value of the id property.
 

Method Detail

getSessionOrEntityOrMessageDriven

List<Object> getSessionOrEntityOrMessageDriven()
Gets the value of the sessionOrEntityOrMessageDriven 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 sessionOrEntityOrMessageDriven property.

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

    getSessionOrEntityOrMessageDriven().add(newItem);
 

Objects of the following type(s) are allowed in the list EntityBeanType MessageDrivenBeanType SessionBeanType


getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.