|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.caCore.connection.orm.utils.DBConnector
public class DBConnector
The junction point between the LexEVSAPI and the local LexBIG installation. Used to obtain information about the loaded vocabularies and their Database Connection information.
Constructor Summary | |
---|---|
DBConnector(LexEVSProperties properties)
Create a connection to a local LexBIG installation, given a set of properties. |
Method Summary | |
---|---|
CodingSchemeRendering |
getCodingSchemeRenderingForURIAndVersion(java.lang.String uri,
java.lang.String version)
Gets the Complete CodingSchemeRendering of a CodingScheme. |
CodingSchemeRendering[] |
getCodingSchemeRenderings()
|
java.lang.String |
getLocalDBNameForURIAndVersion(java.lang.String uri,
java.lang.String version)
Gets the local DB name (in other words, the name that this Coding Scheme uses to identify itself in the database). |
CodingSchemeTagList |
getTagList(java.lang.String uri,
java.lang.String version)
Returns the list of Tags associated with this Coding Scheme |
java.lang.String |
getURIFromCodingSchemeName(java.lang.String codingSchemeName,
CodingSchemeVersionOrTag tagOrVersion)
Returns the URI of the CodingScheme given a local name. |
boolean |
isCodingSchemeActive(java.lang.String name,
CodingSchemeVersionOrTag csvt)
Determines whether or not the requested Coding Scheme is active in the system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBConnector(LexEVSProperties properties)
properties
- LexEVSProperties used to establish a connection to the local LexBIG installationMethod Detail |
---|
public boolean isCodingSchemeActive(java.lang.String name, CodingSchemeVersionOrTag csvt) throws LBParameterException
name
- Local Name of the Coding Schemecsvt
- Version or Tag information
LBParameterException
public CodingSchemeTagList getTagList(java.lang.String uri, java.lang.String version) throws java.lang.Exception
uri
- URI of the Coding Schemeversion
- Version of the Coding Scheme
java.lang.Exception
public java.lang.String getURIFromCodingSchemeName(java.lang.String codingSchemeName, CodingSchemeVersionOrTag tagOrVersion) throws LBParameterException
codingSchemeName
- Local Name of the Coding SchemetagOrVersion
- tagOrVersion
- Version or Tag information
LBParameterException
public CodingSchemeRendering getCodingSchemeRenderingForURIAndVersion(java.lang.String uri, java.lang.String version) throws LBParameterException
uri
- URI of the Coding Schemeversion
- Version of the Coding Scheme
LBParameterException
public java.lang.String getLocalDBNameForURIAndVersion(java.lang.String uri, java.lang.String version) throws LBParameterException
uri
- URI of the Coding Schemeversion
- Version of the Coding Scheme
LBParameterException
public CodingSchemeRendering[] getCodingSchemeRenderings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |