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

uk.org.siri.siri21.MonitoredCountingStructure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2025.01.07 at 02:19:41 PM UTC 
//


package uk.org.siri.siri21;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Monitored counted values.
 * 
 * 

Java class for MonitoredCountingStructure complex type. * *

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

 * <complexType name="MonitoredCountingStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="CountingType" type="{http://www.siri.org.uk/siri}CountingTypeEnumeration"/>
 *         <element name="CountedFeatureUnit" type="{http://www.siri.org.uk/siri}CountedFeatureUnitEnumeration" minOccurs="0"/>
 *         <element name="TypeOfCountedFeature" type="{http://www.siri.org.uk/siri}TypeOfValueStructure" minOccurs="0"/>
 *         <choice>
 *           <element name="Count" type="{http://www.w3.org/2001/XMLSchema}integer"/>
 *           <element name="Percentage" type="{http://www.siri.org.uk/siri}PercentageType"/>
 *         </choice>
 *         <element name="Trend" type="{http://www.siri.org.uk/siri}CountingTrendEnumeration" minOccurs="0"/>
 *         <element name="Accuracy" type="{http://www.siri.org.uk/siri}PercentageType" minOccurs="0"/>
 *         <element name="Description" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="CountedItemsIdList" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="ItemId" type="{http://www.siri.org.uk/siri}IdType" maxOccurs="unbounded"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MonitoredCountingStructure", propOrder = { "countingType", "countedFeatureUnit", "typeOfCountedFeature", "percentage", "count", "trend", "accuracy", "descriptions", "countedItemsIdList", "extensions" }) @XmlSeeAlso({ uk.org.siri.siri21.FacilityConditionStructure.MonitoredCounting.class }) public class MonitoredCountingStructure implements Serializable { @XmlElement(name = "CountingType", required = true) @XmlSchemaType(name = "NMTOKEN") protected CountingTypeEnumeration countingType; @XmlElement(name = "CountedFeatureUnit") @XmlSchemaType(name = "NMTOKEN") protected CountedFeatureUnitEnumeration countedFeatureUnit; @XmlElement(name = "TypeOfCountedFeature") protected TypeOfValue typeOfCountedFeature; @XmlElement(name = "Percentage") protected BigDecimal percentage; @XmlElement(name = "Count") protected BigInteger count; @XmlElement(name = "Trend") @XmlSchemaType(name = "NMTOKEN") protected CountingTrendEnumeration trend; @XmlElement(name = "Accuracy") protected BigDecimal accuracy; @XmlElement(name = "Description") protected List descriptions; @XmlElement(name = "CountedItemsIdList") protected MonitoredCountingStructure.CountedItemsIdList countedItemsIdList; @XmlElement(name = "Extensions") protected Extensions extensions; /** * Gets the value of the countingType property. * * @return * possible object is * {@link CountingTypeEnumeration } * */ public CountingTypeEnumeration getCountingType() { return countingType; } /** * Sets the value of the countingType property. * * @param value * allowed object is * {@link CountingTypeEnumeration } * */ public void setCountingType(CountingTypeEnumeration value) { this.countingType = value; } /** * Gets the value of the countedFeatureUnit property. * * @return * possible object is * {@link CountedFeatureUnitEnumeration } * */ public CountedFeatureUnitEnumeration getCountedFeatureUnit() { return countedFeatureUnit; } /** * Sets the value of the countedFeatureUnit property. * * @param value * allowed object is * {@link CountedFeatureUnitEnumeration } * */ public void setCountedFeatureUnit(CountedFeatureUnitEnumeration value) { this.countedFeatureUnit = value; } /** * Gets the value of the typeOfCountedFeature property. * * @return * possible object is * {@link TypeOfValue } * */ public TypeOfValue getTypeOfCountedFeature() { return typeOfCountedFeature; } /** * Sets the value of the typeOfCountedFeature property. * * @param value * allowed object is * {@link TypeOfValue } * */ public void setTypeOfCountedFeature(TypeOfValue value) { this.typeOfCountedFeature = value; } /** * Gets the value of the percentage property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getPercentage() { return percentage; } /** * Sets the value of the percentage property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setPercentage(BigDecimal value) { this.percentage = value; } /** * Gets the value of the count property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getCount() { return count; } /** * Sets the value of the count property. * * @param value * allowed object is * {@link BigInteger } * */ public void setCount(BigInteger value) { this.count = value; } /** * Gets the value of the trend property. * * @return * possible object is * {@link CountingTrendEnumeration } * */ public CountingTrendEnumeration getTrend() { return trend; } /** * Sets the value of the trend property. * * @param value * allowed object is * {@link CountingTrendEnumeration } * */ public void setTrend(CountingTrendEnumeration value) { this.trend = value; } /** * Gets the value of the accuracy property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getAccuracy() { return accuracy; } /** * Sets the value of the accuracy property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setAccuracy(BigDecimal value) { this.accuracy = value; } /** * Gets the value of the descriptions 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 Jakarta XML Binding object. * This is why there is not a set method for the descriptions property. * *

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

     *    getDescriptions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } * * */ public List getDescriptions() { if (descriptions == null) { descriptions = new ArrayList(); } return this.descriptions; } /** * Gets the value of the countedItemsIdList property. * * @return * possible object is * {@link MonitoredCountingStructure.CountedItemsIdList } * */ public MonitoredCountingStructure.CountedItemsIdList getCountedItemsIdList() { return countedItemsIdList; } /** * Sets the value of the countedItemsIdList property. * * @param value * allowed object is * {@link MonitoredCountingStructure.CountedItemsIdList } * */ public void setCountedItemsIdList(MonitoredCountingStructure.CountedItemsIdList value) { this.countedItemsIdList = value; } /** * Gets the value of the extensions property. * * @return * possible object is * {@link Extensions } * */ public Extensions getExtensions() { return extensions; } /** * Sets the value of the extensions property. * * @param value * allowed object is * {@link Extensions } * */ public void setExtensions(Extensions value) { this.extensions = value; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="ItemId" type="{http://www.siri.org.uk/siri}IdType" maxOccurs="unbounded"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "itemIds" }) public static class CountedItemsIdList implements Serializable { @XmlElement(name = "ItemId", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected List itemIds; /** * Gets the value of the itemIds 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 Jakarta XML Binding object. * This is why there is not a set method for the itemIds property. * *

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

         *    getItemIds().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getItemIds() { if (itemIds == null) { itemIds = new ArrayList(); } return this.itemIds; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy