org.hl7.types
Interface BL
- All Superinterfaces:
- ANY
- All Known Subinterfaces:
- BN
- All Known Implementing Classes:
- BLimpl
public interface BL
- extends ANY
BL stands for the values of two-valued logic. A
BL value can be either true or false, or, as any other value
may be NULL.
With any data value potentially being NULL, the two-valued logic is
effectively extended to a three-valued logic as shown in the following truth
tables:
Where a boolean operation is performed upon 2 data types with different
nullFlavors, the nullFlavor of the result is the first common ancestor of the
2 different nullFlavors, though conformant applications may also create a
result that is any common ancestor.
| Methods inherited from interface org.hl7.types.ANY |
equal, isNull, isNullJ, nonNull, nonNullJ, notApplicable, notApplicableJ, nullFlavor, other, otherJ, unknown, unknownJ |
TRUE_STRING
static final java.lang.String TRUE_STRING
FALSE_STRING
static final java.lang.String FALSE_STRING
and
BL and(BL x)
not
BL not()
or
BL or(BL x)
eor
BL eor(BL x)
implies
BL implies(BL x)
isTrue
boolean isTrue()
isFalse
boolean isFalse()
toString
java.lang.String toString()
- Overrides:
toString in class java.lang.Object