ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface FacesConfigNavigationCaseType<T>
extends Child<T>

This interface defines the contract for the faces-config-navigation-caseType xsd type

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

Method Summary
 FacesConfigNavigationCaseType<T> _if(String _if)
          Sets the if element
 IconType<FacesConfigNavigationCaseType<T>> createIcon()
          Creates a new icon element
 FacesConfigNavigationCaseType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigNavigationCaseType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 FacesConfigNavigationCaseType<T> fromAction(String fromAction)
          Sets the from-action element
 FacesConfigNavigationCaseType<T> fromOutcome(String fromOutcome)
          Sets the from-outcome element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<FacesConfigNavigationCaseType<T>>> getAllIcon()
          Returns all icon elements
 String getFromAction()
          Returns the from-action element
 String getFromOutcome()
          Returns the from-outcome element
 String getIf()
          Returns the if element
 IconType<FacesConfigNavigationCaseType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 FacesConfigRedirectType<FacesConfigNavigationCaseType<T>> getOrCreateRedirect()
          If not already created, a new redirect element with the given value will be created.
 String getToViewId()
          Returns the to-view-id element
 FacesConfigNavigationCaseType<T> removeAllDescription()
          Removes the description element
 FacesConfigNavigationCaseType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigNavigationCaseType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigNavigationCaseType<T> removeFromAction()
          Removes the from-action element
 FacesConfigNavigationCaseType<T> removeFromOutcome()
          Removes the from-outcome element
 FacesConfigNavigationCaseType<T> removeIf()
          Removes the if element
 FacesConfigNavigationCaseType<T> removeRedirect()
          Removes the redirect element
 FacesConfigNavigationCaseType<T> removeToViewId()
          Removes the to-view-id element
 FacesConfigNavigationCaseType<T> toViewId(String toViewId)
          Sets the to-view-id element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigNavigationCaseType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigNavigationCaseType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of FacesConfigNavigationCaseType

getOrCreateIcon

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

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

FacesConfigNavigationCaseType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

fromAction

FacesConfigNavigationCaseType<T> fromAction(String fromAction)
Sets the from-action element

Parameters:
fromAction - the value for the element from-action
Returns:
the current instance of FacesConfigNavigationCaseType

getFromAction

String getFromAction()
Returns the from-action element

Returns:
the node defined for the element from-action

removeFromAction

FacesConfigNavigationCaseType<T> removeFromAction()
Removes the from-action element

Returns:
the current instance of FacesConfigNavigationCaseType

fromOutcome

FacesConfigNavigationCaseType<T> fromOutcome(String fromOutcome)
Sets the from-outcome element

Parameters:
fromOutcome - the value for the element from-outcome
Returns:
the current instance of FacesConfigNavigationCaseType

getFromOutcome

String getFromOutcome()
Returns the from-outcome element

Returns:
the node defined for the element from-outcome

removeFromOutcome

FacesConfigNavigationCaseType<T> removeFromOutcome()
Removes the from-outcome element

Returns:
the current instance of FacesConfigNavigationCaseType

_if

FacesConfigNavigationCaseType<T> _if(String _if)
Sets the if element

Parameters:
_if - the value for the element if
Returns:
the current instance of FacesConfigNavigationCaseType

getIf

String getIf()
Returns the if element

Returns:
the node defined for the element if

removeIf

FacesConfigNavigationCaseType<T> removeIf()
Removes the if element

Returns:
the current instance of FacesConfigNavigationCaseType

toViewId

FacesConfigNavigationCaseType<T> toViewId(String toViewId)
Sets the to-view-id element

Parameters:
toViewId - the value for the element to-view-id
Returns:
the current instance of FacesConfigNavigationCaseType

getToViewId

String getToViewId()
Returns the to-view-id element

Returns:
the node defined for the element to-view-id

removeToViewId

FacesConfigNavigationCaseType<T> removeToViewId()
Removes the to-view-id element

Returns:
the current instance of FacesConfigNavigationCaseType

getOrCreateRedirect

FacesConfigRedirectType<FacesConfigNavigationCaseType<T>> getOrCreateRedirect()
If not already created, a new redirect element with the given value will be created. Otherwise, the existing redirect element will be returned.

Returns:
a new or existing instance of FacesConfigRedirectType>

removeRedirect

FacesConfigNavigationCaseType<T> removeRedirect()
Removes the redirect element

Returns:
the current instance of FacesConfigNavigationCaseType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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