ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.webcommon30
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:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 WebResourceCollectionType<SecurityConstraintType<T>> createWebResourceCollection()
          Creates a new web-resource-collection element
 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
 List<WebResourceCollectionType<SecurityConstraintType<T>>> getAllWebResourceCollection()
          Returns all web-resource-collection elements
 AuthConstraintType<SecurityConstraintType<T>> getOrCreateAuthConstraint()
          If not already created, a new auth-constraint 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.
 WebResourceCollectionType<SecurityConstraintType<T>> getOrCreateWebResourceCollection()
          If not already created, a new web-resource-collection element will be created and returned.
 SecurityConstraintType<T> removeAllDisplayName()
          Removes the display-name element
 SecurityConstraintType<T> removeAllWebResourceCollection()
          Removes all web-resource-collection elements
 SecurityConstraintType<T> removeAuthConstraint()
          Removes the auth-constraint 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

getOrCreateWebResourceCollection

WebResourceCollectionType<SecurityConstraintType<T>> getOrCreateWebResourceCollection()
If not already created, a new web-resource-collection element will be created and returned. Otherwise, the first existing web-resource-collection element will be returned.

Returns:
the instance defined for the element web-resource-collection

createWebResourceCollection

WebResourceCollectionType<SecurityConstraintType<T>> createWebResourceCollection()
Creates a new web-resource-collection element

Returns:
the new created instance of WebResourceCollectionType>

getAllWebResourceCollection

List<WebResourceCollectionType<SecurityConstraintType<T>>> getAllWebResourceCollection()
Returns all web-resource-collection elements

Returns:
list of web-resource-collection

removeAllWebResourceCollection

SecurityConstraintType<T> removeAllWebResourceCollection()
Removes all web-resource-collection elements

Returns:
the current instance of WebResourceCollectionType>

getOrCreateAuthConstraint

AuthConstraintType<SecurityConstraintType<T>> getOrCreateAuthConstraint()
If not already created, a new auth-constraint element with the given value will be created. Otherwise, the existing auth-constraint element will be returned.

Returns:
a new or existing instance of AuthConstraintType>

removeAuthConstraint

SecurityConstraintType<T> removeAuthConstraint()
Removes the auth-constraint 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

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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