All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.exactpro.sf.common.impl.messages.xml.configuration.Field Maven / Gradle / Ivy

There is a newer version: 3.4.260
Show newest version
//
// 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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for Field complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Field">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <sequence minOccurs="0">
 *           <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         </sequence>
 *         <sequence minOccurs="0">
 *           <element name="attribute" type="{http://exactprosystems.com/dictionary}Attribute" maxOccurs="unbounded" minOccurs="0"/>
 *         </sequence>
 *         <sequence minOccurs="0">
 *           <element name="value" type="{http://exactprosystems.com/dictionary}Attribute" maxOccurs="unbounded" minOccurs="0"/>
 *         </sequence>
 *       </sequence>
 *       <attribute name="isServiceName" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="isCollection" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="defaultvalue" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="type" type="{http://exactprosystems.com/dictionary}JavaType" />
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *       <attribute name="reference" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *       <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Field", propOrder = { "description", "attributes", "values" }) @XmlSeeAlso({ Message.class }) public class Field implements Serializable { private final static long serialVersionUID = -1L; protected String description; @XmlElement(name = "attribute") protected List attributes; @XmlElement(name = "value") protected List values; @XmlAttribute protected Boolean isServiceName; @XmlAttribute protected Boolean isCollection; @XmlAttribute protected String defaultvalue; @XmlAttribute protected JavaType type; @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute @XmlIDREF @XmlSchemaType(name = "IDREF") protected Object reference; @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String name; @XmlAttribute protected Boolean required; /** * 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 attributes 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 attributes property. * *

* For example, to add a new item, do as follows: *

     *    getAttributes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Attribute } * * */ public List getAttributes() { if (attributes == null) { attributes = new ArrayList(); } return this.attributes; } /** * Gets the value of the values 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 values property. * *

* For example, to add a new item, do as follows: *

     *    getValues().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Attribute } * * */ public List getValues() { if (values == null) { values = new ArrayList(); } return this.values; } /** * Gets the value of the isServiceName property. * * @return * possible object is * {@link Boolean } * */ public boolean isIsServiceName() { if (isServiceName == null) { return false; } else { return isServiceName; } } /** * Sets the value of the isServiceName property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsServiceName(Boolean value) { this.isServiceName = value; } /** * Gets the value of the isCollection property. * * @return * possible object is * {@link Boolean } * */ public boolean isIsCollection() { if (isCollection == null) { return false; } else { return isCollection; } } /** * Sets the value of the isCollection property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsCollection(Boolean value) { this.isCollection = value; } /** * Gets the value of the defaultvalue property. * * @return * possible object is * {@link String } * */ public String getDefaultvalue() { return defaultvalue; } /** * Sets the value of the defaultvalue property. * * @param value * allowed object is * {@link String } * */ public void setDefaultvalue(String value) { this.defaultvalue = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link JavaType } * */ public JavaType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link JavaType } * */ public void setType(JavaType value) { this.type = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the reference property. * * @return * possible object is * {@link Object } * */ public Object getReference() { return reference; } /** * Sets the value of the reference property. * * @param value * allowed object is * {@link Object } * */ public void setReference(Object value) { this.reference = 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 required property. * * @return * possible object is * {@link Boolean } * */ public boolean isRequired() { if (required == null) { return false; } else { return required; } } /** * Sets the value of the required property. * * @param value * allowed object is * {@link Boolean } * */ public void setRequired(Boolean value) { this.required = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy