Package org.hl7.v3

Class BN


public class BN extends ANYNonNull
The BooleanNonNull type is used where a Boolean cannot have a null value. A Boolean value can be either true or false.

Java class for BN complex type.

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

 <complexType name="BN">
   <complexContent>
     <extension base="{urn:hl7-org:v3}ANYNonNull">
       <attribute name="value" type="{urn:hl7-org:v3}bn" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • BN

      public BN()
  • Method Details

    • isValue

      public Boolean isValue()
      Gets the value of the value property.
      Returns:
      possible object is Boolean
    • setValue

      public void setValue(Boolean value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is Boolean
    • withValue

      public BN withValue(Boolean value)
    • withNullFlavor

      public BN withNullFlavor(String... values)
      Overrides:
      withNullFlavor in class ANYNonNull
    • withNullFlavor

      public BN withNullFlavor(Collection<String> values)
      Overrides:
      withNullFlavor in class ANYNonNull
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class ANYNonNull
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ANYNonNull
    • toString

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class ANYNonNull