org.projecthusky.common.hl7cdar2.MO Maven / Gradle / Ivy
/*
* This code is made available under the terms of the Eclipse Public License v1.0
* in the github project https://github.com/project-husky/husky there you also
* find a list of the contributors and the license information.
*
* This project has been developed further and modified by the joined working group Husky
* on the basis of the eHealth Connector opensource project from June 28, 2021,
* whereas medshare GmbH is the initial and main contributor/author of the eHealth Connector.
*
*/
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe http://java.sun.com/xml/jaxb
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2020.07.09 um 01:07:39 PM CEST
//
package org.projecthusky.common.hl7cdar2;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* A monetary amount is a quantity expressing the amount of money in some currency. Currencies are the units in which
* monetary amounts are denominated in different economic regions. While the monetary amount is a single kind of
* quantity (money) the exchange rates between the different units are variable. This is the principle difference
* between physical quantity and monetary amounts, and the reason why currency units are not physical units.
*
*
*
* Java-Klasse für MO complex type.
*
*
* Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="MO">
* <complexContent>
* <extension base="{urn:hl7-org:v3}QTY">
* <attribute name="value" type="{urn:hl7-org:v3}real" />
* <attribute name="currency" type="{urn:hl7-org:v3}cs" />
* </extension>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MO")
@XmlSeeAlso({SXCMMO.class, IVXBMO.class})
public class MO extends QTY {
@XmlAttribute(name = "value")
protected String value;
@XmlAttribute(name = "currency")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String currency;
/**
* Ruft den Wert der currency-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getCurrency() {
return currency;
}
/**
* Ruft den Wert der value-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getValue() {
return value;
}
/**
* Legt den Wert der currency-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setCurrency(String value) {
this.currency = value;
}
/**
* Legt den Wert der value-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setValue(String value) {
this.value = value;
}
}