org.jboss.shrinkwrap.descriptor.api.jbossweb60
Interface HttpMethodConstraintType<T>

All Superinterfaces:
Child<T>

public interface HttpMethodConstraintType<T>
extends Child<T>

This interface defines the contract for the http-method-constraintType xsd type

Since:
Generation date :2013-01-26T19:27:01.083+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 HttpMethodConstraintType<T> emptyRoleSemantic(EmptyRoleSemanticType emptyRoleSemantic)
          Sets the empty-role-semantic element
 HttpMethodConstraintType<T> emptyRoleSemantic(String emptyRoleSemantic)
          Sets the empty-role-semantic element
 List<String> getAllRolesAllowed()
          Returns all roles-allowed elements
 EmptyRoleSemanticType getEmptyRoleSemantic()
          Returns the empty-role-semantic element
 String getEmptyRoleSemanticAsString()
          Returns the empty-role-semantic element
 String getMethod()
          Returns the method element
 TransportGuaranteeType getTransportGuarantee()
          Returns the transport-guarantee element
 String getTransportGuaranteeAsString()
          Returns the transport-guarantee element
 HttpMethodConstraintType<T> method(String method)
          Sets the method element
 HttpMethodConstraintType<T> removeAllRolesAllowed()
          Removes the roles-allowed element
 HttpMethodConstraintType<T> removeEmptyRoleSemantic()
          Removes the empty-role-semantic attribute
 HttpMethodConstraintType<T> removeMethod()
          Removes the method element
 HttpMethodConstraintType<T> removeTransportGuarantee()
          Removes the transport-guarantee attribute
 HttpMethodConstraintType<T> rolesAllowed(String... values)
          Creates for all String objects representing roles-allowed elements, a new roles-allowed element
 HttpMethodConstraintType<T> transportGuarantee(String transportGuarantee)
          Sets the transport-guarantee element
 HttpMethodConstraintType<T> transportGuarantee(TransportGuaranteeType transportGuarantee)
          Sets the transport-guarantee element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

method

HttpMethodConstraintType<T> method(String method)
Sets the method element

Parameters:
method - the value for the element method
Returns:
the current instance of HttpMethodConstraintType

getMethod

String getMethod()
Returns the method element

Returns:
the node defined for the element method

removeMethod

HttpMethodConstraintType<T> removeMethod()
Removes the method element

Returns:
the current instance of HttpMethodConstraintType

emptyRoleSemantic

HttpMethodConstraintType<T> emptyRoleSemantic(EmptyRoleSemanticType emptyRoleSemantic)
Sets the empty-role-semantic element

Parameters:
emptyRoleSemantic - the value for the element empty-role-semantic
Returns:
the current instance of HttpMethodConstraintType

emptyRoleSemantic

HttpMethodConstraintType<T> emptyRoleSemantic(String emptyRoleSemantic)
Sets the empty-role-semantic element

Parameters:
emptyRoleSemantic - the value for the element empty-role-semantic
Returns:
the current instance of HttpMethodConstraintType

getEmptyRoleSemantic

EmptyRoleSemanticType getEmptyRoleSemantic()
Returns the empty-role-semantic element

Returns:
the value found for the element empty-role-semantic

getEmptyRoleSemanticAsString

String getEmptyRoleSemanticAsString()
Returns the empty-role-semantic element

Returns:
the value found for the element empty-role-semantic

removeEmptyRoleSemantic

HttpMethodConstraintType<T> removeEmptyRoleSemantic()
Removes the empty-role-semantic attribute

Returns:
the current instance of HttpMethodConstraintType

transportGuarantee

HttpMethodConstraintType<T> transportGuarantee(TransportGuaranteeType transportGuarantee)
Sets the transport-guarantee element

Parameters:
transportGuarantee - the value for the element transport-guarantee
Returns:
the current instance of HttpMethodConstraintType

transportGuarantee

HttpMethodConstraintType<T> transportGuarantee(String transportGuarantee)
Sets the transport-guarantee element

Parameters:
transportGuarantee - the value for the element transport-guarantee
Returns:
the current instance of HttpMethodConstraintType

getTransportGuarantee

TransportGuaranteeType getTransportGuarantee()
Returns the transport-guarantee element

Returns:
the value found for the element transport-guarantee

getTransportGuaranteeAsString

String getTransportGuaranteeAsString()
Returns the transport-guarantee element

Returns:
the value found for the element transport-guarantee

removeTransportGuarantee

HttpMethodConstraintType<T> removeTransportGuarantee()
Removes the transport-guarantee attribute

Returns:
the current instance of HttpMethodConstraintType

rolesAllowed

HttpMethodConstraintType<T> rolesAllowed(String... values)
Creates for all String objects representing roles-allowed elements, a new roles-allowed element

Parameters:
values - list of roles-allowed objects
Returns:
the current instance of HttpMethodConstraintType

getAllRolesAllowed

List<String> getAllRolesAllowed()
Returns all roles-allowed elements

Returns:
list of roles-allowed

removeAllRolesAllowed

HttpMethodConstraintType<T> removeAllRolesAllowed()
Removes the roles-allowed element

Returns:
the current instance of HttpMethodConstraintType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.