public class EntityBean extends Object implements RemoteBean
Java class for entity-beanType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="entity-beanType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}ejb-nameType"/>
<element name="mapped-name" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
<element name="home" type="{http://java.sun.com/xml/ns/javaee}homeType" minOccurs="0"/>
<element name="remote" type="{http://java.sun.com/xml/ns/javaee}remoteType" minOccurs="0"/>
<element name="local-home" type="{http://java.sun.com/xml/ns/javaee}local-homeType" minOccurs="0"/>
<element name="local" type="{http://java.sun.com/xml/ns/javaee}localType" minOccurs="0"/>
<element name="ejb-class" type="{http://java.sun.com/xml/ns/javaee}ejb-classType"/>
<element name="persistence-type" type="{http://java.sun.com/xml/ns/javaee}persistence-typeType"/>
<element name="prim-key-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="reentrant" type="{http://java.sun.com/xml/ns/javaee}true-falseType"/>
<element name="cmp-version" type="{http://java.sun.com/xml/ns/javaee}cmp-versionType" minOccurs="0"/>
<element name="abstract-schema-name" type="{http://java.sun.com/xml/ns/javaee}java-identifierType" minOccurs="0"/>
<element name="cmp-field" type="{http://java.sun.com/xml/ns/javaee}cmp-fieldType" maxOccurs="unbounded" minOccurs="0"/>
<element name="primkey-field" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
<group ref="{http://java.sun.com/xml/ns/javaee}jndiEnvironmentRefsGroup"/>
<element name="security-role-ref" type="{http://java.sun.com/xml/ns/javaee}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
<element name="security-identity" type="{http://java.sun.com/xml/ns/javaee}security-identityType" minOccurs="0"/>
<element name="query" type="{http://java.sun.com/xml/ns/javaee}queryType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
EntityBean() |
EntityBean(Class<?> ejbClass,
PersistenceType persistenceType) |
EntityBean(String ejbName,
String ejbClass,
PersistenceType persistenceType) |
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected String ejbName
protected String mappedName
protected String home
protected String remote
protected String localHome
protected String local
protected String ejbClass
protected PersistenceType persistenceType
protected String primKeyClass
protected boolean reentrant
protected CmpVersion cmpVersion
protected String abstractSchemaName
protected String primkeyField
protected KeyedCollection<String,EnvEntry> envEntry
protected KeyedCollection<String,EjbRef> ejbRef
protected KeyedCollection<String,EjbLocalRef> ejbLocalRef
protected KeyedCollection<String,ServiceRef> serviceRef
protected KeyedCollection<String,ResourceRef> resourceRef
protected KeyedCollection<String,ResourceEnvRef> resourceEnvRef
protected KeyedCollection<String,MessageDestinationRef> messageDestinationRef
protected KeyedCollection<String,PersistenceContextRef> persistenceContextRef
protected KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
protected List<LifecycleCallback> postConstruct
protected List<LifecycleCallback> preDestroy
protected KeyedCollection<String,DataSource> dataSource
protected List<SecurityRoleRef> securityRoleRef
protected SecurityIdentity securityIdentity
protected String id
public EntityBean()
public EntityBean(String ejbName, String ejbClass, PersistenceType persistenceType)
public EntityBean(Class<?> ejbClass, PersistenceType persistenceType)
public String getJndiConsumerName()
getJndiConsumerName in interface JndiConsumerpublic Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public Collection<Icon> getIcons()
public Icon getIcon()
public String getEjbName()
getEjbName in interface EnterpriseBeanpublic void setEjbName(String value)
setEjbName in interface EnterpriseBeanpublic String getMappedName()
getMappedName in interface EnterpriseBeanpublic void setMappedName(String value)
setMappedName in interface EnterpriseBeanpublic String getHome()
getHome in interface RemoteBeanpublic void setHome(String value)
setHome in interface RemoteBeanpublic String getRemote()
getRemote in interface RemoteBeanpublic void setRemote(String value)
setRemote in interface RemoteBeanpublic String getLocalHome()
getLocalHome in interface RemoteBeanpublic void setLocalHome(String value)
setLocalHome in interface RemoteBeanpublic String getLocal()
getLocal in interface RemoteBeanpublic void setLocal(String value)
setLocal in interface RemoteBeanpublic String getEjbClass()
getEjbClass in interface EnterpriseBeanpublic void setEjbClass(String value)
setEjbClass in interface EnterpriseBeanpublic void setEjbClass(Class value)
setEjbClass in interface EnterpriseBeanpublic PersistenceType getPersistenceType()
public void setPersistenceType(PersistenceType value)
public String getPrimKeyClass()
public void setPrimKeyClass(String value)
public boolean getReentrant()
public void setReentrant(boolean value)
public CmpVersion getCmpVersion()
public void setCmpVersion(CmpVersion value)
public String getAbstractSchemaName()
public void setAbstractSchemaName(String value)
public void addCmpField(String fieldName)
public String getPrimkeyField()
public void setPrimkeyField(String value)
public Collection<EnvEntry> getEnvEntry()
getEnvEntry in interface JndiConsumerpublic Map<String,EnvEntry> getEnvEntryMap()
getEnvEntryMap in interface JndiConsumerpublic Collection<EjbRef> getEjbRef()
getEjbRef in interface JndiConsumerpublic Map<String,EjbRef> getEjbRefMap()
getEjbRefMap in interface JndiConsumerpublic Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef in interface JndiConsumerpublic Map<String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap in interface JndiConsumerpublic Collection<ServiceRef> getServiceRef()
getServiceRef in interface JndiConsumerpublic Map<String,ServiceRef> getServiceRefMap()
getServiceRefMap in interface JndiConsumerpublic Collection<ResourceRef> getResourceRef()
getResourceRef in interface JndiConsumerpublic Map<String,ResourceRef> getResourceRefMap()
getResourceRefMap in interface JndiConsumerpublic Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef in interface JndiConsumerpublic Map<String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap in interface JndiConsumerpublic Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef in interface JndiConsumerpublic Map<String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap in interface JndiConsumerpublic Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef in interface JndiConsumerpublic Map<String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap in interface JndiConsumerpublic Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef in interface JndiConsumerpublic Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap in interface JndiConsumerpublic List<LifecycleCallback> getPostConstruct()
getPostConstruct in interface Lifecyclepublic void addPostConstruct(String method)
addPostConstruct in interface Lifecyclepublic List<LifecycleCallback> getPreDestroy()
getPreDestroy in interface Lifecyclepublic void addPreDestroy(String method)
addPreDestroy in interface Lifecyclepublic Collection<DataSource> getDataSource()
getDataSource in interface JndiConsumerpublic Map<String,DataSource> getDataSourceMap()
getDataSourceMap in interface JndiConsumerpublic List<SecurityRoleRef> getSecurityRoleRef()
getSecurityRoleRef in interface EnterpriseBeanpublic Collection<String> getBusinessLocal()
getBusinessLocal in interface RemoteBeanpublic Collection<String> getBusinessRemote()
getBusinessRemote in interface RemoteBeanpublic SecurityIdentity getSecurityIdentity()
getSecurityIdentity in interface EnterpriseBeanpublic void setSecurityIdentity(SecurityIdentity value)
setSecurityIdentity in interface EnterpriseBeanpublic String getId()
getId in interface EnterpriseBeanpublic void setId(String value)
setId in interface EnterpriseBeanpublic TransactionType getTransactionType()
getTransactionType in interface EnterpriseBeanpublic void setTransactionType(TransactionType type)
setTransactionType in interface EnterpriseBeanCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.