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() |
protected Boolean |
parse(String theValue)
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one
|
asStringValue, equalsDeep, equalsShallow, fromStringValue, getValue, getValueAsString, hashCode, hasValue, isEmpty, isPrimitive, primitiveValue, readExternal, setValue, setValueAsString, toString, typedCopy, updateStringValue, writeExternaladdChild, addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, getProperty, hasExtension, hasExtension, hasId, hasIdElement, listChildren, makeProperty, setId, setIdElement, setProperty, setPropertycastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, listChildrenByName, listChildrenByName, setUserData, setUserDataINNclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, getValueAsString, setValue, setValueAsStringpublic 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 nullCopyright © 2014–2018 University Health Network. All rights reserved.