Package org.hl7.v3
Class BN
java.lang.Object
org.hl7.v3.ANY
org.hl7.v3.ANYNonNull
org.hl7.v3.BN
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 Summary
FieldsFields inherited from class org.hl7.v3.ANY
nullFlavor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()isValue()Gets the value of the value property.voidSets the value of the value property.toString()Generates a String representation of the contents of this type.withNullFlavor(String... values) withNullFlavor(Collection<String> values) Methods inherited from class org.hl7.v3.ANY
getNullFlavor
-
Field Details
-
value
-
-
Constructor Details
-
BN
public BN()
-
-
Method Details
-
isValue
Gets the value of the value property.- Returns:
- possible object is
Boolean
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isBoolean
-
withValue
-
withNullFlavor
- Overrides:
withNullFlavorin classANYNonNull
-
withNullFlavor
- Overrides:
withNullFlavorin classANYNonNull
-
equals
- Overrides:
equalsin classANYNonNull
-
hashCode
public int hashCode()- Overrides:
hashCodein classANYNonNull
-
toString
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin- Overrides:
toStringin classANYNonNull
-