ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.facesconfig20
Interface FacesConfigManagedBeanType<T>

All Superinterfaces:
Child<T>

public interface FacesConfigManagedBeanType<T>
extends Child<T>

This interface defines the contract for the faces-config-managed-beanType xsd type

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

Method Summary
 IconType<FacesConfigManagedBeanType<T>> createIcon()
          Creates a new icon element
 FacesConfigManagedPropertyType<FacesConfigManagedBeanType<T>> createManagedProperty()
          Creates a new managed-property element
 FacesConfigManagedBeanType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigManagedBeanType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 FacesConfigManagedBeanType<T> eager(Boolean eager)
          Sets the eager attribute
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<FacesConfigManagedBeanType<T>>> getAllIcon()
          Returns all icon elements
 List<FacesConfigManagedPropertyType<FacesConfigManagedBeanType<T>>> getAllManagedProperty()
          Returns all managed-property elements
 String getManagedBeanClass()
          Returns the managed-bean-class element
 String getManagedBeanName()
          Returns the managed-bean-name element
 String getManagedBeanScope()
          Returns the managed-bean-scope element
 IconType<FacesConfigManagedBeanType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 FacesConfigListEntriesType<FacesConfigManagedBeanType<T>> getOrCreateListEntries()
          If not already created, a new list-entries element with the given value will be created.
 FacesConfigManagedPropertyType<FacesConfigManagedBeanType<T>> getOrCreateManagedProperty()
          If not already created, a new managed-property element will be created and returned.
 FacesConfigMapEntriesType<FacesConfigManagedBeanType<T>> getOrCreateMapEntries()
          If not already created, a new map-entries element with the given value will be created.
 Boolean isEager()
          Returns the eager attribute
 Boolean isManagedBeanExtension()
          Removes the managed-bean-extension element
 FacesConfigManagedBeanType<T> managedBeanClass(String managedBeanClass)
          Sets the managed-bean-class element
 FacesConfigManagedBeanType<T> managedBeanExtension()
          Sets the managed-bean-extension element
 FacesConfigManagedBeanType<T> managedBeanName(String managedBeanName)
          Sets the managed-bean-name element
 FacesConfigManagedBeanType<T> managedBeanScope(String managedBeanScope)
          Sets the managed-bean-scope element
 FacesConfigManagedBeanType<T> removeAllDescription()
          Removes the description element
 FacesConfigManagedBeanType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigManagedBeanType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigManagedBeanType<T> removeAllManagedProperty()
          Removes all managed-property elements
 FacesConfigManagedBeanType<T> removeEager()
          Removes the eager attribute
 FacesConfigManagedBeanType<T> removeListEntries()
          Removes the list-entries element
 FacesConfigManagedBeanType<T> removeManagedBeanClass()
          Removes the managed-bean-class element
 FacesConfigManagedBeanType<T> removeManagedBeanExtension()
          Removes the managed-bean-extension element
 FacesConfigManagedBeanType<T> removeManagedBeanName()
          Removes the managed-bean-name element
 FacesConfigManagedBeanType<T> removeManagedBeanScope()
          Removes the managed-bean-scope element
 FacesConfigManagedBeanType<T> removeMapEntries()
          Removes the map-entries element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigManagedBeanType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigManagedBeanType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of FacesConfigManagedBeanType

getOrCreateIcon

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

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

FacesConfigManagedBeanType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

managedBeanName

FacesConfigManagedBeanType<T> managedBeanName(String managedBeanName)
Sets the managed-bean-name element

Parameters:
managedBeanName - the value for the element managed-bean-name
Returns:
the current instance of FacesConfigManagedBeanType

getManagedBeanName

String getManagedBeanName()
Returns the managed-bean-name element

Returns:
the node defined for the element managed-bean-name

removeManagedBeanName

FacesConfigManagedBeanType<T> removeManagedBeanName()
Removes the managed-bean-name element

Returns:
the current instance of FacesConfigManagedBeanType

managedBeanClass

FacesConfigManagedBeanType<T> managedBeanClass(String managedBeanClass)
Sets the managed-bean-class element

Parameters:
managedBeanClass - the value for the element managed-bean-class
Returns:
the current instance of FacesConfigManagedBeanType

getManagedBeanClass

String getManagedBeanClass()
Returns the managed-bean-class element

Returns:
the node defined for the element managed-bean-class

removeManagedBeanClass

FacesConfigManagedBeanType<T> removeManagedBeanClass()
Removes the managed-bean-class element

Returns:
the current instance of FacesConfigManagedBeanType

managedBeanScope

FacesConfigManagedBeanType<T> managedBeanScope(String managedBeanScope)
Sets the managed-bean-scope element

Parameters:
managedBeanScope - the value for the element managed-bean-scope
Returns:
the current instance of FacesConfigManagedBeanType

getManagedBeanScope

String getManagedBeanScope()
Returns the managed-bean-scope element

Returns:
the node defined for the element managed-bean-scope

removeManagedBeanScope

FacesConfigManagedBeanType<T> removeManagedBeanScope()
Removes the managed-bean-scope element

Returns:
the current instance of FacesConfigManagedBeanType

getOrCreateManagedProperty

FacesConfigManagedPropertyType<FacesConfigManagedBeanType<T>> getOrCreateManagedProperty()
If not already created, a new managed-property element will be created and returned. Otherwise, the first existing managed-property element will be returned.

Returns:
the instance defined for the element managed-property

createManagedProperty

FacesConfigManagedPropertyType<FacesConfigManagedBeanType<T>> createManagedProperty()
Creates a new managed-property element

Returns:
the new created instance of FacesConfigManagedPropertyType>

getAllManagedProperty

List<FacesConfigManagedPropertyType<FacesConfigManagedBeanType<T>>> getAllManagedProperty()
Returns all managed-property elements

Returns:
list of managed-property

removeAllManagedProperty

FacesConfigManagedBeanType<T> removeAllManagedProperty()
Removes all managed-property elements

Returns:
the current instance of FacesConfigManagedPropertyType>

getOrCreateMapEntries

FacesConfigMapEntriesType<FacesConfigManagedBeanType<T>> getOrCreateMapEntries()
If not already created, a new map-entries element with the given value will be created. Otherwise, the existing map-entries element will be returned.

Returns:
a new or existing instance of FacesConfigMapEntriesType>

removeMapEntries

FacesConfigManagedBeanType<T> removeMapEntries()
Removes the map-entries element

Returns:
the current instance of FacesConfigManagedBeanType

getOrCreateListEntries

FacesConfigListEntriesType<FacesConfigManagedBeanType<T>> getOrCreateListEntries()
If not already created, a new list-entries element with the given value will be created. Otherwise, the existing list-entries element will be returned.

Returns:
a new or existing instance of FacesConfigListEntriesType>

removeListEntries

FacesConfigManagedBeanType<T> removeListEntries()
Removes the list-entries element

Returns:
the current instance of FacesConfigManagedBeanType

managedBeanExtension

FacesConfigManagedBeanType<T> managedBeanExtension()
Sets the managed-bean-extension element

Returns:
the current instance of FacesConfigManagedBeanType

isManagedBeanExtension

Boolean isManagedBeanExtension()
Removes the managed-bean-extension element

Returns:
the current instance of FacesConfigManagedBeanType

removeManagedBeanExtension

FacesConfigManagedBeanType<T> removeManagedBeanExtension()
Removes the managed-bean-extension element

Returns:
the current instance of FacesConfigManagedBeanType

eager

FacesConfigManagedBeanType<T> eager(Boolean eager)
Sets the eager attribute

Parameters:
eager - the value for the attribute eager
Returns:
the current instance of FacesConfigManagedBeanType

isEager

Boolean isEager()
Returns the eager attribute

Returns:
the value defined for the attribute eager

removeEager

FacesConfigManagedBeanType<T> removeEager()
Removes the eager attribute

Returns:
the current instance of FacesConfigManagedBeanType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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