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  java.lang.String ejbClass
           
protected  java.util.List<JavaClass> ejbClasses
           
protected  java.lang.String homeInterface
           
protected  java.util.List<JavaClass> homeInterfaces
           
protected  java.lang.String localHomeInterface
           
protected  java.util.List<JavaClass> localHomeInterfaces
           
protected  java.lang.String localInterface
           
protected  java.util.List<JavaClass> localInterfaces
           
protected  java.lang.String name
           
protected  java.lang.String remoteInterface
           
protected  java.util.List<JavaClass> remoteInterfaces
           
protected  java.util.List<SecurityIdentity> securityIdentities
           
protected  java.util.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
 java.lang.String getEjbClass()
          Gets the value of the ejbClass property.
 java.util.List<JavaClass> getEjbClasses()
          Gets the value of the ejbClasses property.
 java.lang.String getHomeInterface()
          Gets the value of the homeInterface property.
 java.util.List<JavaClass> getHomeInterfaces()
          Gets the value of the homeInterfaces property.
 java.lang.String getLocalHomeInterface()
          Gets the value of the localHomeInterface property.
 java.util.List<JavaClass> getLocalHomeInterfaces()
          Gets the value of the localHomeInterfaces property.
 java.lang.String getLocalInterface()
          Gets the value of the localInterface property.
 java.util.List<JavaClass> getLocalInterfaces()
          Gets the value of the localInterfaces property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getRemoteInterface()
          Gets the value of the remoteInterface property.
 java.util.List<JavaClass> getRemoteInterfaces()
          Gets the value of the remoteInterfaces property.
 java.util.List<SecurityIdentity> getSecurityIdentities()
          Gets the value of the securityIdentities property.
 java.util.List<SecurityRoleRef> getSecurityRoleRefs()
          Gets the value of the securityRoleRefs property.
 void setEjbClass(java.lang.String value)
          Sets the value of the ejbClass property.
 void setHomeInterface(java.lang.String value)
          Sets the value of the homeInterface property.
 void setLocalHomeInterface(java.lang.String value)
          Sets the value of the localHomeInterface property.
 void setLocalInterface(java.lang.String value)
          Sets the value of the localInterface property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setRemoteInterface(java.lang.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 java.util.List<SecurityRoleRef> securityRoleRefs

ejbClasses

protected java.util.List<JavaClass> ejbClasses

homeInterfaces

protected java.util.List<JavaClass> homeInterfaces

remoteInterfaces

protected java.util.List<JavaClass> remoteInterfaces

securityIdentities

protected java.util.List<SecurityIdentity> securityIdentities

localHomeInterfaces

protected java.util.List<JavaClass> localHomeInterfaces

localInterfaces

protected java.util.List<JavaClass> localInterfaces

ejbClass

protected java.lang.String ejbClass

homeInterface

protected java.lang.String homeInterface

localHomeInterface

protected java.lang.String localHomeInterface

localInterface

protected java.lang.String localInterface

name

protected java.lang.String name

remoteInterface

protected java.lang.String remoteInterface
Constructor Detail

EnterpriseBean

public EnterpriseBean()
Method Detail

getSecurityRoleRefs

public java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.lang.String getEjbClass()
Gets the value of the ejbClass property.

Returns:
possible object is String

setEjbClass

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

Parameters:
value - allowed object is String

getHomeInterface

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

Returns:
possible object is String

setHomeInterface

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

Parameters:
value - allowed object is String

getLocalHomeInterface

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

Returns:
possible object is String

setLocalHomeInterface

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

Parameters:
value - allowed object is String

getLocalInterface

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

Returns:
possible object is String

setLocalInterface

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

Parameters:
value - allowed object is String

getName

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

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getRemoteInterface

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

Returns:
possible object is String

setRemoteInterface

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

Parameters:
value - allowed object is String


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