org.apache.openejb.jee.was.v6.ejb
Class EnterpriseBean

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.common.DescriptionGroup
      extended by org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
          extended by org.apache.openejb.jee.was.v6.common.JNDIEnvRefsGroup
              extended by org.apache.openejb.jee.was.v6.ejb.EnterpriseBean
Direct Known Subclasses:
Entity, MessageDriven, Session

public class EnterpriseBean
extends JNDIEnvRefsGroup

EnterpriseJavaBean is a class. It can have instances, someone could write an instance document containing Departments and Employees. It also has attributes, operations, and associations. These are actually derived/filtered from its implementation classes and interfaces. For mapping and browsing purposes, though, you would like the EJB to appear as a class. In this light, even Session Beans can have associations and properties implemented by their bean. For example, it would be meaningful to describe associations from a Session to the Entities which it uses to perform its work.

Java class for EnterpriseBean complex type.

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

 <complexType name="EnterpriseBean">
   <complexContent>
     <extension base="{common.xmi}JNDIEnvRefsGroup">
       <choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="securityRoleRefs" type="{common.xmi}SecurityRoleRef"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="ejbClass" type="{java.xmi}JavaClass"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="homeInterface" type="{java.xmi}JavaClass"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="remoteInterface" type="{java.xmi}JavaClass"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="securityIdentity" type="{common.xmi}SecurityIdentity"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="localHomeInterface" type="{java.xmi}JavaClass"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="localInterface" type="{java.xmi}JavaClass"/>
         </choice>
       </choice>
       <attribute name="ejbClass" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="homeInterface" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="localHomeInterface" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="localInterface" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="remoteInterface" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String ejbClass
           
protected  List<JavaClass> ejbClasses
           
protected  String homeInterface
           
protected  List<JavaClass> homeInterfaces
           
protected  String localHomeInterface
           
protected  List<JavaClass> localHomeInterfaces
           
protected  String localInterface
           
protected  List<JavaClass> localInterfaces
           
protected  String name
           
protected  String remoteInterface
           
protected  List<JavaClass> remoteInterfaces
           
protected  List<SecurityIdentity> securityIdentities
           
protected  List<SecurityRoleRef> securityRoleRefs
           
 
Fields inherited from class org.apache.openejb.jee.was.v6.common.JNDIEnvRefsGroup
ejbLocalRefs, ejbRefs, environmentProperties, messageDestinationRefs, resourceEnvRefs, resourceRefs, serviceRefs
 
Fields inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
description, displayName, largeIcon, smallIcon
 
Fields inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
descriptions, displayNames, extensions, href, icons, id, idref, label, type, uuid, version
 
Constructor Summary
EnterpriseBean()
           
 
Method Summary
 String getEjbClass()
          Gets the value of the ejbClass property.
 List<JavaClass> getEjbClasses()
          Gets the value of the ejbClasses property.
 String getHomeInterface()
          Gets the value of the homeInterface property.
 List<JavaClass> getHomeInterfaces()
          Gets the value of the homeInterfaces property.
 String getLocalHomeInterface()
          Gets the value of the localHomeInterface property.
 List<JavaClass> getLocalHomeInterfaces()
          Gets the value of the localHomeInterfaces property.
 String getLocalInterface()
          Gets the value of the localInterface property.
 List<JavaClass> getLocalInterfaces()
          Gets the value of the localInterfaces property.
 String getName()
          Gets the value of the name property.
 String getRemoteInterface()
          Gets the value of the remoteInterface property.
 List<JavaClass> getRemoteInterfaces()
          Gets the value of the remoteInterfaces property.
 List<SecurityIdentity> getSecurityIdentities()
          Gets the value of the securityIdentities property.
 List<SecurityRoleRef> getSecurityRoleRefs()
          Gets the value of the securityRoleRefs property.
 void setEjbClass(String value)
          Sets the value of the ejbClass property.
 void setHomeInterface(String value)
          Sets the value of the homeInterface property.
 void setLocalHomeInterface(String value)
          Sets the value of the localHomeInterface property.
 void setLocalInterface(String value)
          Sets the value of the localInterface property.
 void setName(String value)
          Sets the value of the name property.
 void setRemoteInterface(String value)
          Sets the value of the remoteInterface property.
 
Methods inherited from class org.apache.openejb.jee.was.v6.common.JNDIEnvRefsGroup
getEjbLocalRefs, getEjbRefs, getEnvironmentProperties, getMessageDestinationRefs, getResourceEnvRefs, getResourceRefs, getServiceRefs
 
Methods inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDisplayName, setLargeIcon, setSmallIcon
 
Methods inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
getDescriptions, getDisplayNames, getExtensions, getHref, getIcons, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

securityRoleRefs

protected List<SecurityRoleRef> securityRoleRefs

ejbClasses

protected List<JavaClass> ejbClasses

homeInterfaces

protected List<JavaClass> homeInterfaces

remoteInterfaces

protected List<JavaClass> remoteInterfaces

securityIdentities

protected List<SecurityIdentity> securityIdentities

localHomeInterfaces

protected List<JavaClass> localHomeInterfaces

localInterfaces

protected List<JavaClass> localInterfaces

ejbClass

protected String ejbClass

homeInterface

protected String homeInterface

localHomeInterface

protected String localHomeInterface

localInterface

protected String localInterface

name

protected String name

remoteInterface

protected String remoteInterface
Constructor Detail

EnterpriseBean

public EnterpriseBean()
Method Detail

getSecurityRoleRefs

public List<SecurityRoleRef> getSecurityRoleRefs()
Gets the value of the securityRoleRefs 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 securityRoleRefs property.

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

 getSecurityRoleRefs().add(newItem);
 

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


getEjbClasses

public List<JavaClass> getEjbClasses()
Gets the value of the ejbClasses 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 ejbClasses property.

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

 getEjbClasses().add(newItem);
 

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


getHomeInterfaces

public List<JavaClass> getHomeInterfaces()
Gets the value of the homeInterfaces 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 homeInterfaces property.

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

 getHomeInterfaces().add(newItem);
 

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


getRemoteInterfaces

public List<JavaClass> getRemoteInterfaces()
Gets the value of the remoteInterfaces 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 remoteInterfaces property.

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

 getRemoteInterfaces().add(newItem);
 

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


getSecurityIdentities

public List<SecurityIdentity> getSecurityIdentities()
Gets the value of the securityIdentities 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 securityIdentities property.

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

 getSecurityIdentities().add(newItem);
 

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


getLocalHomeInterfaces

public List<JavaClass> getLocalHomeInterfaces()
Gets the value of the localHomeInterfaces 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 localHomeInterfaces property.

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

 getLocalHomeInterfaces().add(newItem);
 

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


getLocalInterfaces

public List<JavaClass> getLocalInterfaces()
Gets the value of the localInterfaces 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 localInterfaces property.

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

 getLocalInterfaces().add(newItem);
 

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


getEjbClass

public String getEjbClass()
Gets the value of the ejbClass property.

Returns:
possible object is String

setEjbClass

public void setEjbClass(String value)
Sets the value of the ejbClass property.

Parameters:
value - allowed object is String

getHomeInterface

public String getHomeInterface()
Gets the value of the homeInterface property.

Returns:
possible object is String

setHomeInterface

public void setHomeInterface(String value)
Sets the value of the homeInterface property.

Parameters:
value - allowed object is String

getLocalHomeInterface

public String getLocalHomeInterface()
Gets the value of the localHomeInterface property.

Returns:
possible object is String

setLocalHomeInterface

public void setLocalHomeInterface(String value)
Sets the value of the localHomeInterface property.

Parameters:
value - allowed object is String

getLocalInterface

public String getLocalInterface()
Gets the value of the localInterface property.

Returns:
possible object is String

setLocalInterface

public void setLocalInterface(String value)
Sets the value of the localInterface property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getRemoteInterface

public String getRemoteInterface()
Gets the value of the remoteInterface property.

Returns:
possible object is String

setRemoteInterface

public void setRemoteInterface(String value)
Sets the value of the remoteInterface property.

Parameters:
value - allowed object is String


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