// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.9-04/09/2009 09:05 AM(mockbuild)-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2011.07.14 at 01:04:49 PM BST // package org.savara.scenario.model; 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.XmlAttribute; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for MessageEvent complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="MessageEvent"> * <complexContent> * <extension base="{http://www.savara.org/scenario}RoleEvent"> * <sequence> * <element name="parameter" type="{http://www.savara.org/scenario}Parameter" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="operationName" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="faultName" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MessageEvent", propOrder = { "parameter" }) @XmlSeeAlso({ ReceiveEvent.class, SendEvent.class }) public abstract class MessageEvent extends RoleEvent { protected List<Parameter> parameter; @XmlAttribute protected String operationName; @XmlAttribute protected String faultName; /** * 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 Parameter } * * */ public List<Parameter> getParameter() { if (parameter == null) { parameter = new ArrayList<Parameter>(); } return this.parameter; } /** * Gets the value of the operationName property. * * @return * possible object is * {@link String } * */ public String getOperationName() { return operationName; } /** * Sets the value of the operationName property. * * @param value * allowed object is * {@link String } * */ public void setOperationName(String value) { this.operationName = value; } /** * Gets the value of the faultName property. * * @return * possible object is * {@link String } * */ public String getFaultName() { return faultName; } /** * Sets the value of the faultName property. * * @param value * allowed object is * {@link String } * */ public void setFaultName(String value) { this.faultName = value; } }