Package org.ehrbase.response.ehrscape
Class StructuredString
- java.lang.Object
-
- org.ehrbase.response.ehrscape.StructuredString
-
- Direct Known Subclasses:
CompositionResponseData
public class StructuredString extends Object
Wrapper class for serializable data types in Ethercis. Attaches a format metadata parameter to a specific serialized content. Allowed formats are specified byStructuredStringFormat
-
-
Constructor Summary
Constructors Constructor Description StructuredString(String value, StructuredStringFormat format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuredStringFormatgetFormat()StringgetValue()voidsetFormat(StructuredStringFormat format)voidsetValue(String value)
-
-
-
Constructor Detail
-
StructuredString
public StructuredString(String value, StructuredStringFormat format)
-
-
Method Detail
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getFormat
public StructuredStringFormat getFormat()
-
setFormat
public void setFormat(StructuredStringFormat format)
-
-