Package com.ibm.di.model.descriptor
Class Option
- java.lang.Object
-
- com.ibm.di.model.descriptor.Option
-
- All Implemented Interfaces:
java.io.Serializable
public class Option extends java.lang.Object implements java.io.Serializable
Java class for Option complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Option"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="label" type="{http://www.ibm.com/xmlns/prod/tdi/71/core}Label" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Option()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Label>
getLabels()
Gets the value of the label property.java.lang.String
getValue()
Gets the value of the value property.void
setValue(java.lang.String value)
Sets the value of the value property.
-
-
-
Field Detail
-
value
protected java.lang.String value
-
label
protected java.util.List<Label> label
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(java.lang.String value)
Sets the value of the value property.- Parameters:
value
- allowed object isString
-
getLabels
public java.util.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
-
-