public class ProfileStoreFactory extends Object
| Constructor and Description |
|---|
ProfileStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addCodeStore(CodeStore store)
Registers a code store for use with all profiles.
|
static void |
addCodeStore(CodeStore store,
Pattern profileIdPattern)
Registers a code store for use with certain profiles.
|
static void |
addCodeStore(CodeStore store,
String profileID)
Registers a code store for use with a specific profile.
|
static CodeStore |
getCodeStore(String profileID,
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().
|
public ProfileStoreFactory()
public static ProfileStore getProfileStore()
public static void setStore(ProfileStore store)
public static void addCodeStore(CodeStore store)
public static void addCodeStore(CodeStore store, String profileID)
public static void addCodeStore(CodeStore store, Pattern profileIdPattern)
public static CodeStore getCodeStore(String profileID, String codeSystem)
Copyright © 2001-2012 University Health Network. All Rights Reserved.