|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uhn.hl7v2.conf.store.ProfileStoreFactory
public class ProfileStoreFactory
Provides access to a (configurable) ProfileStore.
Constructor Summary | |
---|---|
ProfileStoreFactory()
|
Method Summary | |
---|---|
static void |
addCodeStore(CodeStore store)
Registers a code store for use with all profiles. |
static void |
addCodeStore(CodeStore store,
java.util.regex.Pattern profileIdPattern)
Registers a code store for use with certain profiles. |
static void |
addCodeStore(CodeStore store,
java.lang.String profileID)
Registers a code store for use with a specific profile. |
static CodeStore |
getCodeStore(java.lang.String profileID,
java.lang.String codeSystem)
Returns the first code store that knows the codes in the given code system (as per CodeStore.knowsCodes) and is registered for the given profile. |
static ProfileStore |
getProfileStore()
Returns a single configurable instance of a ProfileStore. |
static void |
setStore(ProfileStore store)
Sets the profile store that will be returned in subsequent calls to getProfileStore(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileStoreFactory()
Method Detail |
---|
public static ProfileStore getProfileStore()
public static void setStore(ProfileStore store)
public static void addCodeStore(CodeStore store)
public static void addCodeStore(CodeStore store, java.lang.String profileID)
public static void addCodeStore(CodeStore store, java.util.regex.Pattern profileIdPattern)
public static CodeStore getCodeStore(java.lang.String profileID, java.lang.String codeSystem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |