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 WSRoleSpecificationInstance complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="WSRoleSpecificationInstance"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="instanceName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="parameter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="writable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "WSRoleSpecificationInstance", propOrder = { "instanceName", "parameter", "writable" }) public class WSRoleSpecificationInstance { protected String instanceName; @XmlElement(nillable = true) protected List<String> parameter; protected boolean writable; /** * Default no-arg constructor * */ public WSRoleSpecificationInstance() { super(); } /** * Fully-initialising value constructor * */ public WSRoleSpecificationInstance(final String instanceName, final List<String> parameter, final boolean writable) { this.instanceName = instanceName; this.parameter = parameter; this.writable = writable; } /** * Gets the value of the instanceName property. * * @return * possible object is * {@link String } * */ public String getInstanceName() { return instanceName; } /** * Sets the value of the instanceName property. * * @param value * allowed object is * {@link String } * */ public void setInstanceName(String value) { this.instanceName = value; } /** * Gets the value of the parameter 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 parameter property. * * <p> * For example, to add a new item, do as follows: * <pre> * getParameter().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getParameter() { if (parameter == null) { parameter = new ArrayList<String>(); } return this.parameter; } /** * Gets the value of the writable property. * */ public boolean isWritable() { return writable; } /** * Sets the value of the writable property. * */ public void setWritable(boolean value) { this.writable = value; } }