public class Entity extends EnterpriseBean
<complexType name="Entity">
<complexContent>
<extension base="{ejb.xmi}EnterpriseBean">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="primaryKey" type="{java.xmi}JavaClass"/>
</choice>
<attribute name="primaryKey" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="reentrant" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
primaryKey |
protected List<JavaClass> |
primaryKeys |
protected Boolean |
reentrant |
ejbClass, ejbClasses, homeInterface, homeInterfaces, localHomeInterface, localHomeInterfaces, localInterface, localInterfaces, name, remoteInterface, remoteInterfaces, securityIdentities, securityRoleRefsejbLocalRefs, ejbRefs, environmentProperties, messageDestinationRefs, resourceEnvRefs, resourceRefs, serviceRefsdescription, displayName, largeIcon, smallIcondescriptions, displayNames, extensions, href, icons, id, idref, label, type, uuid, version| Constructor and Description |
|---|
Entity() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrimaryKey()
Gets the value of the primaryKey property.
|
List<JavaClass> |
getPrimaryKeys()
Gets the value of the primaryKeys property.
|
Boolean |
isReentrant()
Gets the value of the reentrant property.
|
void |
setPrimaryKey(String value)
Sets the value of the primaryKey property.
|
void |
setReentrant(Boolean value)
Sets the value of the reentrant property.
|
getEjbClass, getEjbClasses, getHomeInterface, getHomeInterfaces, getLocalHomeInterface, getLocalHomeInterfaces, getLocalInterface, getLocalInterfaces, getName, getRemoteInterface, getRemoteInterfaces, getSecurityIdentities, getSecurityRoleRefs, setEjbClass, setHomeInterface, setLocalHomeInterface, setLocalInterface, setName, setRemoteInterfacegetEjbLocalRefs, getEjbRefs, getEnvironmentProperties, getMessageDestinationRefs, getResourceEnvRefs, getResourceRefs, getServiceRefsgetDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDisplayName, setLargeIcon, setSmallIcongetDescriptions, getDisplayNames, getExtensions, getHref, getIcons, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersionpublic List<JavaClass> getPrimaryKeys()
set method for the primaryKeys property.
For example, to add a new item, do as follows:
getPrimaryKeys().add(newItem);Objects of the following type(s) are allowed in the list
JavaClasspublic String getPrimaryKey()
Stringpublic void setPrimaryKey(String value)
value - allowed object is Stringpublic Boolean isReentrant()
BooleanCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.