Package org.openehealth.ipf.boot.hl7v2
Class IpfHl7v2ConfigurationProperties
- java.lang.Object
-
- org.openehealth.ipf.boot.hl7v2.IpfHl7v2ConfigurationProperties
-
@ConfigurationProperties(prefix="ipf.hl7v2") public class IpfHl7v2ConfigurationProperties extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IpfHl7v2ConfigurationProperties.FileIdGeneratorProperties
-
Constructor Summary
Constructors Constructor Description IpfHl7v2ConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCharset()
Charset used for decoding and encoding HL7 messagesString
getGenerator()
Whether ID generator to use.IpfHl7v2ConfigurationProperties.FileIdGeneratorProperties
getIdGenerator()
boolean
isCaching()
Whether to instantiate a continuation cacheboolean
isConvertLinefeed()
Whether to convert line feeds to proper segment separators before parsing startsvoid
setCaching(boolean caching)
Whether to instantiate a continuation cachevoid
setCharset(String charset)
void
setConvertLinefeed(boolean convertLinefeed)
Whether to convert line feeds to proper segment separators before parsing startsvoid
setGenerator(String generator)
Whether ID generator to use.
-
-
-
Method Detail
-
setCharset
public void setCharset(String charset)
-
getCharset
public String getCharset()
Charset used for decoding and encoding HL7 messages
-
isConvertLinefeed
public boolean isConvertLinefeed()
Whether to convert line feeds to proper segment separators before parsing starts
-
setConvertLinefeed
public void setConvertLinefeed(boolean convertLinefeed)
Whether to convert line feeds to proper segment separators before parsing starts
-
isCaching
public boolean isCaching()
Whether to instantiate a continuation cache
-
setCaching
public void setCaching(boolean caching)
Whether to instantiate a continuation cache
-
getGenerator
public String getGenerator()
Whether ID generator to use. One of "file" (default), "uuid", "nano". Alternatively, you can provide your own bean of typeIDGenerator
.
-
setGenerator
public void setGenerator(String generator)
Whether ID generator to use. One of "file" (default), "uuid", "nano". Alternatively, you can provide your own bean of typeIDGenerator
.
-
getIdGenerator
public IpfHl7v2ConfigurationProperties.FileIdGeneratorProperties getIdGenerator()
-
-