@Service @Transactional(readOnly=true) public class MetadataServiceImpl extends java.lang.Object implements IMetadataService
Constructor and Description |
---|
MetadataServiceImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<CdmMetaDataPropertyName,java.lang.String> |
getCdmMetadataMap()
Returns metadata corresponding to the underlying data source
|
java.lang.String |
getDbSchemaVersion()
Returns the CDM model schema version number
|
boolean |
isDbEmpty()
Returns a boolean flag to indicate whether the database is empty
|
void |
setDatabaseService(IDatabaseService databaseService) |
@Autowired public void setDatabaseService(IDatabaseService databaseService)
public java.lang.String getDbSchemaVersion() throws CdmSourceException
getDbSchemaVersion
in interface IMetadataService
CdmSourceException
- , incase of an underlying SQL errorpublic boolean isDbEmpty() throws CdmSourceException
isDbEmpty
in interface IMetadataService
CdmSourceException
- , incase of an underlying SQL errorpublic java.util.Map<CdmMetaDataPropertyName,java.lang.String> getCdmMetadataMap() throws CdmSourceException
getCdmMetadataMap
in interface IMetadataService
CdmSourceException
Copyright © 2007-2020 EDIT. All Rights Reserved.