no.kith.xmlstds.MO Maven / Gradle / Ivy
//
// 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: 2023.09.30 at 12:38:44 PM CEST
//
package no.kith.xmlstds;
import java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for MO complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MO">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="V" type="{http://www.w3.org/2001/XMLSchema}decimal" />
* <attribute name="U" type="{http://www.w3.org/2001/XMLSchema}token" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MO")
public final class MO {
@XmlAttribute(name = "V")
private final BigDecimal v;
@XmlAttribute(name = "U")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
private final String u;
public MO(final BigDecimal v, final String u) {
this.v = v;
this.u = u;
}
/**
* Used by JAX-B
*
*/
protected MO() {
this.v = null;
this.u = null;
}
/**
* Gets the value of the v property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getV() {
return v;
}
/**
* Gets the value of the u property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getU() {
return u;
}
public static MO.MOBuilder MOBuilder() {
return new MO.MOBuilder();
}
public static class MOBuilder {
private BigDecimal v;
private String u;
public MO.MOBuilder withV(final BigDecimal v) {
this.v = v;
return this;
}
public MO.MOBuilder withU(final String u) {
this.u = u;
return this;
}
public MO build() {
return new MO(v, u);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy