org.lexevs.dao.database.sqlimplementedmethods.codednodeset
Class SIMCodedNodeSetDao

java.lang.Object
  extended by org.lexevs.dao.database.access.AbstractBaseDao
      extended by org.lexevs.dao.database.sqlimplementedmethods.codednodeset.SIMCodedNodeSetDao
All Implemented Interfaces:
CodedNodeSetDao, LexGridSchemaVersionAwareDao

public class SIMCodedNodeSetDao
extends AbstractBaseDao
implements CodedNodeSetDao

The Class SIMCodedNodeSetDao.

Author:
Kevin Peterson

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.lexevs.dao.database.access.LexGridSchemaVersionAwareDao
LexGridSchemaVersionAwareDao.IndividualDaoCallback<T>
 
Constructor Summary
SIMCodedNodeSetDao()
           
 
Method Summary
 Entity buildCodedEntry(java.lang.String codingSchemeName, java.lang.String version, java.lang.String code, java.lang.String namespace, LocalNameList restrictToProperties, CodedNodeSet.PropertyType[] restrictToPropertyTypes)
           
 Entity buildCodedEntry(java.lang.String codingSchemeName, java.lang.String version, java.lang.String code, java.lang.String namespace, LocalNameList restrictToProperties, PropertyDao.PropertyType[] restrictToPropertyTypes)
          Builds the coded entry.
 java.util.List<LexGridSchemaVersion> doGetSupportedLgSchemaVersions()
          Do get supported lg schema versions.
<T> T
executeInTransaction(LexGridSchemaVersionAwareDao.IndividualDaoCallback<T> callback)
          Execute in transaction.
 CodingScheme getCodingScheme(java.lang.String codingSchemeName, java.lang.String versionString)
          Gets the coding scheme.
 java.lang.String getCodingSchemeCopyright(java.lang.String codingSchemeName, java.lang.String tagOrVersion)
          Gets the coding scheme copyright.
 
Methods inherited from class org.lexevs.dao.database.access.AbstractBaseDao
createRandomIdentifier, createUniqueId, getPrefixResolver, getPrimaryKeyIncrementer, setPrefixResolver, setPrimaryKeyIncrementer, supportsLgSchemaVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.lexevs.dao.database.access.LexGridSchemaVersionAwareDao
supportsLgSchemaVersion
 

Constructor Detail

SIMCodedNodeSetDao

public SIMCodedNodeSetDao()
Method Detail

buildCodedEntry

public Entity buildCodedEntry(java.lang.String codingSchemeName,
                              java.lang.String version,
                              java.lang.String code,
                              java.lang.String namespace,
                              LocalNameList restrictToProperties,
                              CodedNodeSet.PropertyType[] restrictToPropertyTypes)

getCodingScheme

public CodingScheme getCodingScheme(java.lang.String codingSchemeName,
                                    java.lang.String versionString)
Description copied from interface: CodedNodeSetDao
Gets the coding scheme.

Specified by:
getCodingScheme in interface CodedNodeSetDao
Parameters:
codingSchemeName - the coding scheme name
versionString - the version
Returns:
the coding scheme

getCodingSchemeCopyright

public java.lang.String getCodingSchemeCopyright(java.lang.String codingSchemeName,
                                                 java.lang.String tagOrVersion)
Description copied from interface: CodedNodeSetDao
Gets the coding scheme copyright.

Specified by:
getCodingSchemeCopyright in interface CodedNodeSetDao
Parameters:
codingSchemeName - the coding scheme name
tagOrVersion - the version
Returns:
the coding scheme copyright

doGetSupportedLgSchemaVersions

public java.util.List<LexGridSchemaVersion> doGetSupportedLgSchemaVersions()
Description copied from class: AbstractBaseDao
Do get supported lg schema versions.

Specified by:
doGetSupportedLgSchemaVersions in class AbstractBaseDao
Returns:
the list< lex grid schema version>

buildCodedEntry

public Entity buildCodedEntry(java.lang.String codingSchemeName,
                              java.lang.String version,
                              java.lang.String code,
                              java.lang.String namespace,
                              LocalNameList restrictToProperties,
                              PropertyDao.PropertyType[] restrictToPropertyTypes)
Description copied from interface: CodedNodeSetDao
Builds the coded entry.

Specified by:
buildCodedEntry in interface CodedNodeSetDao
Parameters:
codingSchemeName - the coding scheme name
version - the version
code - the code
namespace - the namespace
restrictToProperties - the restrict to properties
restrictToPropertyTypes - the restrict to property types
Returns:
the entity

executeInTransaction

public <T> T executeInTransaction(LexGridSchemaVersionAwareDao.IndividualDaoCallback<T> callback)
Description copied from interface: LexGridSchemaVersionAwareDao
Execute in transaction.

Specified by:
executeInTransaction in interface LexGridSchemaVersionAwareDao
Parameters:
callback - the callback
Returns:
the t

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.