ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.portletapp20
Interface CustomPortletModeType<T>

All Superinterfaces:
Child<T>

public interface CustomPortletModeType<T>
extends Child<T>

This interface defines the contract for the custom-portlet-modeType xsd type

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

Method Summary
 CustomPortletModeType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 String getId()
          Returns the id attribute
 PortalManagedType getPortalManaged()
          Returns the portal-managed element
 String getPortalManagedAsString()
          Returns the portal-managed element
 String getPortletMode()
          Returns the portlet-mode element
 CustomPortletModeType<T> id(String id)
          Sets the id attribute
 CustomPortletModeType<T> portalManaged(PortalManagedType portalManaged)
          Sets the portal-managed element
 CustomPortletModeType<T> portalManaged(String portalManaged)
          Sets the portal-managed element
 CustomPortletModeType<T> portletMode(String portletMode)
          Sets the portlet-mode element
 CustomPortletModeType<T> removeAllDescription()
          Removes the description element
 CustomPortletModeType<T> removeId()
          Removes the id attribute
 CustomPortletModeType<T> removePortalManaged()
          Removes the portal-managed attribute
 CustomPortletModeType<T> removePortletMode()
          Removes the portlet-mode element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

CustomPortletModeType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of CustomPortletModeType

portletMode

CustomPortletModeType<T> portletMode(String portletMode)
Sets the portlet-mode element

Parameters:
portletMode - the value for the element portlet-mode
Returns:
the current instance of CustomPortletModeType

getPortletMode

String getPortletMode()
Returns the portlet-mode element

Returns:
the node defined for the element portlet-mode

removePortletMode

CustomPortletModeType<T> removePortletMode()
Removes the portlet-mode element

Returns:
the current instance of CustomPortletModeType

portalManaged

CustomPortletModeType<T> portalManaged(PortalManagedType portalManaged)
Sets the portal-managed element

Parameters:
portalManaged - the value for the element portal-managed
Returns:
the current instance of CustomPortletModeType

portalManaged

CustomPortletModeType<T> portalManaged(String portalManaged)
Sets the portal-managed element

Parameters:
portalManaged - the value for the element portal-managed
Returns:
the current instance of CustomPortletModeType

getPortalManaged

PortalManagedType getPortalManaged()
Returns the portal-managed element

Returns:
the value found for the element portal-managed

getPortalManagedAsString

String getPortalManagedAsString()
Returns the portal-managed element

Returns:
the value found for the element portal-managed

removePortalManaged

CustomPortletModeType<T> removePortalManaged()
Removes the portal-managed attribute

Returns:
the current instance of CustomPortletModeType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

CustomPortletModeType<T> removeId()
Removes the id attribute

Returns:
the current instance of CustomPortletModeType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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