|
||||||||||
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.NodeProvider
public 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 EjbJar31Descriptor
EjbJar31Descriptor
public EjbJar31Descriptor removeModuleName()
module-name
element
removeModuleName
in interface EjbJar31Descriptor
EjbJar31Descriptor
public java.lang.String getModuleName()
module-name
element
getModuleName
in interface EjbJar31Descriptor
module-name
public EjbJar31Descriptor removeEnterpriseBeans()
enterprise-beans
element
removeEnterpriseBeans
in interface EjbJar31Descriptor
EjbJar31Descriptor
public EnterpriseBeansType<EjbJar31Descriptor> enterpriseBeans()
enterprise-beans
element will be created and returned.
Otherwise, the existing enterprise-beans
element will be returned.
enterpriseBeans
in interface EjbJar31Descriptor
enterprise-beans
public EjbJar31Descriptor removeInterceptors()
interceptors
element
removeInterceptors
in interface EjbJar31Descriptor
EjbJar31Descriptor
public InterceptorsType<EjbJar31Descriptor> interceptors()
interceptors
element will be created and returned.
Otherwise, the existing interceptors
element will be returned.
interceptors
in interface EjbJar31Descriptor
interceptors
public EjbJar31Descriptor removeRelationships()
relationships
element
removeRelationships
in interface EjbJar31Descriptor
EjbJar31Descriptor
public RelationshipsType<EjbJar31Descriptor> relationships()
relationships
element will be created and returned.
Otherwise, the existing relationships
element will be returned.
relationships
in interface EjbJar31Descriptor
relationships
public EjbJar31Descriptor removeAssemblyDescriptor()
assembly-descriptor
element
removeAssemblyDescriptor
in interface EjbJar31Descriptor
EjbJar31Descriptor
public AssemblyDescriptorType<EjbJar31Descriptor> assemblyDescriptor()
assembly-descriptor
element will be created and returned.
Otherwise, the existing assembly-descriptor
element will be returned.
assemblyDescriptor
in interface EjbJar31Descriptor
assembly-descriptor
public 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 EjbJar31Descriptor
EjbJar31Descriptor
public EjbJar31Descriptor removeEjbClientJar()
ejb-client-jar
element
removeEjbClientJar
in interface EjbJar31Descriptor
EjbJar31Descriptor
public java.lang.String getEjbClientJar()
ejb-client-jar
element
getEjbClientJar
in interface EjbJar31Descriptor
ejb-client-jar
public EjbJar31Descriptor setVersion(java.lang.String version)
version
attribute
setVersion
in interface EjbJar31Descriptor
version
- the value for the attribute version
EjbJar31Descriptor
public EjbJar31Descriptor removeVersion()
version
attribute
removeVersion
in interface EjbJar31Descriptor
EjbJar31Descriptor
public java.lang.String getVersion()
version
element
getVersion
in interface EjbJar31Descriptor
version
public EjbJar31Descriptor setMetadataComplete(java.lang.Boolean metadataComplete)
metadata-complete
attribute
setMetadataComplete
in interface EjbJar31Descriptor
metadataComplete
- the value for the attribute metadata-complete
EjbJar31Descriptor
public EjbJar31Descriptor removeMetadataComplete()
metadata-complete
attribute
removeMetadataComplete
in interface EjbJar31Descriptor
EjbJar31Descriptor
public java.lang.Boolean isMetadataComplete()
metadata-complete
element
isMetadataComplete
in interface EjbJar31Descriptor
metadata-complete
public EjbJar31Descriptor setDescription(java.lang.String description)
description
element
setDescription
in interface EjbJar31Descriptor
EjbJar31Descriptor
public EjbJar31Descriptor setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface EjbJar31Descriptor
list
- of description
objects
EjbJar31Descriptor
public EjbJar31Descriptor removeAllDescription()
description
element
removeAllDescription
in interface EjbJar31Descriptor
EjbJar31Descriptor
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface EjbJar31Descriptor
description
public EjbJar31Descriptor setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface EjbJar31Descriptor
EjbJar31Descriptor
public EjbJar31Descriptor setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
setDisplayNameList
in interface EjbJar31Descriptor
list
- of display-name
objects
EjbJar31Descriptor
public EjbJar31Descriptor removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface EjbJar31Descriptor
EjbJar31Descriptor
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface EjbJar31Descriptor
display-name
public EjbJar31Descriptor removeAllIcon()
icon
elements
removeAllIcon
in interface EjbJar31Descriptor
EjbJar31Descriptor
public IconType<EjbJar31Descriptor> icon()
icon
element
icon
in interface EjbJar31Descriptor
icon
public java.util.List<IconType<EjbJar31Descriptor>> getIconList()
icon
elements
getIconList
in interface EjbJar31Descriptor
icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |