public interface EntityBeanType<T> extends Child<T>
entity-beanType
xsd typeModifier and Type | Method and Description |
---|---|
EntityBeanType<T> |
abstractSchemaName(String abstractSchemaName)
Sets the
abstract-schema-name element |
EntityBeanType<T> |
cmpVersion(CmpVersionType cmpVersion)
Sets the
cmp-version element |
EntityBeanType<T> |
cmpVersion(String cmpVersion)
Sets the
cmp-version element |
CmpFieldType<EntityBeanType<T>> |
createCmpField()
Creates a new
cmp-field element |
EjbLocalRefType<EntityBeanType<T>> |
createEjbLocalRef()
Creates a new
ejb-local-ref element |
EjbRefType<EntityBeanType<T>> |
createEjbRef()
Creates a new
ejb-ref element |
EnvEntryType<EntityBeanType<T>> |
createEnvEntry()
Creates a new
env-entry element |
IconType<EntityBeanType<T>> |
createIcon()
Creates a new
icon element |
MessageDestinationRefType<EntityBeanType<T>> |
createMessageDestinationRef()
Creates a new
message-destination-ref element |
PersistenceContextRefType<EntityBeanType<T>> |
createPersistenceContextRef()
Creates a new
persistence-context-ref element |
PersistenceUnitRefType<EntityBeanType<T>> |
createPersistenceUnitRef()
Creates a new
persistence-unit-ref element |
LifecycleCallbackType<EntityBeanType<T>> |
createPostConstruct()
Creates a new
post-construct element |
LifecycleCallbackType<EntityBeanType<T>> |
createPreDestroy()
Creates a new
pre-destroy element |
QueryType<EntityBeanType<T>> |
createQuery()
Creates a new
query element |
ResourceEnvRefType<EntityBeanType<T>> |
createResourceEnvRef()
Creates a new
resource-env-ref element |
ResourceRefType<EntityBeanType<T>> |
createResourceRef()
Creates a new
resource-ref element |
SecurityRoleRefType<EntityBeanType<T>> |
createSecurityRoleRef()
Creates a new
security-role-ref element |
ServiceRefType<EntityBeanType<T>> |
createServiceRef()
Creates a new
service-ref element |
EntityBeanType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
EntityBeanType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
EntityBeanType<T> |
ejbClass(String ejbClass)
Sets the
ejb-class element |
EntityBeanType<T> |
ejbName(String ejbName)
Sets the
ejb-name element |
String |
getAbstractSchemaName()
Returns the
abstract-schema-name element |
List<CmpFieldType<EntityBeanType<T>>> |
getAllCmpField()
Returns all
cmp-field elements |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<EjbLocalRefType<EntityBeanType<T>>> |
getAllEjbLocalRef()
Returns all
ejb-local-ref elements |
List<EjbRefType<EntityBeanType<T>>> |
getAllEjbRef()
Returns all
ejb-ref elements |
List<EnvEntryType<EntityBeanType<T>>> |
getAllEnvEntry()
Returns all
env-entry elements |
List<IconType<EntityBeanType<T>>> |
getAllIcon()
Returns all
icon elements |
List<MessageDestinationRefType<EntityBeanType<T>>> |
getAllMessageDestinationRef()
Returns all
message-destination-ref elements |
List<PersistenceContextRefType<EntityBeanType<T>>> |
getAllPersistenceContextRef()
Returns all
persistence-context-ref elements |
List<PersistenceUnitRefType<EntityBeanType<T>>> |
getAllPersistenceUnitRef()
Returns all
persistence-unit-ref elements |
List<LifecycleCallbackType<EntityBeanType<T>>> |
getAllPostConstruct()
Returns all
post-construct elements |
List<LifecycleCallbackType<EntityBeanType<T>>> |
getAllPreDestroy()
Returns all
pre-destroy elements |
List<QueryType<EntityBeanType<T>>> |
getAllQuery()
Returns all
query elements |
List<ResourceEnvRefType<EntityBeanType<T>>> |
getAllResourceEnvRef()
Returns all
resource-env-ref elements |
List<ResourceRefType<EntityBeanType<T>>> |
getAllResourceRef()
Returns all
resource-ref elements |
List<SecurityRoleRefType<EntityBeanType<T>>> |
getAllSecurityRoleRef()
Returns all
security-role-ref elements |
List<ServiceRefType<EntityBeanType<T>>> |
getAllServiceRef()
Returns all
service-ref elements |
CmpVersionType |
getCmpVersion()
Returns the
cmp-version element |
String |
getCmpVersionAsString()
Returns the
cmp-version element |
String |
getEjbClass()
Returns the
ejb-class element |
String |
getEjbName()
Returns the
ejb-name element |
String |
getHome()
Returns the
home element |
String |
getLocal()
Returns the
local element |
String |
getLocalHome()
Returns the
local-home element |
String |
getMappedName()
Returns the
mapped-name element |
CmpFieldType<EntityBeanType<T>> |
getOrCreateCmpField()
If not already created, a new
cmp-field element will be created and returned. |
EjbLocalRefType<EntityBeanType<T>> |
getOrCreateEjbLocalRef()
If not already created, a new
ejb-local-ref element will be created and returned. |
EjbRefType<EntityBeanType<T>> |
getOrCreateEjbRef()
If not already created, a new
ejb-ref element will be created and returned. |
EnvEntryType<EntityBeanType<T>> |
getOrCreateEnvEntry()
If not already created, a new
env-entry element will be created and returned. |
IconType<EntityBeanType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
MessageDestinationRefType<EntityBeanType<T>> |
getOrCreateMessageDestinationRef()
If not already created, a new
message-destination-ref element will be created and returned. |
PersistenceContextRefType<EntityBeanType<T>> |
getOrCreatePersistenceContextRef()
If not already created, a new
persistence-context-ref element will be created and returned. |
PersistenceUnitRefType<EntityBeanType<T>> |
getOrCreatePersistenceUnitRef()
If not already created, a new
persistence-unit-ref element will be created and returned. |
LifecycleCallbackType<EntityBeanType<T>> |
getOrCreatePostConstruct()
If not already created, a new
post-construct element will be created and returned. |
LifecycleCallbackType<EntityBeanType<T>> |
getOrCreatePreDestroy()
If not already created, a new
pre-destroy element will be created and returned. |
QueryType<EntityBeanType<T>> |
getOrCreateQuery()
If not already created, a new
query element will be created and returned. |
ResourceEnvRefType<EntityBeanType<T>> |
getOrCreateResourceEnvRef()
If not already created, a new
resource-env-ref element will be created and returned. |
ResourceRefType<EntityBeanType<T>> |
getOrCreateResourceRef()
If not already created, a new
resource-ref element will be created and returned. |
SecurityIdentityType<EntityBeanType<T>> |
getOrCreateSecurityIdentity()
If not already created, a new
security-identity element with the given value will be created. |
SecurityRoleRefType<EntityBeanType<T>> |
getOrCreateSecurityRoleRef()
If not already created, a new
security-role-ref element will be created and returned. |
ServiceRefType<EntityBeanType<T>> |
getOrCreateServiceRef()
If not already created, a new
service-ref element will be created and returned. |
PersistenceTypeType |
getPersistenceType()
Returns the
persistence-type element |
String |
getPersistenceTypeAsString()
Returns the
persistence-type element |
String |
getPrimKeyClass()
Returns the
prim-key-class element |
String |
getPrimkeyField()
Returns the
primkey-field element |
String |
getRemote()
Returns the
remote element |
EntityBeanType<T> |
home(String home)
Sets the
home element |
Boolean |
isReentrant()
Returns the
reentrant element |
EntityBeanType<T> |
local(String local)
Sets the
local element |
EntityBeanType<T> |
localHome(String localHome)
Sets the
local-home element |
EntityBeanType<T> |
mappedName(String mappedName)
Sets the
mapped-name element |
EntityBeanType<T> |
persistenceType(PersistenceTypeType persistenceType)
Sets the
persistence-type element |
EntityBeanType<T> |
persistenceType(String persistenceType)
Sets the
persistence-type element |
EntityBeanType<T> |
primKeyClass(String primKeyClass)
Sets the
prim-key-class element |
EntityBeanType<T> |
primkeyField(String primkeyField)
Sets the
primkey-field element |
EntityBeanType<T> |
reentrant(Boolean reentrant)
Sets the
reentrant element |
EntityBeanType<T> |
remote(String remote)
Sets the
remote element |
EntityBeanType<T> |
removeAbstractSchemaName()
Removes the
abstract-schema-name element |
EntityBeanType<T> |
removeAllCmpField()
Removes all
cmp-field elements |
EntityBeanType<T> |
removeAllDescription()
Removes the
description element |
EntityBeanType<T> |
removeAllDisplayName()
Removes the
display-name element |
EntityBeanType<T> |
removeAllEjbLocalRef()
Removes all
ejb-local-ref elements |
EntityBeanType<T> |
removeAllEjbRef()
Removes all
ejb-ref elements |
EntityBeanType<T> |
removeAllEnvEntry()
Removes all
env-entry elements |
EntityBeanType<T> |
removeAllIcon()
Removes all
icon elements |
EntityBeanType<T> |
removeAllMessageDestinationRef()
Removes all
message-destination-ref elements |
EntityBeanType<T> |
removeAllPersistenceContextRef()
Removes all
persistence-context-ref elements |
EntityBeanType<T> |
removeAllPersistenceUnitRef()
Removes all
persistence-unit-ref elements |
EntityBeanType<T> |
removeAllPostConstruct()
Removes all
post-construct elements |
EntityBeanType<T> |
removeAllPreDestroy()
Removes all
pre-destroy elements |
EntityBeanType<T> |
removeAllQuery()
Removes all
query elements |
EntityBeanType<T> |
removeAllResourceEnvRef()
Removes all
resource-env-ref elements |
EntityBeanType<T> |
removeAllResourceRef()
Removes all
resource-ref elements |
EntityBeanType<T> |
removeAllSecurityRoleRef()
Removes all
security-role-ref elements |
EntityBeanType<T> |
removeAllServiceRef()
Removes all
service-ref elements |
EntityBeanType<T> |
removeCmpVersion()
Removes the
cmp-version attribute |
EntityBeanType<T> |
removeEjbClass()
Removes the
ejb-class element |
EntityBeanType<T> |
removeEjbName()
Removes the
ejb-name element |
EntityBeanType<T> |
removeHome()
Removes the
home element |
EntityBeanType<T> |
removeLocal()
Removes the
local element |
EntityBeanType<T> |
removeLocalHome()
Removes the
local-home element |
EntityBeanType<T> |
removeMappedName()
Removes the
mapped-name element |
EntityBeanType<T> |
removePersistenceType()
Removes the
persistence-type attribute |
EntityBeanType<T> |
removePrimKeyClass()
Removes the
prim-key-class element |
EntityBeanType<T> |
removePrimkeyField()
Removes the
primkey-field element |
EntityBeanType<T> |
removeReentrant()
Removes the
reentrant element |
EntityBeanType<T> |
removeRemote()
Removes the
remote element |
EntityBeanType<T> |
removeSecurityIdentity()
Removes the
security-identity element |
EntityBeanType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsEntityBeanType
List<String> getAllDescription()
description
elementsdescription
EntityBeanType<T> removeAllDescription()
description
elementEntityBeanType
EntityBeanType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsEntityBeanType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
EntityBeanType<T> removeAllDisplayName()
display-name
elementEntityBeanType
IconType<EntityBeanType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<EntityBeanType<T>> createIcon()
icon
elementIconType>
List<IconType<EntityBeanType<T>>> getAllIcon()
icon
elementsicon
EntityBeanType<T> removeAllIcon()
icon
elementsIconType>
EnvEntryType<EntityBeanType<T>> getOrCreateEnvEntry()
env-entry
element will be created and returned.
Otherwise, the first existing env-entry
element will be returned.env-entry
EnvEntryType<EntityBeanType<T>> createEnvEntry()
env-entry
elementEnvEntryType>
List<EnvEntryType<EntityBeanType<T>>> getAllEnvEntry()
env-entry
elementsenv-entry
EntityBeanType<T> removeAllEnvEntry()
env-entry
elementsEnvEntryType>
EjbRefType<EntityBeanType<T>> getOrCreateEjbRef()
ejb-ref
element will be created and returned.
Otherwise, the first existing ejb-ref
element will be returned.ejb-ref
EjbRefType<EntityBeanType<T>> createEjbRef()
ejb-ref
elementEjbRefType>
List<EjbRefType<EntityBeanType<T>>> getAllEjbRef()
ejb-ref
elementsejb-ref
EntityBeanType<T> removeAllEjbRef()
ejb-ref
elementsEjbRefType>
EjbLocalRefType<EntityBeanType<T>> getOrCreateEjbLocalRef()
ejb-local-ref
element will be created and returned.
Otherwise, the first existing ejb-local-ref
element will be returned.ejb-local-ref
EjbLocalRefType<EntityBeanType<T>> createEjbLocalRef()
ejb-local-ref
elementEjbLocalRefType>
List<EjbLocalRefType<EntityBeanType<T>>> getAllEjbLocalRef()
ejb-local-ref
elementsejb-local-ref
EntityBeanType<T> removeAllEjbLocalRef()
ejb-local-ref
elementsEjbLocalRefType>
ResourceRefType<EntityBeanType<T>> getOrCreateResourceRef()
resource-ref
element will be created and returned.
Otherwise, the first existing resource-ref
element will be returned.resource-ref
ResourceRefType<EntityBeanType<T>> createResourceRef()
resource-ref
elementResourceRefType>
List<ResourceRefType<EntityBeanType<T>>> getAllResourceRef()
resource-ref
elementsresource-ref
EntityBeanType<T> removeAllResourceRef()
resource-ref
elementsResourceRefType>
ResourceEnvRefType<EntityBeanType<T>> getOrCreateResourceEnvRef()
resource-env-ref
element will be created and returned.
Otherwise, the first existing resource-env-ref
element will be returned.resource-env-ref
ResourceEnvRefType<EntityBeanType<T>> createResourceEnvRef()
resource-env-ref
elementResourceEnvRefType>
List<ResourceEnvRefType<EntityBeanType<T>>> getAllResourceEnvRef()
resource-env-ref
elementsresource-env-ref
EntityBeanType<T> removeAllResourceEnvRef()
resource-env-ref
elementsResourceEnvRefType>
MessageDestinationRefType<EntityBeanType<T>> getOrCreateMessageDestinationRef()
message-destination-ref
element will be created and returned.
Otherwise, the first existing message-destination-ref
element will be returned.message-destination-ref
MessageDestinationRefType<EntityBeanType<T>> createMessageDestinationRef()
message-destination-ref
elementMessageDestinationRefType>
List<MessageDestinationRefType<EntityBeanType<T>>> getAllMessageDestinationRef()
message-destination-ref
elementsmessage-destination-ref
EntityBeanType<T> removeAllMessageDestinationRef()
message-destination-ref
elementsMessageDestinationRefType>
PersistenceContextRefType<EntityBeanType<T>> getOrCreatePersistenceContextRef()
persistence-context-ref
element will be created and returned.
Otherwise, the first existing persistence-context-ref
element will be returned.persistence-context-ref
PersistenceContextRefType<EntityBeanType<T>> createPersistenceContextRef()
persistence-context-ref
elementPersistenceContextRefType>
List<PersistenceContextRefType<EntityBeanType<T>>> getAllPersistenceContextRef()
persistence-context-ref
elementspersistence-context-ref
EntityBeanType<T> removeAllPersistenceContextRef()
persistence-context-ref
elementsPersistenceContextRefType>
PersistenceUnitRefType<EntityBeanType<T>> getOrCreatePersistenceUnitRef()
persistence-unit-ref
element will be created and returned.
Otherwise, the first existing persistence-unit-ref
element will be returned.persistence-unit-ref
PersistenceUnitRefType<EntityBeanType<T>> createPersistenceUnitRef()
persistence-unit-ref
elementPersistenceUnitRefType>
List<PersistenceUnitRefType<EntityBeanType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref
elementspersistence-unit-ref
EntityBeanType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elementsPersistenceUnitRefType>
LifecycleCallbackType<EntityBeanType<T>> getOrCreatePostConstruct()
post-construct
element will be created and returned.
Otherwise, the first existing post-construct
element will be returned.post-construct
LifecycleCallbackType<EntityBeanType<T>> createPostConstruct()
post-construct
elementLifecycleCallbackType>
List<LifecycleCallbackType<EntityBeanType<T>>> getAllPostConstruct()
post-construct
elementspost-construct
EntityBeanType<T> removeAllPostConstruct()
post-construct
elementsLifecycleCallbackType>
LifecycleCallbackType<EntityBeanType<T>> getOrCreatePreDestroy()
pre-destroy
element will be created and returned.
Otherwise, the first existing pre-destroy
element will be returned.pre-destroy
LifecycleCallbackType<EntityBeanType<T>> createPreDestroy()
pre-destroy
elementLifecycleCallbackType>
List<LifecycleCallbackType<EntityBeanType<T>>> getAllPreDestroy()
pre-destroy
elementspre-destroy
EntityBeanType<T> removeAllPreDestroy()
pre-destroy
elementsLifecycleCallbackType>
ServiceRefType<EntityBeanType<T>> getOrCreateServiceRef()
service-ref
element will be created and returned.
Otherwise, the first existing service-ref
element will be returned.service-ref
ServiceRefType<EntityBeanType<T>> createServiceRef()
service-ref
elementServiceRefType>
List<ServiceRefType<EntityBeanType<T>>> getAllServiceRef()
service-ref
elementsservice-ref
EntityBeanType<T> removeAllServiceRef()
service-ref
elementsServiceRefType>
EntityBeanType<T> ejbName(String ejbName)
ejb-name
elementejbName
- the value for the element ejb-name
EntityBeanType
String getEjbName()
ejb-name
elementejb-name
EntityBeanType<T> removeEjbName()
ejb-name
elementEntityBeanType
EntityBeanType<T> mappedName(String mappedName)
mapped-name
elementmappedName
- the value for the element mapped-name
EntityBeanType
String getMappedName()
mapped-name
elementmapped-name
EntityBeanType<T> removeMappedName()
mapped-name
elementEntityBeanType
EntityBeanType<T> home(String home)
home
elementhome
- the value for the element home
EntityBeanType
String getHome()
home
elementhome
EntityBeanType<T> removeHome()
home
elementEntityBeanType
EntityBeanType<T> remote(String remote)
remote
elementremote
- the value for the element remote
EntityBeanType
String getRemote()
remote
elementremote
EntityBeanType<T> removeRemote()
remote
elementEntityBeanType
EntityBeanType<T> localHome(String localHome)
local-home
elementlocalHome
- the value for the element local-home
EntityBeanType
String getLocalHome()
local-home
elementlocal-home
EntityBeanType<T> removeLocalHome()
local-home
elementEntityBeanType
EntityBeanType<T> local(String local)
local
elementlocal
- the value for the element local
EntityBeanType
String getLocal()
local
elementlocal
EntityBeanType<T> removeLocal()
local
elementEntityBeanType
EntityBeanType<T> ejbClass(String ejbClass)
ejb-class
elementejbClass
- the value for the element ejb-class
EntityBeanType
String getEjbClass()
ejb-class
elementejb-class
EntityBeanType<T> removeEjbClass()
ejb-class
elementEntityBeanType
EntityBeanType<T> persistenceType(PersistenceTypeType persistenceType)
persistence-type
elementpersistenceType
- the value for the element persistence-type
EntityBeanType
EntityBeanType<T> persistenceType(String persistenceType)
persistence-type
elementpersistenceType
- the value for the element persistence-type
EntityBeanType
PersistenceTypeType getPersistenceType()
persistence-type
elementpersistence-type
String getPersistenceTypeAsString()
persistence-type
elementpersistence-type
EntityBeanType<T> removePersistenceType()
persistence-type
attributeEntityBeanType
EntityBeanType<T> primKeyClass(String primKeyClass)
prim-key-class
elementprimKeyClass
- the value for the element prim-key-class
EntityBeanType
String getPrimKeyClass()
prim-key-class
elementprim-key-class
EntityBeanType<T> removePrimKeyClass()
prim-key-class
elementEntityBeanType
EntityBeanType<T> reentrant(Boolean reentrant)
reentrant
elementreentrant
- the value for the element reentrant
EntityBeanType
Boolean isReentrant()
reentrant
elementreentrant
EntityBeanType<T> removeReentrant()
reentrant
elementEntityBeanType
EntityBeanType<T> cmpVersion(CmpVersionType cmpVersion)
cmp-version
elementcmpVersion
- the value for the element cmp-version
EntityBeanType
EntityBeanType<T> cmpVersion(String cmpVersion)
cmp-version
elementcmpVersion
- the value for the element cmp-version
EntityBeanType
CmpVersionType getCmpVersion()
cmp-version
elementcmp-version
String getCmpVersionAsString()
cmp-version
elementcmp-version
EntityBeanType<T> removeCmpVersion()
cmp-version
attributeEntityBeanType
EntityBeanType<T> abstractSchemaName(String abstractSchemaName)
abstract-schema-name
elementabstractSchemaName
- the value for the element abstract-schema-name
EntityBeanType
String getAbstractSchemaName()
abstract-schema-name
elementabstract-schema-name
EntityBeanType<T> removeAbstractSchemaName()
abstract-schema-name
elementEntityBeanType
CmpFieldType<EntityBeanType<T>> getOrCreateCmpField()
cmp-field
element will be created and returned.
Otherwise, the first existing cmp-field
element will be returned.cmp-field
CmpFieldType<EntityBeanType<T>> createCmpField()
cmp-field
elementCmpFieldType>
List<CmpFieldType<EntityBeanType<T>>> getAllCmpField()
cmp-field
elementscmp-field
EntityBeanType<T> removeAllCmpField()
cmp-field
elementsCmpFieldType>
EntityBeanType<T> primkeyField(String primkeyField)
primkey-field
elementprimkeyField
- the value for the element primkey-field
EntityBeanType
String getPrimkeyField()
primkey-field
elementprimkey-field
EntityBeanType<T> removePrimkeyField()
primkey-field
elementEntityBeanType
SecurityRoleRefType<EntityBeanType<T>> getOrCreateSecurityRoleRef()
security-role-ref
element will be created and returned.
Otherwise, the first existing security-role-ref
element will be returned.security-role-ref
SecurityRoleRefType<EntityBeanType<T>> createSecurityRoleRef()
security-role-ref
elementSecurityRoleRefType>
List<SecurityRoleRefType<EntityBeanType<T>>> getAllSecurityRoleRef()
security-role-ref
elementssecurity-role-ref
EntityBeanType<T> removeAllSecurityRoleRef()
security-role-ref
elementsSecurityRoleRefType>
SecurityIdentityType<EntityBeanType<T>> getOrCreateSecurityIdentity()
security-identity
element with the given value will be created.
Otherwise, the existing security-identity
element will be returned.SecurityIdentityType>
EntityBeanType<T> removeSecurityIdentity()
security-identity
elementEntityBeanType
QueryType<EntityBeanType<T>> getOrCreateQuery()
query
element will be created and returned.
Otherwise, the first existing query
element will be returned.query
QueryType<EntityBeanType<T>> createQuery()
query
elementQueryType>
List<QueryType<EntityBeanType<T>>> getAllQuery()
query
elementsquery
EntityBeanType<T> removeAllQuery()
query
elementsQueryType>
Copyright © 2014 JBoss by Red Hat. All rights reserved.