@Component public class BooleanDatatype extends SerializingCustomDatatype<Boolean>
CustomDatatype.Summary
Constructor and Description |
---|
BooleanDatatype() |
Modifier and Type | Method and Description |
---|---|
Boolean |
deserialize(String serializedValue) |
String |
serialize(Boolean typedValue) |
doGetTextSummary, fromReferenceString, getReferenceStringForValue, getTextSummary, save, setConfiguration, validate
public String serialize(Boolean typedValue)
serialize
in class SerializingCustomDatatype<Boolean>
typedValue
- (has already had validate called)SerializingCustomDatatype.serialize(java.lang.Object)
public Boolean deserialize(String serializedValue)
deserialize
in class SerializingCustomDatatype<Boolean>
SerializingCustomDatatype.deserialize(java.lang.String)
Copyright © 2024 OpenMRS Inc.. All rights reserved.