|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EjbJarType<T>
This interface defines the contract for the ejb-jarType
xsd type
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 |
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> |
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> |
version(String version)
Sets the version attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
EjbJarType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
EjbJarType
List<String> getAllDescription()
description
elements
description
EjbJarType<T> removeAllDescription()
description
element
EjbJarType
EjbJarType<T> displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
EjbJarType
List<String> getAllDisplayName()
display-name
elements
display-name
EjbJarType<T> removeAllDisplayName()
display-name
element
EjbJarType
IconType<EjbJarType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.
icon
IconType<EjbJarType<T>> createIcon()
icon
element
IconType>
List<IconType<EjbJarType<T>>> getAllIcon()
icon
elements
icon
EjbJarType<T> removeAllIcon()
icon
elements
IconType>
EnterpriseBeansType<EjbJarType<T>> getOrCreateEnterpriseBeans()
enterprise-beans
element with the given value will be created.
Otherwise, the existing enterprise-beans
element will be returned.
EnterpriseBeansType>
EjbJarType<T> removeEnterpriseBeans()
enterprise-beans
element
EjbJarType
InterceptorsType<EjbJarType<T>> getOrCreateInterceptors()
interceptors
element with the given value will be created.
Otherwise, the existing interceptors
element will be returned.
InterceptorsType>
EjbJarType<T> removeInterceptors()
interceptors
element
EjbJarType
RelationshipsType<EjbJarType<T>> getOrCreateRelationships()
relationships
element with the given value will be created.
Otherwise, the existing relationships
element will be returned.
RelationshipsType>
EjbJarType<T> removeRelationships()
relationships
element
EjbJarType
AssemblyDescriptorType<EjbJarType<T>> getOrCreateAssemblyDescriptor()
assembly-descriptor
element with the given value will be created.
Otherwise, the existing assembly-descriptor
element will be returned.
AssemblyDescriptorType>
EjbJarType<T> removeAssemblyDescriptor()
assembly-descriptor
element
EjbJarType
EjbJarType<T> ejbClientJar(String ejbClientJar)
ejb-client-jar
element
ejbClientJar
- the value for the element ejb-client-jar
EjbJarType
String getEjbClientJar()
ejb-client-jar
element
ejb-client-jar
EjbJarType<T> removeEjbClientJar()
ejb-client-jar
element
EjbJarType
EjbJarType<T> version(String version)
version
attribute
version
- the value for the attribute version
EjbJarType
String getVersion()
version
attribute
version
EjbJarType<T> removeVersion()
version
attribute
EjbJarType
EjbJarType<T> metadataComplete(Boolean metadataComplete)
metadata-complete
attribute
metadataComplete
- the value for the attribute metadata-complete
EjbJarType
Boolean isMetadataComplete()
metadata-complete
attribute
metadata-complete
EjbJarType<T> removeMetadataComplete()
metadata-complete
attribute
EjbJarType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |