|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar30.EjbJarTypeImpl<T>
public class EjbJarTypeImpl<T>
This class implements the ejb-jarType xsd type
Original Documentation:
The ejb-jarType defines the root element of the EJB
deployment descriptor. It contains
- an optional description of the ejb-jar file
- an optional display name
- an optional icon that contains a small and a large
icon file name
- structural information about all included
enterprise beans that is not specified through
annotations
- structural information about interceptor classes
- a descriptor for container managed relationships,
if any.
- an optional application-assembly descriptor
- an optional name of an ejb-client-jar file for the
ejb-jar.
| Constructor Summary | |
|---|---|
EjbJarTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
EjbJarTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
AssemblyDescriptorType<EjbJarType<T>> |
assemblyDescriptor()
If not already created, a new assembly-descriptor element will be created and returned. |
EnterpriseBeansType<EjbJarType<T>> |
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<EjbJarType<T>>> |
getIconList()
Returns all icon elements |
java.lang.String |
getVersion()
Returns the version element |
IconType<EjbJarType<T>> |
icon()
Returns the icon element |
InterceptorsType<EjbJarType<T>> |
interceptors()
If not already created, a new interceptors element will be created and returned. |
java.lang.Boolean |
isMetadataComplete()
Returns the metadata-complete element |
RelationshipsType<EjbJarType<T>> |
relationships()
If not already created, a new relationships element will be created and returned. |
EjbJarType<T> |
removeAllDescription()
Removes the description element |
EjbJarType<T> |
removeAllDisplayName()
Removes the display-name element |
EjbJarType<T> |
removeAllIcon()
Removes all icon elements |
EjbJarType<T> |
removeAssemblyDescriptor()
Removes the assembly-descriptor element |
EjbJarType<T> |
removeEjbClientJar()
Removes the ejb-client-jar element |
EjbJarType<T> |
removeEnterpriseBeans()
Removes the enterprise-beans element |
EjbJarType<T> |
removeInterceptors()
Removes the interceptors element |
EjbJarType<T> |
removeMetadataComplete()
Removes the metadata-complete attribute |
EjbJarType<T> |
removeRelationships()
Removes the relationships element |
EjbJarType<T> |
removeVersion()
Removes the version attribute |
EjbJarType<T> |
setDescription(java.lang.String description)
Creates a new description element |
EjbJarType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
EjbJarType<T> |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
EjbJarType<T> |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
EjbJarType<T> |
setEjbClientJar(java.lang.String ejbClientJar)
If not already created, a new ejb-client-jar element with the given value will be created. |
EjbJarType<T> |
setMetadataComplete(java.lang.Boolean metadataComplete)
Sets the metadata-complete attribute |
EjbJarType<T> |
setVersion(java.lang.String version)
Sets the version attribute |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EjbJarTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public EjbJarTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public EjbJarType<T> setDescription(java.lang.String description)
description element
setDescription in interface EjbJarType<T>EjbJarTypepublic EjbJarType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface EjbJarType<T>list - of description objects
EjbJarTypepublic EjbJarType<T> removeAllDescription()
description element
removeAllDescription in interface EjbJarType<T>EjbJarTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface EjbJarType<T>descriptionpublic EjbJarType<T> setDisplayName(java.lang.String displayName)
display-name element
setDisplayName in interface EjbJarType<T>EjbJarTypepublic EjbJarType<T> setDisplayNameList(java.lang.String... values)
display-name elements,
a new display-name element
setDisplayNameList in interface EjbJarType<T>list - of display-name objects
EjbJarTypepublic EjbJarType<T> removeAllDisplayName()
display-name element
removeAllDisplayName in interface EjbJarType<T>EjbJarTypepublic java.util.List<java.lang.String> getDisplayNameList()
display-name elements
getDisplayNameList in interface EjbJarType<T>display-namepublic EjbJarType<T> removeAllIcon()
icon elements
removeAllIcon in interface EjbJarType<T>EjbJarTypepublic IconType<EjbJarType<T>> icon()
icon element
icon in interface EjbJarType<T>iconpublic java.util.List<IconType<EjbJarType<T>>> getIconList()
icon elements
getIconList in interface EjbJarType<T>iconpublic EjbJarType<T> removeEnterpriseBeans()
enterprise-beans element
removeEnterpriseBeans in interface EjbJarType<T>EjbJarTypepublic EnterpriseBeansType<EjbJarType<T>> enterpriseBeans()
enterprise-beans element will be created and returned.
Otherwise, the existing enterprise-beans element will be returned.
enterpriseBeans in interface EjbJarType<T>enterprise-beanspublic EjbJarType<T> removeInterceptors()
interceptors element
removeInterceptors in interface EjbJarType<T>EjbJarTypepublic InterceptorsType<EjbJarType<T>> interceptors()
interceptors element will be created and returned.
Otherwise, the existing interceptors element will be returned.
interceptors in interface EjbJarType<T>interceptorspublic EjbJarType<T> removeRelationships()
relationships element
removeRelationships in interface EjbJarType<T>EjbJarTypepublic RelationshipsType<EjbJarType<T>> relationships()
relationships element will be created and returned.
Otherwise, the existing relationships element will be returned.
relationships in interface EjbJarType<T>relationshipspublic EjbJarType<T> removeAssemblyDescriptor()
assembly-descriptor element
removeAssemblyDescriptor in interface EjbJarType<T>EjbJarTypepublic AssemblyDescriptorType<EjbJarType<T>> assemblyDescriptor()
assembly-descriptor element will be created and returned.
Otherwise, the existing assembly-descriptor element will be returned.
assemblyDescriptor in interface EjbJarType<T>assembly-descriptorpublic EjbJarType<T> 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 EjbJarType<T>EjbJarTypepublic EjbJarType<T> removeEjbClientJar()
ejb-client-jar element
removeEjbClientJar in interface EjbJarType<T>EjbJarTypepublic java.lang.String getEjbClientJar()
ejb-client-jar element
getEjbClientJar in interface EjbJarType<T>ejb-client-jarpublic EjbJarType<T> setVersion(java.lang.String version)
version attribute
setVersion in interface EjbJarType<T>version - the value for the attribute version
EjbJarTypepublic EjbJarType<T> removeVersion()
version attribute
removeVersion in interface EjbJarType<T>EjbJarTypepublic java.lang.String getVersion()
version element
getVersion in interface EjbJarType<T>versionpublic EjbJarType<T> setMetadataComplete(java.lang.Boolean metadataComplete)
metadata-complete attribute
setMetadataComplete in interface EjbJarType<T>metadataComplete - the value for the attribute metadata-complete
EjbJarTypepublic EjbJarType<T> removeMetadataComplete()
metadata-complete attribute
removeMetadataComplete in interface EjbJarType<T>EjbJarTypepublic java.lang.Boolean isMetadataComplete()
metadata-complete element
isMetadataComplete in interface EjbJarType<T>metadata-complete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||