|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.EntityBeanType
public class EntityBeanType
The entity-beanType declares an entity bean. The declaration consists of: - an optional description - an optional display name - an optional icon element that contains a small and a large icon file name - a unique name assigned to the enterprise bean in the deployment descriptor - an optional mapped-name element that can be used to provide vendor-specific deployment information such as the physical jndi-name of the entity bean's remote home interface. This element is not required to be supported by all implementations. Any use of this element is non-portable. - the names of the entity bean's remote home and remote interfaces, if any - the names of the entity bean's local home and local interfaces, if any - the entity bean's implementation class - the optional entity bean's persistence management type. If this element is not specified it is defaulted to Container. - the entity bean's primary key class name - an indication of the entity bean's reentrancy - an optional specification of the entity bean's cmp-version - an optional specification of the entity bean's abstract schema name - an optional list of container-managed fields - an optional specification of the primary key field - an optional declaration of the bean's environment entries - an optional declaration of the bean's EJB references - an optional declaration of the bean's local EJB references - an optional declaration of the bean's web service references - an optional declaration of the security role references - an optional declaration of the security identity to be used for the execution of the bean's methods - an optional declaration of the bean's resource manager connection factory references - an optional declaration of the bean's resource environment references - an optional declaration of the bean's message destination references - an optional set of query declarations for finder and select methods for an entity bean with cmp-version 2.x. The optional abstract-schema-name element must be specified for an entity bean with container-managed persistence and cmp-version 2.x. The optional primkey-field may be present in the descriptor if the entity's persistence-type is Container. The optional cmp-version element may be present in the descriptor if the entity's persistence-type is Container. If the persistence-type is Container and the cmp-version element is not specified, its value defaults to 2.x. The optional home and remote elements must be specified if the entity bean cmp-version is 1.x. The optional home and remote elements must be specified if the entity bean has a remote home and remote interface. The optional local-home and local elements must be specified if the entity bean has a local home and local interface. Either both the local-home and the local elements or both the home and the remote elements must be specified. The optional query elements must be present if the persistence-type is Container and the cmp-version is 2.x and query methods other than findByPrimaryKey have been defined for the entity bean. The other elements that are optional are "optional" in the sense that they are omitted if the lists represented by them are empty. At least one cmp-field element must be present in the descriptor if the entity's persistence-type is Container and the cmp-version is 1.x, and none must not be present if the entity's persistence-type is Bean.
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 Summary | |
|---|---|
EntityBeanType()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.EntityBeanType instance. |
|
EntityBeanType(EntityBeanType o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.EntityBeanType instance by copying a given instance. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DescriptionType[] description
protected DisplayNameType[] displayName
protected IconType[] icon
protected EjbNameType ejbName
protected XsdStringType mappedName
protected HomeType home
protected RemoteType remote
protected LocalHomeType localHome
protected LocalType local
protected EjbClassType ejbClass
protected PersistenceTypeType persistenceType
protected FullyQualifiedClassType primKeyClass
protected TrueFalseType reentrant
protected CmpVersionType cmpVersion
protected JavaIdentifierType abstractSchemaName
protected CmpFieldType[] cmpField
protected String primkeyField
protected EnvEntryType[] envEntry
protected EjbRefType[] ejbRef
protected EjbLocalRefType[] ejbLocalRef
protected ServiceRefType[] serviceRef
protected ResourceRefType[] resourceRef
protected ResourceEnvRefType[] resourceEnvRef
protected MessageDestinationRefType[] messageDestinationRef
protected PersistenceContextRefType[] persistenceContextRef
protected PersistenceUnitRefType[] persistenceUnitRef
protected LifecycleCallbackType[] postConstruct
protected LifecycleCallbackType[] preDestroy
protected SecurityRoleRefType[] securityRoleRef
protected SecurityIdentityType securityIdentity
protected QueryType[] query
protected String id
| Constructor Detail |
|---|
public EntityBeanType()
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.EntityBeanType instance.
public EntityBeanType(EntityBeanType o)
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.EntityBeanType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public DescriptionType[] getDescription()
DescriptionTypepublic DescriptionType getDescription(int idx)
DescriptionTypepublic int getDescriptionLength()
public void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
public DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypepublic DisplayNameType[] getDisplayName()
DisplayNameTypepublic DisplayNameType getDisplayName(int idx)
DisplayNameTypepublic int getDisplayNameLength()
public void setDisplayName(DisplayNameType[] values)
values - allowed objects are
DisplayNameType
public DisplayNameType setDisplayName(int idx,
DisplayNameType value)
value - allowed object is
DisplayNameTypepublic IconType[] getIcon()
IconTypepublic IconType getIcon(int idx)
IconTypepublic int getIconLength()
public void setIcon(IconType[] values)
values - allowed objects are
IconType
public IconType setIcon(int idx,
IconType value)
value - allowed object is
IconTypepublic EjbNameType getEjbName()
EjbNameTypepublic void setEjbName(EjbNameType value)
value - allowed object is
EjbNameTypepublic XsdStringType getMappedName()
XsdStringTypepublic void setMappedName(XsdStringType value)
value - allowed object is
XsdStringTypepublic HomeType getHome()
HomeTypepublic void setHome(HomeType value)
value - allowed object is
HomeTypepublic RemoteType getRemote()
RemoteTypepublic void setRemote(RemoteType value)
value - allowed object is
RemoteTypepublic LocalHomeType getLocalHome()
LocalHomeTypepublic void setLocalHome(LocalHomeType value)
value - allowed object is
LocalHomeTypepublic LocalType getLocal()
LocalTypepublic void setLocal(LocalType value)
value - allowed object is
LocalTypepublic EjbClassType getEjbClass()
EjbClassTypepublic void setEjbClass(EjbClassType value)
value - allowed object is
EjbClassTypepublic PersistenceTypeType getPersistenceType()
PersistenceTypeTypepublic void setPersistenceType(PersistenceTypeType value)
value - allowed object is
PersistenceTypeTypepublic FullyQualifiedClassType getPrimKeyClass()
FullyQualifiedClassTypepublic void setPrimKeyClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic TrueFalseType getReentrant()
TrueFalseTypepublic void setReentrant(TrueFalseType value)
value - allowed object is
TrueFalseTypepublic CmpVersionType getCmpVersion()
CmpVersionTypepublic void setCmpVersion(CmpVersionType value)
value - allowed object is
CmpVersionTypepublic JavaIdentifierType getAbstractSchemaName()
JavaIdentifierTypepublic void setAbstractSchemaName(JavaIdentifierType value)
value - allowed object is
JavaIdentifierTypepublic CmpFieldType[] getCmpField()
CmpFieldTypepublic CmpFieldType getCmpField(int idx)
CmpFieldTypepublic int getCmpFieldLength()
public void setCmpField(CmpFieldType[] values)
values - allowed objects are
CmpFieldType
public CmpFieldType setCmpField(int idx,
CmpFieldType value)
value - allowed object is
CmpFieldTypepublic String getPrimkeyField()
Stringpublic void setPrimkeyField(String value)
value - allowed object is
Stringpublic EnvEntryType[] getEnvEntry()
EnvEntryTypepublic EnvEntryType getEnvEntry(int idx)
EnvEntryTypepublic int getEnvEntryLength()
public void setEnvEntry(EnvEntryType[] values)
values - allowed objects are
EnvEntryType
public EnvEntryType setEnvEntry(int idx,
EnvEntryType value)
value - allowed object is
EnvEntryTypepublic EjbRefType[] getEjbRef()
EjbRefTypepublic EjbRefType getEjbRef(int idx)
EjbRefTypepublic int getEjbRefLength()
public void setEjbRef(EjbRefType[] values)
values - allowed objects are
EjbRefType
public EjbRefType setEjbRef(int idx,
EjbRefType value)
value - allowed object is
EjbRefTypepublic EjbLocalRefType[] getEjbLocalRef()
EjbLocalRefTypepublic EjbLocalRefType getEjbLocalRef(int idx)
EjbLocalRefTypepublic int getEjbLocalRefLength()
public void setEjbLocalRef(EjbLocalRefType[] values)
values - allowed objects are
EjbLocalRefType
public EjbLocalRefType setEjbLocalRef(int idx,
EjbLocalRefType value)
value - allowed object is
EjbLocalRefTypepublic ServiceRefType[] getServiceRef()
ServiceRefTypepublic ServiceRefType getServiceRef(int idx)
ServiceRefTypepublic int getServiceRefLength()
public void setServiceRef(ServiceRefType[] values)
values - allowed objects are
ServiceRefType
public ServiceRefType setServiceRef(int idx,
ServiceRefType value)
value - allowed object is
ServiceRefTypepublic ResourceRefType[] getResourceRef()
ResourceRefTypepublic ResourceRefType getResourceRef(int idx)
ResourceRefTypepublic int getResourceRefLength()
public void setResourceRef(ResourceRefType[] values)
values - allowed objects are
ResourceRefType
public ResourceRefType setResourceRef(int idx,
ResourceRefType value)
value - allowed object is
ResourceRefTypepublic ResourceEnvRefType[] getResourceEnvRef()
ResourceEnvRefTypepublic ResourceEnvRefType getResourceEnvRef(int idx)
ResourceEnvRefTypepublic int getResourceEnvRefLength()
public void setResourceEnvRef(ResourceEnvRefType[] values)
values - allowed objects are
ResourceEnvRefType
public ResourceEnvRefType setResourceEnvRef(int idx,
ResourceEnvRefType value)
value - allowed object is
ResourceEnvRefTypepublic MessageDestinationRefType[] getMessageDestinationRef()
MessageDestinationRefTypepublic MessageDestinationRefType getMessageDestinationRef(int idx)
MessageDestinationRefTypepublic int getMessageDestinationRefLength()
public void setMessageDestinationRef(MessageDestinationRefType[] values)
values - allowed objects are
MessageDestinationRefType
public MessageDestinationRefType setMessageDestinationRef(int idx,
MessageDestinationRefType value)
value - allowed object is
MessageDestinationRefTypepublic PersistenceContextRefType[] getPersistenceContextRef()
PersistenceContextRefTypepublic PersistenceContextRefType getPersistenceContextRef(int idx)
PersistenceContextRefTypepublic int getPersistenceContextRefLength()
public void setPersistenceContextRef(PersistenceContextRefType[] values)
values - allowed objects are
PersistenceContextRefType
public PersistenceContextRefType setPersistenceContextRef(int idx,
PersistenceContextRefType value)
value - allowed object is
PersistenceContextRefTypepublic PersistenceUnitRefType[] getPersistenceUnitRef()
PersistenceUnitRefTypepublic PersistenceUnitRefType getPersistenceUnitRef(int idx)
PersistenceUnitRefTypepublic int getPersistenceUnitRefLength()
public void setPersistenceUnitRef(PersistenceUnitRefType[] values)
values - allowed objects are
PersistenceUnitRefType
public PersistenceUnitRefType setPersistenceUnitRef(int idx,
PersistenceUnitRefType value)
value - allowed object is
PersistenceUnitRefTypepublic LifecycleCallbackType[] getPostConstruct()
LifecycleCallbackTypepublic LifecycleCallbackType getPostConstruct(int idx)
LifecycleCallbackTypepublic int getPostConstructLength()
public void setPostConstruct(LifecycleCallbackType[] values)
values - allowed objects are
LifecycleCallbackType
public LifecycleCallbackType setPostConstruct(int idx,
LifecycleCallbackType value)
value - allowed object is
LifecycleCallbackTypepublic LifecycleCallbackType[] getPreDestroy()
LifecycleCallbackTypepublic LifecycleCallbackType getPreDestroy(int idx)
LifecycleCallbackTypepublic int getPreDestroyLength()
public void setPreDestroy(LifecycleCallbackType[] values)
values - allowed objects are
LifecycleCallbackType
public LifecycleCallbackType setPreDestroy(int idx,
LifecycleCallbackType value)
value - allowed object is
LifecycleCallbackTypepublic SecurityRoleRefType[] getSecurityRoleRef()
SecurityRoleRefTypepublic SecurityRoleRefType getSecurityRoleRef(int idx)
SecurityRoleRefTypepublic int getSecurityRoleRefLength()
public void setSecurityRoleRef(SecurityRoleRefType[] values)
values - allowed objects are
SecurityRoleRefType
public SecurityRoleRefType setSecurityRoleRef(int idx,
SecurityRoleRefType value)
value - allowed object is
SecurityRoleRefTypepublic SecurityIdentityType getSecurityIdentity()
SecurityIdentityTypepublic void setSecurityIdentity(SecurityIdentityType value)
value - allowed object is
SecurityIdentityTypepublic QueryType[] getQuery()
QueryTypepublic QueryType getQuery(int idx)
QueryTypepublic int getQueryLength()
public void setQuery(QueryType[] values)
values - allowed objects are
QueryType
public QueryType setQuery(int idx,
QueryType value)
value - allowed object is
QueryTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic EntityBeanType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||