Class EnterpriseBean
- java.lang.Object
-
- org.apache.openejb.jee.was.v6.common.DescriptionGroup
-
- org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
-
- org.apache.openejb.jee.was.v6.common.JNDIEnvRefsGroup
-
- 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
Fields Modifier and Type Field Description protected StringejbClassprotected List<JavaClass>ejbClassesprotected StringhomeInterfaceprotected List<JavaClass>homeInterfacesprotected StringlocalHomeInterfaceprotected List<JavaClass>localHomeInterfacesprotected StringlocalInterfaceprotected List<JavaClass>localInterfacesprotected Stringnameprotected StringremoteInterfaceprotected List<JavaClass>remoteInterfacesprotected List<SecurityIdentity>securityIdentitiesprotected 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
Constructors Constructor Description EnterpriseBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEjbClass()Gets the value of the ejbClass property.List<JavaClass>getEjbClasses()Gets the value of the ejbClasses property.StringgetHomeInterface()Gets the value of the homeInterface property.List<JavaClass>getHomeInterfaces()Gets the value of the homeInterfaces property.StringgetLocalHomeInterface()Gets the value of the localHomeInterface property.List<JavaClass>getLocalHomeInterfaces()Gets the value of the localHomeInterfaces property.StringgetLocalInterface()Gets the value of the localInterface property.List<JavaClass>getLocalInterfaces()Gets the value of the localInterfaces property.StringgetName()Gets the value of the name property.StringgetRemoteInterface()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.voidsetEjbClass(String value)Sets the value of the ejbClass property.voidsetHomeInterface(String value)Sets the value of the homeInterface property.voidsetLocalHomeInterface(String value)Sets the value of the localHomeInterface property.voidsetLocalInterface(String value)Sets the value of the localInterface property.voidsetName(String value)Sets the value of the name property.voidsetRemoteInterface(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
-
-
-
-
Field Detail
-
securityRoleRefs
protected List<SecurityRoleRef> securityRoleRefs
-
securityIdentities
protected List<SecurityIdentity> securityIdentities
-
ejbClass
protected String ejbClass
-
homeInterface
protected String homeInterface
-
localHomeInterface
protected String localHomeInterface
-
localInterface
protected String localInterface
-
name
protected String name
-
remoteInterface
protected String remoteInterface
-
-
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 asetmethod 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 listSecurityRoleRef
-
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 asetmethod 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 listJavaClass
-
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 asetmethod 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 listJavaClass
-
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 asetmethod 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 listJavaClass
-
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 asetmethod 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 listSecurityIdentity
-
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 asetmethod 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 listJavaClass
-
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 asetmethod 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 listJavaClass
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
getRemoteInterface
public String getRemoteInterface()
Gets the value of the remoteInterface property.- Returns:
- possible object is
String
-
-