org.apache.falcon.oozie.workflow
Class SWITCH

java.lang.Object
  extended by org.apache.falcon.oozie.workflow.SWITCH

public class SWITCH
extends Object

Java class for SWITCH complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SWITCH">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <sequence>
           <element name="case" type="{uri:oozie:workflow:0.3}CASE" maxOccurs="unbounded"/>
           <element name="default" type="{uri:oozie:workflow:0.3}DEFAULT"/>
         </sequence>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<CASE> _case
           
protected  DEFAULT _default
           
 
Constructor Summary
SWITCH()
           
 
Method Summary
 List<CASE> getCase()
          Gets the value of the case property.
 DEFAULT getDefault()
          Gets the value of the default property.
 void setDefault(DEFAULT value)
          Sets the value of the default property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_case

protected List<CASE> _case

_default

protected DEFAULT _default
Constructor Detail

SWITCH

public SWITCH()
Method Detail

getCase

public List<CASE> getCase()
Gets the value of the case property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the case property.

For example, to add a new item, do as follows:

    getCase().add(newItem);
 

Objects of the following type(s) are allowed in the list CASE


getDefault

public DEFAULT getDefault()
Gets the value of the default property.

Returns:
possible object is DEFAULT

setDefault

public void setDefault(DEFAULT value)
Sets the value of the default property.

Parameters:
value - allowed object is DEFAULT


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.