com.ibm.di.model.descriptor
Class ModeOption

java.lang.Object
  extended by com.ibm.di.model.descriptor.ModeOption
All Implemented Interfaces:
Serializable

public class ModeOption
extends Object
implements Serializable

Java class for ModeOption complex type.

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

 <complexType name="ModeOption">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="value" type="{http://www.ibm.com/xmlns/prod/tdi/71/core}ConnectorModesEnum"/>
         <element name="label" type="{http://www.ibm.com/xmlns/prod/tdi/71/core}Label" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Label> label
           
protected  ConnectorModesEnum value
           
 
Constructor Summary
ModeOption()
           
 
Method Summary
 List<Label> getLabels()
          Gets the value of the label property.
 ConnectorModesEnum getValue()
          Gets the value of the value property.
 void setValue(ConnectorModesEnum value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected ConnectorModesEnum value

label

protected List<Label> label
Constructor Detail

ModeOption

public ModeOption()
Method Detail

getValue

public ConnectorModesEnum getValue()
Gets the value of the value property.

Returns:
possible object is ConnectorModesEnum

setValue

public void setValue(ConnectorModesEnum value)
Sets the value of the value property.

Parameters:
value - allowed object is ConnectorModesEnum

getLabels

public List<Label> getLabels()
Gets the value of the label 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 label property.

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

 getLabel().add(newItem);
 

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