|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar31.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
- an optional module name. Only applicable to
stand-alone ejb-jars or ejb-jars packaged in an ear.
Ignored if specified for an ejb-jar.xml within a .war.
In that case, standard .war module-name rules apply.
- 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 |
getModuleName()
Returns the module-name element |
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> |
removeModuleName()
Removes the module-name element |
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> |
setModuleName(java.lang.String moduleName)
If not already created, a new module-name element with the given value will be created. |
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>
EjbJarType
public EjbJarType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface EjbJarType<T>
list
- of description
objects
EjbJarType
public EjbJarType<T> removeAllDescription()
description
element
removeAllDescription
in interface EjbJarType<T>
EjbJarType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface EjbJarType<T>
description
public EjbJarType<T> setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface EjbJarType<T>
EjbJarType
public 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
EjbJarType
public EjbJarType<T> removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface EjbJarType<T>
EjbJarType
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface EjbJarType<T>
display-name
public EjbJarType<T> removeAllIcon()
icon
elements
removeAllIcon
in interface EjbJarType<T>
EjbJarType
public IconType<EjbJarType<T>> icon()
icon
element
icon
in interface EjbJarType<T>
icon
public java.util.List<IconType<EjbJarType<T>>> getIconList()
icon
elements
getIconList
in interface EjbJarType<T>
icon
public EjbJarType<T> 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 EjbJarType<T>
EjbJarType
public EjbJarType<T> removeModuleName()
module-name
element
removeModuleName
in interface EjbJarType<T>
EjbJarType
public java.lang.String getModuleName()
module-name
element
getModuleName
in interface EjbJarType<T>
module-name
public EjbJarType<T> removeEnterpriseBeans()
enterprise-beans
element
removeEnterpriseBeans
in interface EjbJarType<T>
EjbJarType
public 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-beans
public EjbJarType<T> removeInterceptors()
interceptors
element
removeInterceptors
in interface EjbJarType<T>
EjbJarType
public InterceptorsType<EjbJarType<T>> interceptors()
interceptors
element will be created and returned.
Otherwise, the existing interceptors
element will be returned.
interceptors
in interface EjbJarType<T>
interceptors
public EjbJarType<T> removeRelationships()
relationships
element
removeRelationships
in interface EjbJarType<T>
EjbJarType
public RelationshipsType<EjbJarType<T>> relationships()
relationships
element will be created and returned.
Otherwise, the existing relationships
element will be returned.
relationships
in interface EjbJarType<T>
relationships
public EjbJarType<T> removeAssemblyDescriptor()
assembly-descriptor
element
removeAssemblyDescriptor
in interface EjbJarType<T>
EjbJarType
public 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-descriptor
public 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>
EjbJarType
public EjbJarType<T> removeEjbClientJar()
ejb-client-jar
element
removeEjbClientJar
in interface EjbJarType<T>
EjbJarType
public java.lang.String getEjbClientJar()
ejb-client-jar
element
getEjbClientJar
in interface EjbJarType<T>
ejb-client-jar
public EjbJarType<T> setVersion(java.lang.String version)
version
attribute
setVersion
in interface EjbJarType<T>
version
- the value for the attribute version
EjbJarType
public EjbJarType<T> removeVersion()
version
attribute
removeVersion
in interface EjbJarType<T>
EjbJarType
public java.lang.String getVersion()
version
element
getVersion
in interface EjbJarType<T>
version
public EjbJarType<T> setMetadataComplete(java.lang.Boolean metadataComplete)
metadata-complete
attribute
setMetadataComplete
in interface EjbJarType<T>
metadataComplete
- the value for the attribute metadata-complete
EjbJarType
public EjbJarType<T> removeMetadataComplete()
metadata-complete
attribute
removeMetadataComplete
in interface EjbJarType<T>
EjbJarType
public 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 |