org.jboss.shrinkwrap.descriptor.api.jboss51
Interface JbossType<T>

All Superinterfaces:
Child<T>

public interface JbossType<T>
extends Child<T>

This interface defines the contract for the jbossType xsd type

Since:
Generation date :2013-01-26T19:27:00.777+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 IconType<JbossType<T>> createIcon()
          Creates a new icon element
 JbossType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 JbossType<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<JbossType<T>>> getAllIcon()
          Returns all icon elements
 String getId()
          Returns the id attribute
 String getJaccContextId()
          Returns the jacc-context-id element
 String getJmxName()
          Returns the jmx-name element
 String getJndiBindingPolicy()
          Returns the jndi-binding-policy element
 AssemblyDescriptorType<JbossType<T>> getOrCreateAssemblyDescriptor()
          If not already created, a new assembly-descriptor element with the given value will be created.
 EnterpriseBeansType<JbossType<T>> getOrCreateEnterpriseBeans()
          If not already created, a new enterprise-beans element with the given value will be created.
 IconType<JbossType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 LoaderRepositoryType<JbossType<T>> getOrCreateLoaderRepository()
          If not already created, a new loader-repository element with the given value will be created.
 ResourceManagersType<JbossType<T>> getOrCreateResourceManagers()
          If not already created, a new resource-managers element with the given value will be created.
 WebservicesType<JbossType<T>> getOrCreateWebservices()
          If not already created, a new webservices element with the given value will be created.
 String getSecurityDomain()
          Returns the security-domain element
 String getUnauthenticatedPrincipal()
          Returns the unauthenticated-principal element
 String getVersion()
          Returns the version attribute
 JbossType<T> id(String id)
          Sets the id attribute
 Boolean isMetadataComplete()
          Returns the metadata-complete attribute
 Boolean isMissingMethodPermissionsExcludedMode()
          Returns the missing-method-permissions-excluded-mode element
 JbossType<T> jaccContextId(String jaccContextId)
          Sets the jacc-context-id element
 JbossType<T> jmxName(String jmxName)
          Sets the jmx-name element
 JbossType<T> jndiBindingPolicy(String jndiBindingPolicy)
          Sets the jndi-binding-policy element
 JbossType<T> metadataComplete(Boolean metadataComplete)
          Sets the metadata-complete attribute
 JbossType<T> missingMethodPermissionsExcludedMode(Boolean missingMethodPermissionsExcludedMode)
          Sets the missing-method-permissions-excluded-mode element
 JbossType<T> removeAllDescription()
          Removes the description element
 JbossType<T> removeAllDisplayName()
          Removes the display-name element
 JbossType<T> removeAllIcon()
          Removes all icon elements
 JbossType<T> removeAssemblyDescriptor()
          Removes the assembly-descriptor element
 JbossType<T> removeEnterpriseBeans()
          Removes the enterprise-beans element
 JbossType<T> removeId()
          Removes the id attribute
 JbossType<T> removeJaccContextId()
          Removes the jacc-context-id element
 JbossType<T> removeJmxName()
          Removes the jmx-name element
 JbossType<T> removeJndiBindingPolicy()
          Removes the jndi-binding-policy element
 JbossType<T> removeLoaderRepository()
          Removes the loader-repository element
 JbossType<T> removeMetadataComplete()
          Removes the metadata-complete attribute
 JbossType<T> removeMissingMethodPermissionsExcludedMode()
          Removes the missing-method-permissions-excluded-mode element
 JbossType<T> removeResourceManagers()
          Removes the resource-managers element
 JbossType<T> removeSecurityDomain()
          Removes the security-domain element
 JbossType<T> removeUnauthenticatedPrincipal()
          Removes the unauthenticated-principal element
 JbossType<T> removeVersion()
          Removes the version attribute
 JbossType<T> removeWebservices()
          Removes the webservices element
 JbossType<T> securityDomain(String securityDomain)
          Sets the security-domain element
 JbossType<T> unauthenticatedPrincipal(String unauthenticatedPrincipal)
          Sets the unauthenticated-principal element
 JbossType<T> version(String version)
          Sets the version attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

JbossType<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 JbossType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

JbossType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of JbossType

displayName

JbossType<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 JbossType

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of JbossType

getOrCreateIcon

IconType<JbossType<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<JbossType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

JbossType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

getOrCreateLoaderRepository

LoaderRepositoryType<JbossType<T>> getOrCreateLoaderRepository()
If not already created, a new loader-repository element with the given value will be created. Otherwise, the existing loader-repository element will be returned.

Returns:
a new or existing instance of LoaderRepositoryType>

removeLoaderRepository

JbossType<T> removeLoaderRepository()
Removes the loader-repository element

Returns:
the current instance of JbossType

jmxName

JbossType<T> jmxName(String jmxName)
Sets the jmx-name element

Parameters:
jmxName - the value for the element jmx-name
Returns:
the current instance of JbossType

getJmxName

String getJmxName()
Returns the jmx-name element

Returns:
the node defined for the element jmx-name

removeJmxName

JbossType<T> removeJmxName()
Removes the jmx-name element

Returns:
the current instance of JbossType

securityDomain

JbossType<T> securityDomain(String securityDomain)
Sets the security-domain element

Parameters:
securityDomain - the value for the element security-domain
Returns:
the current instance of JbossType

getSecurityDomain

String getSecurityDomain()
Returns the security-domain element

Returns:
the node defined for the element security-domain

removeSecurityDomain

JbossType<T> removeSecurityDomain()
Removes the security-domain element

Returns:
the current instance of JbossType

missingMethodPermissionsExcludedMode

JbossType<T> missingMethodPermissionsExcludedMode(Boolean missingMethodPermissionsExcludedMode)
Sets the missing-method-permissions-excluded-mode element

Parameters:
missingMethodPermissionsExcludedMode - the value for the element missing-method-permissions-excluded-mode
Returns:
the current instance of JbossType

isMissingMethodPermissionsExcludedMode

Boolean isMissingMethodPermissionsExcludedMode()
Returns the missing-method-permissions-excluded-mode element

Returns:
the node defined for the element missing-method-permissions-excluded-mode

removeMissingMethodPermissionsExcludedMode

JbossType<T> removeMissingMethodPermissionsExcludedMode()
Removes the missing-method-permissions-excluded-mode element

Returns:
the current instance of JbossType

unauthenticatedPrincipal

JbossType<T> unauthenticatedPrincipal(String unauthenticatedPrincipal)
Sets the unauthenticated-principal element

Parameters:
unauthenticatedPrincipal - the value for the element unauthenticated-principal
Returns:
the current instance of JbossType

getUnauthenticatedPrincipal

String getUnauthenticatedPrincipal()
Returns the unauthenticated-principal element

Returns:
the node defined for the element unauthenticated-principal

removeUnauthenticatedPrincipal

JbossType<T> removeUnauthenticatedPrincipal()
Removes the unauthenticated-principal element

Returns:
the current instance of JbossType

jndiBindingPolicy

JbossType<T> jndiBindingPolicy(String jndiBindingPolicy)
Sets the jndi-binding-policy element

Parameters:
jndiBindingPolicy - the value for the element jndi-binding-policy
Returns:
the current instance of JbossType

getJndiBindingPolicy

String getJndiBindingPolicy()
Returns the jndi-binding-policy element

Returns:
the node defined for the element jndi-binding-policy

removeJndiBindingPolicy

JbossType<T> removeJndiBindingPolicy()
Removes the jndi-binding-policy element

Returns:
the current instance of JbossType

jaccContextId

JbossType<T> jaccContextId(String jaccContextId)
Sets the jacc-context-id element

Parameters:
jaccContextId - the value for the element jacc-context-id
Returns:
the current instance of JbossType

getJaccContextId

String getJaccContextId()
Returns the jacc-context-id element

Returns:
the node defined for the element jacc-context-id

removeJaccContextId

JbossType<T> removeJaccContextId()
Removes the jacc-context-id element

Returns:
the current instance of JbossType

getOrCreateWebservices

WebservicesType<JbossType<T>> getOrCreateWebservices()
If not already created, a new webservices element with the given value will be created. Otherwise, the existing webservices element will be returned.

Returns:
a new or existing instance of WebservicesType>

removeWebservices

JbossType<T> removeWebservices()
Removes the webservices element

Returns:
the current instance of JbossType

getOrCreateEnterpriseBeans

EnterpriseBeansType<JbossType<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

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

Returns:
the current instance of JbossType

getOrCreateAssemblyDescriptor

AssemblyDescriptorType<JbossType<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

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

Returns:
the current instance of JbossType

getOrCreateResourceManagers

ResourceManagersType<JbossType<T>> getOrCreateResourceManagers()
If not already created, a new resource-managers element with the given value will be created. Otherwise, the existing resource-managers element will be returned.

Returns:
a new or existing instance of ResourceManagersType>

removeResourceManagers

JbossType<T> removeResourceManagers()
Removes the resource-managers element

Returns:
the current instance of JbossType

version

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

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

getVersion

String getVersion()
Returns the version attribute

Returns:
the value defined for the attribute version

removeVersion

JbossType<T> removeVersion()
Removes the version attribute

Returns:
the current instance of JbossType

metadataComplete

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

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

isMetadataComplete

Boolean isMetadataComplete()
Returns the metadata-complete attribute

Returns:
the value defined for the attribute metadata-complete

removeMetadataComplete

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

Returns:
the current instance of JbossType

id

JbossType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of JbossType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

JbossType<T> removeId()
Removes the id attribute

Returns:
the current instance of JbossType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.