org.jboss.shrinkwrap.descriptor.api.webcommon30.UserDataConstraintType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.webcommon30;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.webcommon30.TransportGuaranteeType;
import org.jboss.shrinkwrap.descriptor.api.webcommon.*;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
import org.jboss.shrinkwrap.descriptor.api.jsp.*;
import org.jboss.shrinkwrap.descriptor.api.webapp.JavaeeUserDataConstraintCommonType;
/**
* This interface defines the contract for the user-data-constraintType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface UserDataConstraintType extends Child,
JavaeeUserDataConstraintCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: UserDataConstraintType ElementName: xsd:string ElementType : description
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing description
elements,
* a new description
element
* @param values list of description
objects
* @return the current instance of UserDataConstraintType
*/
public UserDataConstraintType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of UserDataConstraintType
*/
public UserDataConstraintType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: UserDataConstraintType ElementName: javaee:transport-guaranteeType ElementType : transport-guarantee
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the transport-guarantee
element
* @param transportGuarantee the value for the element transport-guarantee
* @return the current instance of UserDataConstraintType
*/
public UserDataConstraintType transportGuarantee(TransportGuaranteeType transportGuarantee);
/**
* Sets the transport-guarantee
element
* @param transportGuarantee the value for the element transport-guarantee
* @return the current instance of UserDataConstraintType
*/
public UserDataConstraintType transportGuarantee(String transportGuarantee);
/**
* Returns the transport-guarantee
element
* @return the value found for the element transport-guarantee
*/
public TransportGuaranteeType getTransportGuarantee();
/**
* Returns the transport-guarantee
element
* @return the value found for the element transport-guarantee
*/
public String getTransportGuaranteeAsString();
/**
* Removes the transport-guarantee
attribute
* @return the current instance of UserDataConstraintType
*/
public UserDataConstraintType removeTransportGuarantee();
// --------------------------------------------------------------------------------------------------------||
// ClassName: UserDataConstraintType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of UserDataConstraintType
*/
public UserDataConstraintType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of UserDataConstraintType
*/
public UserDataConstraintType removeId();
}