org.jboss.shrinkwrap.descriptor.api.validationMapping11.ValidatedByType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.validationMapping11;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.validationMapping.*;
import org.jboss.shrinkwrap.descriptor.api.validationMapping.MapValidatedByCommonType;
/**
* This interface defines the contract for the validated-byType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface ValidatedByType extends Child,
MapValidatedByCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ValidatedByType ElementName: xsd:string ElementType : value
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing value
elements,
* a new value
element
* @param values list of value
objects
* @return the current instance of ValidatedByType
*/
public ValidatedByType value(String ... values);
/**
* Returns all value
elements
* @return list of value
*/
public List getAllValue();
/**
* Removes the value
element
* @return the current instance of ValidatedByType
*/
public ValidatedByType removeAllValue();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ValidatedByType ElementName: xsd:boolean ElementType : include-existing-validators
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the include-existing-validators
attribute
* @param includeExistingValidators the value for the attribute include-existing-validators
* @return the current instance of ValidatedByType
*/
public ValidatedByType includeExistingValidators(Boolean includeExistingValidators);
/**
* Returns the include-existing-validators
attribute
* @return the value defined for the attribute include-existing-validators
*/
public Boolean isIncludeExistingValidators();
/**
* Removes the include-existing-validators
attribute
* @return the current instance of ValidatedByType
*/
public ValidatedByType removeIncludeExistingValidators();
}