|
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 ApplicationType<T>
This interface defines the contract for the applicationType
xsd type
Method Summary | |
---|---|
IconType<ApplicationType<T>> |
createIcon()
Creates a new icon element |
ModuleType<ApplicationType<T>> |
createModule()
Creates a new module element |
SecurityRoleType<ApplicationType<T>> |
createSecurityRole()
Creates a new security-role element |
ApplicationType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
ApplicationType<T> |
displayName(String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
List<String> |
getAllDescription()
Returns all description elements |
List<String> |
getAllDisplayName()
Returns all display-name elements |
List<IconType<ApplicationType<T>>> |
getAllIcon()
Returns all icon elements |
List<ModuleType<ApplicationType<T>>> |
getAllModule()
Returns all module elements |
List<SecurityRoleType<ApplicationType<T>>> |
getAllSecurityRole()
Returns all security-role elements |
String |
getLibraryDirectory()
Returns the library-directory element |
IconType<ApplicationType<T>> |
getOrCreateIcon()
If not already created, a new icon element will be created and returned. |
ModuleType<ApplicationType<T>> |
getOrCreateModule()
If not already created, a new module element will be created and returned. |
SecurityRoleType<ApplicationType<T>> |
getOrCreateSecurityRole()
If not already created, a new security-role element will be created and returned. |
String |
getVersion()
Returns the version attribute |
ApplicationType<T> |
libraryDirectory(String libraryDirectory)
Sets the library-directory element |
ApplicationType<T> |
removeAllDescription()
Removes the description element |
ApplicationType<T> |
removeAllDisplayName()
Removes the display-name element |
ApplicationType<T> |
removeAllIcon()
Removes all icon elements |
ApplicationType<T> |
removeAllModule()
Removes all module elements |
ApplicationType<T> |
removeAllSecurityRole()
Removes all security-role elements |
ApplicationType<T> |
removeLibraryDirectory()
Removes the library-directory element |
ApplicationType<T> |
removeVersion()
Removes the version attribute |
ApplicationType<T> |
version(String version)
Sets the version attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ApplicationType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
ApplicationType
List<String> getAllDescription()
description
elements
description
ApplicationType<T> removeAllDescription()
description
element
ApplicationType
ApplicationType<T> displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
ApplicationType
List<String> getAllDisplayName()
display-name
elements
display-name
ApplicationType<T> removeAllDisplayName()
display-name
element
ApplicationType
IconType<ApplicationType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.
icon
IconType<ApplicationType<T>> createIcon()
icon
element
IconType>
List<IconType<ApplicationType<T>>> getAllIcon()
icon
elements
icon
ApplicationType<T> removeAllIcon()
icon
elements
IconType>
ModuleType<ApplicationType<T>> getOrCreateModule()
module
element will be created and returned.
Otherwise, the first existing module
element will be returned.
module
ModuleType<ApplicationType<T>> createModule()
module
element
ModuleType>
List<ModuleType<ApplicationType<T>>> getAllModule()
module
elements
module
ApplicationType<T> removeAllModule()
module
elements
ModuleType>
SecurityRoleType<ApplicationType<T>> getOrCreateSecurityRole()
security-role
element will be created and returned.
Otherwise, the first existing security-role
element will be returned.
security-role
SecurityRoleType<ApplicationType<T>> createSecurityRole()
security-role
element
SecurityRoleType>
List<SecurityRoleType<ApplicationType<T>>> getAllSecurityRole()
security-role
elements
security-role
ApplicationType<T> removeAllSecurityRole()
security-role
elements
SecurityRoleType>
ApplicationType<T> libraryDirectory(String libraryDirectory)
library-directory
element
libraryDirectory
- the value for the element library-directory
ApplicationType
String getLibraryDirectory()
library-directory
element
library-directory
ApplicationType<T> removeLibraryDirectory()
library-directory
element
ApplicationType
ApplicationType<T> version(String version)
version
attribute
version
- the value for the attribute version
ApplicationType
String getVersion()
version
attribute
version
ApplicationType<T> removeVersion()
version
attribute
ApplicationType
|
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 |