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

org.jboss.shrinkwrap.descriptor.api.beans10.Alternatives Maven / Gradle / Ivy

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

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.beans.*;
import org.jboss.shrinkwrap.descriptor.api.beans.JavaeeAlternativesCommType;
/**
 * This interface defines the contract for the  alternatives  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface Alternatives extends Child, 
    JavaeeAlternativesCommType> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Alternatives ElementName: xsd:string ElementType : class
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing class elements, 
    * a new class element 
    * @param values list of class objects 
    * @return the current instance of Alternatives 
    */
   public Alternatives clazz(String ... values);

   /**
    * Returns all class elements
    * @return list of class 
    */
   public List getAllClazz();

   /**
    * Removes the class element 
    * @return the current instance of Alternatives 
    */
   public Alternatives removeAllClazz();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Alternatives ElementName: xsd:string ElementType : stereotype
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing stereotype elements, 
    * a new stereotype element 
    * @param values list of stereotype objects 
    * @return the current instance of Alternatives 
    */
   public Alternatives stereotype(String ... values);

   /**
    * Returns all stereotype elements
    * @return list of stereotype 
    */
   public List getAllStereotype();

   /**
    * Removes the stereotype element 
    * @return the current instance of Alternatives 
    */
   public Alternatives removeAllStereotype();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy