ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface EjbJarType<T>

All Superinterfaces:
Child<T>

public interface EjbJarType<T>
extends Child<T>

This interface defines the contract for the ejb-jarType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 IconType<EjbJarType<T>> createIcon()
          Creates a new icon element
 EjbJarType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 EjbJarType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 EjbJarType<T> ejbClientJar(String ejbClientJar)
          Sets the ejb-client-jar element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<EjbJarType<T>>> getAllIcon()
          Returns all icon elements
 String getEjbClientJar()
          Returns the ejb-client-jar element
 String getModuleName()
          Returns the module-name element
 AssemblyDescriptorType<EjbJarType<T>> getOrCreateAssemblyDescriptor()
          If not already created, a new assembly-descriptor element with the given value will be created.
 EnterpriseBeansType<EjbJarType<T>> getOrCreateEnterpriseBeans()
          If not already created, a new enterprise-beans element with the given value will be created.
 IconType<EjbJarType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 InterceptorsType<EjbJarType<T>> getOrCreateInterceptors()
          If not already created, a new interceptors element with the given value will be created.
 RelationshipsType<EjbJarType<T>> getOrCreateRelationships()
          If not already created, a new relationships element with the given value will be created.
 String getVersion()
          Returns the version attribute
 Boolean isMetadataComplete()
          Returns the metadata-complete attribute
 EjbJarType<T> metadataComplete(Boolean metadataComplete)
          Sets the metadata-complete attribute
 EjbJarType<T> moduleName(String moduleName)
          Sets the module-name element
 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> version(String version)
          Sets the version attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

EjbJarType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of EjbJarType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

EjbJarType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of EjbJarType

displayName

EjbJarType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
values - list of display-name objects
Returns:
the current instance of EjbJarType

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

EjbJarType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of EjbJarType

getOrCreateIcon

IconType<EjbJarType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<EjbJarType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<EjbJarType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

EjbJarType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

moduleName

EjbJarType<T> moduleName(String moduleName)
Sets the module-name element

Parameters:
moduleName - the value for the element module-name
Returns:
the current instance of EjbJarType

getModuleName

String getModuleName()
Returns the module-name element

Returns:
the node defined for the element module-name

removeModuleName

EjbJarType<T> removeModuleName()
Removes the module-name element

Returns:
the current instance of EjbJarType

getOrCreateEnterpriseBeans

EnterpriseBeansType<EjbJarType<T>> getOrCreateEnterpriseBeans()
If not already created, a new enterprise-beans element with the given value will be created. Otherwise, the existing enterprise-beans element will be returned.

Returns:
a new or existing instance of EnterpriseBeansType>

removeEnterpriseBeans

EjbJarType<T> removeEnterpriseBeans()
Removes the enterprise-beans element

Returns:
the current instance of EjbJarType

getOrCreateInterceptors

InterceptorsType<EjbJarType<T>> getOrCreateInterceptors()
If not already created, a new interceptors element with the given value will be created. Otherwise, the existing interceptors element will be returned.

Returns:
a new or existing instance of InterceptorsType>

removeInterceptors

EjbJarType<T> removeInterceptors()
Removes the interceptors element

Returns:
the current instance of EjbJarType

getOrCreateRelationships

RelationshipsType<EjbJarType<T>> getOrCreateRelationships()
If not already created, a new relationships element with the given value will be created. Otherwise, the existing relationships element will be returned.

Returns:
a new or existing instance of RelationshipsType>

removeRelationships

EjbJarType<T> removeRelationships()
Removes the relationships element

Returns:
the current instance of EjbJarType

getOrCreateAssemblyDescriptor

AssemblyDescriptorType<EjbJarType<T>> getOrCreateAssemblyDescriptor()
If not already created, a new assembly-descriptor element with the given value will be created. Otherwise, the existing assembly-descriptor element will be returned.

Returns:
a new or existing instance of AssemblyDescriptorType>

removeAssemblyDescriptor

EjbJarType<T> removeAssemblyDescriptor()
Removes the assembly-descriptor element

Returns:
the current instance of EjbJarType

ejbClientJar

EjbJarType<T> ejbClientJar(String ejbClientJar)
Sets the ejb-client-jar element

Parameters:
ejbClientJar - the value for the element ejb-client-jar
Returns:
the current instance of EjbJarType

getEjbClientJar

String getEjbClientJar()
Returns the ejb-client-jar element

Returns:
the node defined for the element ejb-client-jar

removeEjbClientJar

EjbJarType<T> removeEjbClientJar()
Removes the ejb-client-jar element

Returns:
the current instance of EjbJarType

version

EjbJarType<T> version(String version)
Sets the version attribute

Parameters:
version - the value for the attribute version
Returns:
the current instance of EjbJarType

getVersion

String getVersion()
Returns the version attribute

Returns:
the value defined for the attribute version

removeVersion

EjbJarType<T> removeVersion()
Removes the version attribute

Returns:
the current instance of EjbJarType

metadataComplete

EjbJarType<T> metadataComplete(Boolean metadataComplete)
Sets the metadata-complete attribute

Parameters:
metadataComplete - the value for the attribute metadata-complete
Returns:
the current instance of EjbJarType

isMetadataComplete

Boolean isMetadataComplete()
Returns the metadata-complete attribute

Returns:
the value defined for the attribute metadata-complete

removeMetadataComplete

EjbJarType<T> removeMetadataComplete()
Removes the metadata-complete attribute

Returns:
the current instance of EjbJarType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.