Class 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>
     
    • 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