public interface ModuleDependencyType<T> extends Child<T>
moduleDependencyType
xsd typeModifier and Type | Method and Description |
---|---|
ModuleDependencyType<T> |
annotations(Boolean annotations)
Sets the
annotations attribute |
FilterType<ModuleDependencyType<T>> |
createExports()
Creates a new
exports element |
FilterType<ModuleDependencyType<T>> |
createImports()
Creates a new
imports element |
ModuleDependencyType<T> |
export(Boolean export)
Sets the
export attribute |
List<FilterType<ModuleDependencyType<T>>> |
getAllExports()
Returns all
exports elements |
List<FilterType<ModuleDependencyType<T>>> |
getAllImports()
Returns all
imports elements |
MetaInfDispositionType |
getMetaInf()
Returns the
meta-inf attribute |
String |
getMetaInfAsString()
Returns the
meta-inf attribute |
String |
getName()
Returns the
name attribute |
FilterType<ModuleDependencyType<T>> |
getOrCreateExports()
If not already created, a new
exports element will be created and returned. |
FilterType<ModuleDependencyType<T>> |
getOrCreateImports()
If not already created, a new
imports element will be created and returned. |
ServiceDispositionType |
getServices()
Returns the
services attribute |
String |
getServicesAsString()
Returns the
services attribute |
String |
getSlot()
Returns the
slot attribute |
Boolean |
isAnnotations()
Returns the
annotations attribute |
Boolean |
isExport()
Returns the
export attribute |
Boolean |
isOptional()
Returns the
optional attribute |
ModuleDependencyType<T> |
metaInf(MetaInfDispositionType metaInf)
Sets the
meta-inf attribute |
ModuleDependencyType<T> |
metaInf(String metaInf)
Sets the
meta-inf attribute |
ModuleDependencyType<T> |
name(String name)
Sets the
name attribute |
ModuleDependencyType<T> |
optional(Boolean optional)
Sets the
optional attribute |
ModuleDependencyType<T> |
removeAllExports()
Removes all
exports elements |
ModuleDependencyType<T> |
removeAllImports()
Removes all
imports elements |
ModuleDependencyType<T> |
removeAnnotations()
Removes the
annotations attribute |
ModuleDependencyType<T> |
removeExport()
Removes the
export attribute |
ModuleDependencyType<T> |
removeMetaInf()
Removes the
meta-inf attribute |
ModuleDependencyType<T> |
removeName()
Removes the
name attribute |
ModuleDependencyType<T> |
removeOptional()
Removes the
optional attribute |
ModuleDependencyType<T> |
removeServices()
Removes the
services attribute |
ModuleDependencyType<T> |
removeSlot()
Removes the
slot attribute |
ModuleDependencyType<T> |
services(ServiceDispositionType services)
Sets the
services attribute |
ModuleDependencyType<T> |
services(String services)
Sets the
services attribute |
ModuleDependencyType<T> |
slot(String slot)
Sets the
slot attribute |
FilterType<ModuleDependencyType<T>> getOrCreateExports()
exports
element will be created and returned.
Otherwise, the first existing exports
element will be returned.exports
FilterType<ModuleDependencyType<T>> createExports()
exports
elementFilterType>
List<FilterType<ModuleDependencyType<T>>> getAllExports()
exports
elementsexports
ModuleDependencyType<T> removeAllExports()
exports
elementsFilterType>
FilterType<ModuleDependencyType<T>> getOrCreateImports()
imports
element will be created and returned.
Otherwise, the first existing imports
element will be returned.imports
FilterType<ModuleDependencyType<T>> createImports()
imports
elementFilterType>
List<FilterType<ModuleDependencyType<T>>> getAllImports()
imports
elementsimports
ModuleDependencyType<T> removeAllImports()
imports
elementsFilterType>
ModuleDependencyType<T> name(String name)
name
attributename
- the value for the attribute name
ModuleDependencyType
String getName()
name
attributename
ModuleDependencyType<T> removeName()
name
attributeModuleDependencyType
ModuleDependencyType<T> slot(String slot)
slot
attributeslot
- the value for the attribute slot
ModuleDependencyType
String getSlot()
slot
attributeslot
ModuleDependencyType<T> removeSlot()
slot
attributeModuleDependencyType
ModuleDependencyType<T> export(Boolean export)
export
attributeexport
- the value for the attribute export
ModuleDependencyType
Boolean isExport()
export
attributeexport
ModuleDependencyType<T> removeExport()
export
attributeModuleDependencyType
ModuleDependencyType<T> services(ServiceDispositionType services)
services
attributeservices
- the value for the attribute services
ModuleDependencyType
ModuleDependencyType<T> services(String services)
services
attributeservices
- the value for the attribute services
ModuleDependencyType
ServiceDispositionType getServices()
services
attributeservices
String getServicesAsString()
services
attributeservices
ModuleDependencyType<T> removeServices()
services
attributeModuleDependencyType
ModuleDependencyType<T> optional(Boolean optional)
optional
attributeoptional
- the value for the attribute optional
ModuleDependencyType
Boolean isOptional()
optional
attributeoptional
ModuleDependencyType<T> removeOptional()
optional
attributeModuleDependencyType
ModuleDependencyType<T> annotations(Boolean annotations)
annotations
attributeannotations
- the value for the attribute annotations
ModuleDependencyType
Boolean isAnnotations()
annotations
attributeannotations
ModuleDependencyType<T> removeAnnotations()
annotations
attributeModuleDependencyType
ModuleDependencyType<T> metaInf(MetaInfDispositionType metaInf)
meta-inf
attributemetaInf
- the value for the attribute meta-inf
ModuleDependencyType
ModuleDependencyType<T> metaInf(String metaInf)
meta-inf
attributemetaInf
- the value for the attribute meta-inf
ModuleDependencyType
MetaInfDispositionType getMetaInf()
meta-inf
attributemeta-inf
String getMetaInfAsString()
meta-inf
attributemeta-inf
ModuleDependencyType<T> removeMetaInf()
meta-inf
attributeModuleDependencyType
Copyright © 2023 JBoss by Red Hat. All rights reserved.