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

de.vdv.ojp20.EmissionCO2Structure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package de.vdv.ojp20;

import java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;


/**
 * Estimation of CO2 emissions.
 * 
 * 

Java class for EmissionCO2Structure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *           
 *             
 *               
 *             
 *           
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EmissionCO2Structure", propOrder = { "kilogramPerPersonKm", "confidenceLevel" }) public class EmissionCO2Structure { /** * Kilograms of CO2 emission by person and by kilometre. * */ @XmlElement(name = "KilogramPerPersonKm") protected float kilogramPerPersonKm; /** * Confidence level of the emission value in percent. * */ @XmlElement(name = "ConfidenceLevel") protected BigDecimal confidenceLevel; /** * Kilograms of CO2 emission by person and by kilometre. * */ public float getKilogramPerPersonKm() { return kilogramPerPersonKm; } /** * Sets the value of the kilogramPerPersonKm property. * */ public void setKilogramPerPersonKm(float value) { this.kilogramPerPersonKm = value; } /** * Confidence level of the emission value in percent. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getConfidenceLevel() { return confidenceLevel; } /** * Sets the value of the confidenceLevel property. * * @param value * allowed object is * {@link BigDecimal } * * @see #getConfidenceLevel() */ public void setConfidenceLevel(BigDecimal value) { this.confidenceLevel = value; } public EmissionCO2Structure withKilogramPerPersonKm(float value) { setKilogramPerPersonKm(value); return this; } public EmissionCO2Structure withConfidenceLevel(BigDecimal value) { setConfidenceLevel(value); return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy