public class BooleanType extends PrimitiveType<Boolean> implements org.hl7.fhir.instance.model.api.IBaseBooleanDatatype
| Constructor and Description |
|---|
BooleanType() |
BooleanType(boolean theBoolean) |
BooleanType(Boolean theBoolean) |
BooleanType(String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue()
Returns the value of this type as a primitive boolean.
|
BooleanType |
copy() |
protected String |
encode(Boolean theValue)
Subclasses must override to convert a "coerced" value into an encoded one.
|
String |
fhirType() |
boolean |
isBooleanPrimitive() |
protected Boolean |
parse(String theValue)
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one
|
asStringValue, equalsDeep, equalsShallow, forceStringValue, fpValue, fromStringValue, getProperty, getTypesForProperty, getValue, getValueAsString, hashCode, hasPrimitiveValue, hasValue, isEmpty, isPrimitive, makeProperty, primitiveValue, readExternal, setProperty, setProperty, setValue, setValueAsString, toString, typedCopy, updateStringValue, writeExternaladdChild, addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, getNamedProperty, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, listChildren, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isDateTime, isMetadataBased, isResource, listChildrenByName, listChildrenByName, setUserData, setUserDataINNclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, getValueAsString, hasValue, setValue, setValueAsString, toValueOrNullgetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserDatapublic BooleanType()
public BooleanType(boolean theBoolean)
public BooleanType(Boolean theBoolean)
public BooleanType(String value)
public boolean booleanValue()
NullPointerException - If the value is not setpublic BooleanType copy()
copy in class PrimitiveType<Boolean>protected String encode(Boolean theValue)
PrimitiveTypeencode in class PrimitiveType<Boolean>theValue - Will not be nullprotected Boolean parse(String theValue)
PrimitiveTypeparse in class PrimitiveType<Boolean>theValue - Will not be nullpublic boolean isBooleanPrimitive()
isBooleanPrimitive in class BaseCopyright © 2014–2021 Health Level 7. All rights reserved.