package com.amalto.workbench.webservices; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for WSTransformerV2 complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="WSTransformerV2"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="processSteps" type="{http://www.talend.com/mdm}WSTransformerProcessStep" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "WSTransformerV2", propOrder = { "description", "name", "processSteps" }) public class WSTransformerV2 { protected String description; protected String name; @XmlElement(nillable = true) protected List<WSTransformerProcessStep> processSteps; /** * Default no-arg constructor * */ public WSTransformerV2() { super(); } /** * Fully-initialising value constructor * */ public WSTransformerV2(final String description, final String name, final List<WSTransformerProcessStep> processSteps) { this.description = description; this.name = name; this.processSteps = processSteps; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the processSteps property. * * <p> * 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 <CODE>set</CODE> method for the processSteps property. * * <p> * For example, to add a new item, do as follows: * <pre> * getProcessSteps().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link WSTransformerProcessStep } * * */ public List<WSTransformerProcessStep> getProcessSteps() { if (processSteps == null) { processSteps = new ArrayList<WSTransformerProcessStep>(); } return this.processSteps; } }