|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase
org.jboss.shrinkwrap.descriptor.spi.NodeProviderImplBase
org.jboss.shrinkwrap.descriptor.impl.ejbjar31.EjbJar31DescriptorImpl
public class EjbJar31DescriptorImpl
This deployment descriptor provides the functionalities as described in the ejb-jar_3_1.xsd specification
Example:
EjbJar31Descriptor descriptor = Descriptors.create(EjbJar31Descriptor.class);
| Constructor Summary | |
|---|---|
EjbJar31DescriptorImpl(java.lang.String descriptorName)
|
|
EjbJar31DescriptorImpl(java.lang.String descriptorName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
| Method Summary | |
|---|---|
EjbJar31Descriptor |
addDefaultNamespaces()
|
EjbJar31Descriptor |
addNamespace(java.lang.String name,
java.lang.String value)
|
AssemblyDescriptorType<EjbJar31Descriptor> |
assemblyDescriptor()
If not already created, a new assembly-descriptor element will be created and returned. |
EnterpriseBeansType<EjbJar31Descriptor> |
enterpriseBeans()
If not already created, a new enterprise-beans element will be created and returned. |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getDisplayNameList()
Returns all display-name elements |
java.lang.String |
getEjbClientJar()
Returns the ejb-client-jar element |
java.util.List<IconType<EjbJar31Descriptor>> |
getIconList()
Returns all icon elements |
java.lang.String |
getModuleName()
Returns the module-name element |
java.util.List<java.lang.String> |
getNamespaces()
|
org.jboss.shrinkwrap.descriptor.spi.Node |
getRootNode()
|
java.lang.String |
getVersion()
Returns the version element |
IconType<EjbJar31Descriptor> |
icon()
Returns the icon element |
InterceptorsType<EjbJar31Descriptor> |
interceptors()
If not already created, a new interceptors element will be created and returned. |
java.lang.Boolean |
isMetadataComplete()
Returns the metadata-complete element |
RelationshipsType<EjbJar31Descriptor> |
relationships()
If not already created, a new relationships element will be created and returned. |
EjbJar31Descriptor |
removeAllDescription()
Removes the description element |
EjbJar31Descriptor |
removeAllDisplayName()
Removes the display-name element |
EjbJar31Descriptor |
removeAllIcon()
Removes all icon elements |
EjbJar31Descriptor |
removeAllNamespaces()
|
EjbJar31Descriptor |
removeAssemblyDescriptor()
Removes the assembly-descriptor element |
EjbJar31Descriptor |
removeEjbClientJar()
Removes the ejb-client-jar element |
EjbJar31Descriptor |
removeEnterpriseBeans()
Removes the enterprise-beans element |
EjbJar31Descriptor |
removeInterceptors()
Removes the interceptors element |
EjbJar31Descriptor |
removeMetadataComplete()
Removes the metadata-complete attribute |
EjbJar31Descriptor |
removeModuleName()
Removes the module-name element |
EjbJar31Descriptor |
removeRelationships()
Removes the relationships element |
EjbJar31Descriptor |
removeVersion()
Removes the version attribute |
EjbJar31Descriptor |
setDescription(java.lang.String description)
Creates a new description element |
EjbJar31Descriptor |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
EjbJar31Descriptor |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
EjbJar31Descriptor |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
EjbJar31Descriptor |
setEjbClientJar(java.lang.String ejbClientJar)
If not already created, a new ejb-client-jar element with the given value will be created. |
EjbJar31Descriptor |
setMetadataComplete(java.lang.Boolean metadataComplete)
Sets the metadata-complete attribute |
EjbJar31Descriptor |
setModuleName(java.lang.String moduleName)
If not already created, a new module-name element with the given value will be created. |
EjbJar31Descriptor |
setVersion(java.lang.String version)
Sets the version attribute |
| Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.NodeProviderImplBase |
|---|
exportAsString, exportTo |
| Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase |
|---|
getDescriptorName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
|---|
exportAsString, exportTo, getDescriptorName |
| Constructor Detail |
|---|
public EjbJar31DescriptorImpl(java.lang.String descriptorName)
public EjbJar31DescriptorImpl(java.lang.String descriptorName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
| Method Detail |
|---|
public org.jboss.shrinkwrap.descriptor.spi.Node getRootNode()
getRootNode in interface org.jboss.shrinkwrap.descriptor.spi.NodeProviderpublic EjbJar31Descriptor addDefaultNamespaces()
addDefaultNamespaces in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar31Descriptor>
public EjbJar31Descriptor addNamespace(java.lang.String name,
java.lang.String value)
addNamespace in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar31Descriptor>public java.util.List<java.lang.String> getNamespaces()
getNamespaces in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar31Descriptor>public EjbJar31Descriptor removeAllNamespaces()
removeAllNamespaces in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar31Descriptor>public EjbJar31Descriptor setModuleName(java.lang.String moduleName)
module-name element with the given value will be created.
Otherwise, the existing module-name element will be updated with the given value.
setModuleName in interface EjbJar31DescriptorEjbJar31Descriptorpublic EjbJar31Descriptor removeModuleName()
module-name element
removeModuleName in interface EjbJar31DescriptorEjbJar31Descriptorpublic java.lang.String getModuleName()
module-name element
getModuleName in interface EjbJar31Descriptormodule-namepublic EjbJar31Descriptor removeEnterpriseBeans()
enterprise-beans element
removeEnterpriseBeans in interface EjbJar31DescriptorEjbJar31Descriptorpublic EnterpriseBeansType<EjbJar31Descriptor> enterpriseBeans()
enterprise-beans element will be created and returned.
Otherwise, the existing enterprise-beans element will be returned.
enterpriseBeans in interface EjbJar31Descriptorenterprise-beanspublic EjbJar31Descriptor removeInterceptors()
interceptors element
removeInterceptors in interface EjbJar31DescriptorEjbJar31Descriptorpublic InterceptorsType<EjbJar31Descriptor> interceptors()
interceptors element will be created and returned.
Otherwise, the existing interceptors element will be returned.
interceptors in interface EjbJar31Descriptorinterceptorspublic EjbJar31Descriptor removeRelationships()
relationships element
removeRelationships in interface EjbJar31DescriptorEjbJar31Descriptorpublic RelationshipsType<EjbJar31Descriptor> relationships()
relationships element will be created and returned.
Otherwise, the existing relationships element will be returned.
relationships in interface EjbJar31Descriptorrelationshipspublic EjbJar31Descriptor removeAssemblyDescriptor()
assembly-descriptor element
removeAssemblyDescriptor in interface EjbJar31DescriptorEjbJar31Descriptorpublic AssemblyDescriptorType<EjbJar31Descriptor> assemblyDescriptor()
assembly-descriptor element will be created and returned.
Otherwise, the existing assembly-descriptor element will be returned.
assemblyDescriptor in interface EjbJar31Descriptorassembly-descriptorpublic EjbJar31Descriptor setEjbClientJar(java.lang.String ejbClientJar)
ejb-client-jar element with the given value will be created.
Otherwise, the existing ejb-client-jar element will be updated with the given value.
setEjbClientJar in interface EjbJar31DescriptorEjbJar31Descriptorpublic EjbJar31Descriptor removeEjbClientJar()
ejb-client-jar element
removeEjbClientJar in interface EjbJar31DescriptorEjbJar31Descriptorpublic java.lang.String getEjbClientJar()
ejb-client-jar element
getEjbClientJar in interface EjbJar31Descriptorejb-client-jarpublic EjbJar31Descriptor setVersion(java.lang.String version)
version attribute
setVersion in interface EjbJar31Descriptorversion - the value for the attribute version
EjbJar31Descriptorpublic EjbJar31Descriptor removeVersion()
version attribute
removeVersion in interface EjbJar31DescriptorEjbJar31Descriptorpublic java.lang.String getVersion()
version element
getVersion in interface EjbJar31Descriptorversionpublic EjbJar31Descriptor setMetadataComplete(java.lang.Boolean metadataComplete)
metadata-complete attribute
setMetadataComplete in interface EjbJar31DescriptormetadataComplete - the value for the attribute metadata-complete
EjbJar31Descriptorpublic EjbJar31Descriptor removeMetadataComplete()
metadata-complete attribute
removeMetadataComplete in interface EjbJar31DescriptorEjbJar31Descriptorpublic java.lang.Boolean isMetadataComplete()
metadata-complete element
isMetadataComplete in interface EjbJar31Descriptormetadata-completepublic EjbJar31Descriptor setDescription(java.lang.String description)
description element
setDescription in interface EjbJar31DescriptorEjbJar31Descriptorpublic EjbJar31Descriptor setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface EjbJar31Descriptorlist - of description objects
EjbJar31Descriptorpublic EjbJar31Descriptor removeAllDescription()
description element
removeAllDescription in interface EjbJar31DescriptorEjbJar31Descriptorpublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface EjbJar31Descriptordescriptionpublic EjbJar31Descriptor setDisplayName(java.lang.String displayName)
display-name element
setDisplayName in interface EjbJar31DescriptorEjbJar31Descriptorpublic EjbJar31Descriptor setDisplayNameList(java.lang.String... values)
display-name elements,
a new display-name element
setDisplayNameList in interface EjbJar31Descriptorlist - of display-name objects
EjbJar31Descriptorpublic EjbJar31Descriptor removeAllDisplayName()
display-name element
removeAllDisplayName in interface EjbJar31DescriptorEjbJar31Descriptorpublic java.util.List<java.lang.String> getDisplayNameList()
display-name elements
getDisplayNameList in interface EjbJar31Descriptordisplay-namepublic EjbJar31Descriptor removeAllIcon()
icon elements
removeAllIcon in interface EjbJar31DescriptorEjbJar31Descriptorpublic IconType<EjbJar31Descriptor> icon()
icon element
icon in interface EjbJar31Descriptoriconpublic java.util.List<IconType<EjbJar31Descriptor>> getIconList()
icon elements
getIconList in interface EjbJar31Descriptoricon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||