ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface FacesConfigReferencedBeanType<T>
extends Child<T>

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

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

Method Summary
 IconType<FacesConfigReferencedBeanType<T>> createIcon()
          Creates a new icon element
 FacesConfigReferencedBeanType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigReferencedBeanType<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<FacesConfigReferencedBeanType<T>>> getAllIcon()
          Returns all icon elements
 IconType<FacesConfigReferencedBeanType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 String getReferencedBeanClass()
          Returns the referenced-bean-class element
 String getReferencedBeanName()
          Returns the referenced-bean-name element
 FacesConfigReferencedBeanType<T> referencedBeanClass(String referencedBeanClass)
          Sets the referenced-bean-class element
 FacesConfigReferencedBeanType<T> referencedBeanName(String referencedBeanName)
          Sets the referenced-bean-name element
 FacesConfigReferencedBeanType<T> removeAllDescription()
          Removes the description element
 FacesConfigReferencedBeanType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigReferencedBeanType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigReferencedBeanType<T> removeReferencedBeanClass()
          Removes the referenced-bean-class element
 FacesConfigReferencedBeanType<T> removeReferencedBeanName()
          Removes the referenced-bean-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigReferencedBeanType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigReferencedBeanType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of FacesConfigReferencedBeanType

getOrCreateIcon

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

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

FacesConfigReferencedBeanType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

referencedBeanName

FacesConfigReferencedBeanType<T> referencedBeanName(String referencedBeanName)
Sets the referenced-bean-name element

Parameters:
referencedBeanName - the value for the element referenced-bean-name
Returns:
the current instance of FacesConfigReferencedBeanType

getReferencedBeanName

String getReferencedBeanName()
Returns the referenced-bean-name element

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

removeReferencedBeanName

FacesConfigReferencedBeanType<T> removeReferencedBeanName()
Removes the referenced-bean-name element

Returns:
the current instance of FacesConfigReferencedBeanType

referencedBeanClass

FacesConfigReferencedBeanType<T> referencedBeanClass(String referencedBeanClass)
Sets the referenced-bean-class element

Parameters:
referencedBeanClass - the value for the element referenced-bean-class
Returns:
the current instance of FacesConfigReferencedBeanType

getReferencedBeanClass

String getReferencedBeanClass()
Returns the referenced-bean-class element

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

removeReferencedBeanClass

FacesConfigReferencedBeanType<T> removeReferencedBeanClass()
Removes the referenced-bean-class element

Returns:
the current instance of FacesConfigReferencedBeanType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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