public class ResolutionSettings
extends java.lang.Object
implements java.lang.Cloneable
DataStructureBean
). A DSD
contains a number of Dimensions (DimensionBean
) a Dimension may declare a reference to a Codelist and a Concept through reference parameters.
If a system is to resolve the cross references, then it can do this by either of the following ways:
which is built from an XML message.
,
which is built from resolving all the cross referenced artifacts.
Modifier and Type | Class and Description |
---|---|
static class |
ResolutionSettings.RESOLVE_CROSS_REFERENCES
Flag options for handling Cross References
|
static class |
ResolutionSettings.RESOLVE_EXTERNAL_SETTING
Flag options for handling External References (structures not present but specified with a URI,
indicating a remote file containing the missing structures).
|
Constructor and Description |
---|
ResolutionSettings(ResolutionSettings.RESOLVE_EXTERNAL_SETTING resolveExternal,
ResolutionSettings.RESOLVE_CROSS_REFERENCES resolveCrossRef)
Constructor, all settings provided here, immutable hereafter.
|
ResolutionSettings(ResolutionSettings.RESOLVE_EXTERNAL_SETTING resolveExternal,
ResolutionSettings.RESOLVE_CROSS_REFERENCES resolveCrossRef,
int resolutionDepth)
Constructor, all settings provided here, immutable hereafter.
|
Modifier and Type | Method and Description |
---|---|
ResolutionSettings |
clone() |
int |
getResolutionDepth() |
ResolutionSettings.RESOLVE_CROSS_REFERENCES |
getResolveCrossRef() |
ResolutionSettings.RESOLVE_EXTERNAL_SETTING |
getResolveExternal() |
boolean |
isLenient()
Returns true if the cross referenced structures need to be resolved to exist
|
boolean |
isResolveAgencyReferences()
Returns true if the cross referenced structures need to be resolved to exist
|
boolean |
isResolveCrossReferences()
Returns true if the cross referenced structures need to be resolved to exist
|
boolean |
isResolveExternalReferences()
Returns true if external references are to be retrieved and replace the stub
|
boolean |
isSubstituteExternal()
Returns true if the resolved external references should be substituted for the maintainable stub
|
java.lang.String |
toString() |
public ResolutionSettings(ResolutionSettings.RESOLVE_EXTERNAL_SETTING resolveExternal, ResolutionSettings.RESOLVE_CROSS_REFERENCES resolveCrossRef, int resolutionDepth)
resolveExternal
- resolveCrossRef
- resolutionDepth
- - required if resolving references. 0 indicates resolve all, any other positive integer is the level of recursion to resolvepublic ResolutionSettings(ResolutionSettings.RESOLVE_EXTERNAL_SETTING resolveExternal, ResolutionSettings.RESOLVE_CROSS_REFERENCES resolveCrossRef)
resolveExternal
- resolveCrossRef
- public int getResolutionDepth()
public ResolutionSettings.RESOLVE_EXTERNAL_SETTING getResolveExternal()
public ResolutionSettings.RESOLVE_CROSS_REFERENCES getResolveCrossRef()
public boolean isResolveExternalReferences()
public boolean isResolveCrossReferences()
public boolean isResolveAgencyReferences()
public boolean isSubstituteExternal()
public boolean isLenient()
public ResolutionSettings clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object