ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface SecurityConstraintType<T>
extends Child<T>

This interface defines the contract for the security-constraintType xsd type

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

Method Summary
 SecurityConstraintType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 List<String> getAllDisplayName()
          Returns all display-name elements
 String getId()
          Returns the id attribute
 PortletCollectionType<SecurityConstraintType<T>> getOrCreatePortletCollection()
          If not already created, a new portlet-collection element with the given value will be created.
 UserDataConstraintType<SecurityConstraintType<T>> getOrCreateUserDataConstraint()
          If not already created, a new user-data-constraint element with the given value will be created.
 SecurityConstraintType<T> id(String id)
          Sets the id attribute
 SecurityConstraintType<T> removeAllDisplayName()
          Removes the display-name element
 SecurityConstraintType<T> removeId()
          Removes the id attribute
 SecurityConstraintType<T> removePortletCollection()
          Removes the portlet-collection element
 SecurityConstraintType<T> removeUserDataConstraint()
          Removes the user-data-constraint element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of SecurityConstraintType

getOrCreatePortletCollection

PortletCollectionType<SecurityConstraintType<T>> getOrCreatePortletCollection()
If not already created, a new portlet-collection element with the given value will be created. Otherwise, the existing portlet-collection element will be returned.

Returns:
a new or existing instance of PortletCollectionType>

removePortletCollection

SecurityConstraintType<T> removePortletCollection()
Removes the portlet-collection element

Returns:
the current instance of SecurityConstraintType

getOrCreateUserDataConstraint

UserDataConstraintType<SecurityConstraintType<T>> getOrCreateUserDataConstraint()
If not already created, a new user-data-constraint element with the given value will be created. Otherwise, the existing user-data-constraint element will be returned.

Returns:
a new or existing instance of UserDataConstraintType>

removeUserDataConstraint

SecurityConstraintType<T> removeUserDataConstraint()
Removes the user-data-constraint element

Returns:
the current instance of SecurityConstraintType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

SecurityConstraintType<T> removeId()
Removes the id attribute

Returns:
the current instance of SecurityConstraintType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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