org.projecthusky.common.hl7cdar2.BIN 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 org.checkerframework.checker.nullness.qual.NonNull;
import javax.xml.bind.annotation.*;
/**
* Binary data is a raw block of bits. Binary data is a protected type that MUST not be used outside the data type
* specification.
*
*
*
* Java-Klasse für BIN complex type.
*
*
* Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="BIN">
* <complexContent>
* <extension base="{urn:hl7-org:v3}ANY">
* <attribute name="representation" type="{urn:hl7-org:v3}BinaryDataEncoding" default="TXT" />
* </extension>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BIN")
@XmlSeeAlso({ED.class})
public abstract class BIN extends ANY {
@XmlAttribute(name = "representation")
protected BinaryDataEncoding representation;
/**
* Ruft den Wert der representation-Eigenschaft ab.
*
* @return possible object is {@link BinaryDataEncoding }
*/
@NonNull
public BinaryDataEncoding getRepresentation() {
if (representation == null) {
return BinaryDataEncoding.TXT;
} else {
return representation;
}
}
/**
* Legt den Wert der representation-Eigenschaft fest.
*
* @param value allowed object is {@link BinaryDataEncoding }
*/
public void setRepresentation(BinaryDataEncoding value) {
this.representation = value;
}
}