package org.hl7.v3; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * * The BooleanNonNull type is used where a Boolean cannot * have a null value. A Boolean value can be either * true or false. * * * <p>Java class for BN complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="BN"> * <complexContent> * <extension base="{urn:hl7-org:v3}ANYNonNull"> * <attribute name="value" type="{urn:hl7-org:v3}bn" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BN") public class BN extends ANYNonNull { /** * */ private static final long serialVersionUID = 1L; @XmlAttribute protected Boolean value; /** * Gets the value of the value property. * * @return * possible object is * {@link Boolean } * */ public Boolean isValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link Boolean } * */ public void setValue(Boolean value) { this.value = value; } }