public abstract class AbstractCachingValueSetDefinitionCompilerDecorator extends java.lang.Object implements ValueSetDefinitionCompiler
Constructor and Description |
---|
AbstractCachingValueSetDefinitionCompilerDecorator(ValueSetDefinitionCompiler delegate,
VSDServiceHelper vsdServiceHelper)
Instantiates a new caching value set definition compiler decorator.
|
Modifier and Type | Method and Description |
---|---|
CodedNodeSet |
compileValueSetDefinition(ValueSetDefinition vdd,
java.util.HashMap<java.lang.String,java.lang.String> refVersions,
java.lang.String versionTag,
java.util.HashMap<java.lang.String,ValueSetDefinition> referencedVSDs)
Compile value set definition.
|
protected abstract void |
persistCodedNodeSet(java.lang.String uuid,
CodedNodeSet cns)
Persist coded node set.
|
protected abstract CodedNodeSet |
retrieveCodedNodeSet(java.lang.String uuid)
Retrieve coded node set.
|
public AbstractCachingValueSetDefinitionCompilerDecorator(ValueSetDefinitionCompiler delegate, VSDServiceHelper vsdServiceHelper)
delegate
- the delegatepublic CodedNodeSet compileValueSetDefinition(ValueSetDefinition vdd, java.util.HashMap<java.lang.String,java.lang.String> refVersions, java.lang.String versionTag, java.util.HashMap<java.lang.String,ValueSetDefinition> referencedVSDs)
ValueSetDefinitionCompiler
compileValueSetDefinition
in interface ValueSetDefinitionCompiler
vdd
- the vddrefVersions
- the ref versionsversionTag
- the version tagreferencedVSDs
- - List of ValueSetDefinitions referenced by vsDef. If provided, these ValueSetDefinitions will be used to resolve vsDef.protected abstract void persistCodedNodeSet(java.lang.String uuid, CodedNodeSet cns)
uuid
- the uuidcns
- the cnsjava.lang.Exception
- the exceptionprotected abstract CodedNodeSet retrieveCodedNodeSet(java.lang.String uuid)
uuid
- the uuidjava.lang.Exception
- the exception