|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Loader
The loader interface validates and/or loads content for a service.
Method Summary | |
---|---|
void |
clearLog()
Clears any associated log entries. |
CodingSchemeManifest |
getCodingSchemeManifest()
Get the CodingSchemeManifest that would be used to modify the ontology content. |
java.net.URI |
getCodingSchemeManifestURI()
Get the URI of the codingSchemeManifest that would be used to modify the ontology content. |
AbsoluteCodingSchemeVersionReference[] |
getCodingSchemeReferences()
Returns absolute references for coding schemes loaded or used by the most recent operation; empty if not applicable. |
LoaderPreferences |
getLoaderPreferences()
Returns the current LoaderPreferences object. |
LogEntry[] |
getLog(LogLevel level)
Returns log entries for the current or most recent load operation that match a particular status; null if no operation has been attempted. |
OntologyFormat |
getOntologyFormat()
Return the ontology format the loader can handle |
OptionHolder |
getOptions()
|
LoadStatus |
getStatus()
Returns status of the current or most recent load or validate operation; null if no operation has been attempted. |
void |
load(java.net.URI resource)
|
void |
setCodingSchemeManifest(CodingSchemeManifest codingSchemeManifest)
Set the CodingSchemeManifest that would be used to modify the ontology content. |
void |
setCodingSchemeManifestURI(java.net.URI codingSchemeManifestUri)
Set the URI of the codingSchemeManifest that would be used to modify the ontology content. |
void |
setLoaderPreferences(LoaderPreferences loaderPreferences)
Sets the Loader's LoaderPreferences. |
void |
setLoaderPreferences(java.net.URI loaderPreferencesURI)
Sets the Loader's LoaderPreferences URI. |
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Extendable |
---|
getDescription, getName, getProvider, getVersion |
Method Detail |
---|
void load(java.net.URI resource)
OptionHolder getOptions()
void clearLog()
AbsoluteCodingSchemeVersionReference[] getCodingSchemeReferences()
LogEntry[] getLog(LogLevel level)
getLog
in interface StatusReporter
status
- One of several log levels defined by the system,
or null to return all log entries.LoadStatus getStatus()
getStatus
in interface StatusReporter
void setCodingSchemeManifest(CodingSchemeManifest codingSchemeManifest)
csm
- CodingSchemeManifest getCodingSchemeManifest()
csm
- void setCodingSchemeManifestURI(java.net.URI codingSchemeManifestUri) throws LBException
csm
-
LBException
java.net.URI getCodingSchemeManifestURI()
csm
- LoaderPreferences getLoaderPreferences()
void setLoaderPreferences(LoaderPreferences loaderPreferences) throws LBParameterException
loaderPreferences
- The LoaderPreference object to be loaded. It is recommended that all implementing
classes check if the LoaderPreferences object is valid for the loader.
LBParameterException
void setLoaderPreferences(java.net.URI loaderPreferencesURI) throws LBParameterException
loaderPreferences
- The LoaderPreference URI file to be loaded.
LBParameterException
OntologyFormat getOntologyFormat()
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |