All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.validationMapping10.ConstraintDefinitionType Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.validationMapping10; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.validationMapping10.ValidatedByType;
import org.jboss.shrinkwrap.descriptor.api.validationMapping.*;
import org.jboss.shrinkwrap.descriptor.api.validationMapping.MapConstraintDefinitionCommonType;

import org.jboss.shrinkwrap.descriptor.api.validationMapping10.ValidatedByType;/**
 * This interface defines the contract for the  constraint-definitionType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface ConstraintDefinitionType extends Child, 
    MapConstraintDefinitionCommonType,
    ValidatedByType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ConstraintDefinitionType ElementName: map:validated-byType ElementType : validated-by
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new validated-by element with the given value will be created.
    * Otherwise, the existing validated-by element will be returned.
    * @return  a new or existing instance of ValidatedByType> 
    */
   public ValidatedByType> getOrCreateValidatedBy();

   /**
    * Removes the validated-by element 
    * @return the current instance of ConstraintDefinitionType 
    */
   public ConstraintDefinitionType removeValidatedBy();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ConstraintDefinitionType ElementName: xsd:string ElementType : annotation
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the annotation attribute
    * @param annotation the value for the attribute annotation 
    * @return the current instance of ConstraintDefinitionType 
    */
   public ConstraintDefinitionType annotation(String annotation);

   /**
    * Returns the annotation attribute
    * @return the value defined for the attribute annotation 
    */
   public String getAnnotation();

   /**
    * Removes the annotation attribute 
    * @return the current instance of ConstraintDefinitionType 
    */
   public ConstraintDefinitionType removeAnnotation();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy