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

org.jboss.shrinkwrap.descriptor.api.jobXML10.Decision Maven / Gradle / Ivy

The newest version!
package org.jboss.shrinkwrap.descriptor.api.jobXML10; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Properties;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.End;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Fail;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Next;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Stop;
import org.jboss.shrinkwrap.descriptor.api.jobXML.*;
import org.jboss.shrinkwrap.descriptor.api.jobXML.JslDecisionCommType;

import org.jboss.shrinkwrap.descriptor.api.jobXML10.Properties;/**
 * This interface defines the contract for the  Decision  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface Decision extends Child, 
    JslDecisionCommType,
    Properties>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Decision ElementName: jsl:End ElementType : end
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new end element will be created and returned.
    * Otherwise, the first existing end element will be returned.
    * @return the instance defined for the element end 
    */
   public End> getOrCreateEnd();

   /**
    * Creates a new end element 
    * @return the new created instance of End> 
    */
   public End> createEnd();

   /**
    * Returns all end elements
    * @return list of end 
    */
   public List>> getAllEnd();

   /**
    * Removes all end elements 
    * @return the current instance of End> 
    */
   public Decision removeAllEnd();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Decision ElementName: jsl:Fail ElementType : fail
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new fail element will be created and returned.
    * Otherwise, the first existing fail element will be returned.
    * @return the instance defined for the element fail 
    */
   public Fail> getOrCreateFail();

   /**
    * Creates a new fail element 
    * @return the new created instance of Fail> 
    */
   public Fail> createFail();

   /**
    * Returns all fail elements
    * @return list of fail 
    */
   public List>> getAllFail();

   /**
    * Removes all fail elements 
    * @return the current instance of Fail> 
    */
   public Decision removeAllFail();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Decision ElementName: jsl:Next ElementType : next
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new next element will be created and returned.
    * Otherwise, the first existing next element will be returned.
    * @return the instance defined for the element next 
    */
   public Next> getOrCreateNext();

   /**
    * Creates a new next element 
    * @return the new created instance of Next> 
    */
   public Next> createNext();

   /**
    * Returns all next elements
    * @return list of next 
    */
   public List>> getAllNext();

   /**
    * Removes all next elements 
    * @return the current instance of Next> 
    */
   public Decision removeAllNext();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Decision ElementName: jsl:Stop ElementType : stop
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new stop element will be created and returned.
    * Otherwise, the first existing stop element will be returned.
    * @return the instance defined for the element stop 
    */
   public Stop> getOrCreateStop();

   /**
    * Creates a new stop element 
    * @return the new created instance of Stop> 
    */
   public Stop> createStop();

   /**
    * Returns all stop elements
    * @return list of stop 
    */
   public List>> getAllStop();

   /**
    * Removes all stop elements 
    * @return the current instance of Stop> 
    */
   public Decision removeAllStop();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Decision ElementName: jsl:Properties ElementType : properties
   // MaxOccurs: -1  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new properties element with the given value will be created.
    * Otherwise, the existing properties element will be returned.
    * @return  a new or existing instance of Properties> 
    */
   public Properties> getOrCreateProperties();

   /**
    * Removes the properties element 
    * @return the current instance of Decision 
    */
   public Decision removeProperties();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Decision 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 Decision 
    */
   public Decision 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 Decision 
    */
   public Decision removeId();

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

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

   /**
    * Returns the ref attribute
    * @return the value defined for the attribute ref 
    */
   public String getRef();

   /**
    * Removes the ref attribute 
    * @return the current instance of Decision 
    */
   public Decision removeRef();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy