ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface UserDataConstraintType<T>
extends Child<T>

This interface defines the contract for the user-data-constraintType xsd type

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

Method Summary
 UserDataConstraintType<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
 TransportGuaranteeType getTransportGuarantee()
          Returns the transport-guarantee element
 String getTransportGuaranteeAsString()
          Returns the transport-guarantee element
 UserDataConstraintType<T> id(String id)
          Sets the id attribute
 UserDataConstraintType<T> removeAllDescription()
          Removes the description element
 UserDataConstraintType<T> removeId()
          Removes the id attribute
 UserDataConstraintType<T> removeTransportGuarantee()
          Removes the transport-guarantee attribute
 UserDataConstraintType<T> transportGuarantee(String transportGuarantee)
          Sets the transport-guarantee element
 UserDataConstraintType<T> transportGuarantee(TransportGuaranteeType transportGuarantee)
          Sets the transport-guarantee element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

UserDataConstraintType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of UserDataConstraintType

transportGuarantee

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

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

transportGuarantee

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

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

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

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

Returns:
the current instance of UserDataConstraintType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

UserDataConstraintType<T> removeId()
Removes the id attribute

Returns:
the current instance of UserDataConstraintType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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