com.exactpro.sf.common.impl.messages.xml.configuration.Message Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.3-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.04.08 at 11:55:29 AM MSK
//
package com.exactpro.sf.common.impl.messages.xml.configuration;
import java.io.Serializable;
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.XmlElements;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Message complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Message">
* <complexContent>
* <extension base="{http://exactprosystems.com/dictionary}Field">
* <sequence>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="field" type="{http://exactprosystems.com/dictionary}Field"/>
* <element name="message" type="{http://exactprosystems.com/dictionary}Message"/>
* </choice>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Message", propOrder = {
"fieldsAndMessages"
})
public class Message
extends Field
implements Serializable
{
private final static long serialVersionUID = -1L;
@XmlElements({
@XmlElement(name = "field"),
@XmlElement(name = "message", type = Message.class)
})
protected List fieldsAndMessages;
/**
* Gets the value of the fieldsAndMessages 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 fieldsAndMessages property.
*
*
* For example, to add a new item, do as follows:
*
* getFieldsAndMessages().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Field }
* {@link Message }
*
*
*/
public List getFieldsAndMessages() {
if (fieldsAndMessages == null) {
fieldsAndMessages = new ArrayList();
}
return this.fieldsAndMessages;
}
}