public class DataNormalizationRulesModel extends Object
Constructor and Description |
---|
DataNormalizationRulesModel(JDBCConnectionCredentials endpoint) |
DataNormalizationRulesModel(JDBCConnectionCredentials endpoint,
TableVersion tableVersion) |
Modifier and Type | Method and Description |
---|---|
Collection<DataNormalizationRule> |
compileOntologyToRules(String ontologyGraphURI)
Creates predefined rules for properties with range: Boolean, String, Date, Integer, NonNegativeInteger, NonPositiveInteger, Double/Decimal
|
Collection<DataNormalizationRule> |
getRules(Integer... groupIds)
selects rules that belong to groups whose IDs are among groupIds
|
Collection<DataNormalizationRule> |
getRules(String... groupLabels)
selects rules that belong to groups whose labels are among groupLabels
|
public DataNormalizationRulesModel(JDBCConnectionCredentials endpoint)
public DataNormalizationRulesModel(JDBCConnectionCredentials endpoint, TableVersion tableVersion)
public Collection<DataNormalizationRule> getRules(Integer... groupIds) throws DataNormalizationException
groupIds
- IDs of the rule groups from which the rules are selectedDataNormalizationException
public Collection<DataNormalizationRule> getRules(String... groupLabels) throws DataNormalizationException
groupLabels
- set of labels of groups from which the rules are selectedDataNormalizationException
public Collection<DataNormalizationRule> compileOntologyToRules(String ontologyGraphURI) throws DataNormalizationException
ontologyGraphURI
- URI of a graph containing ontology definition (expected to already exist in the database to which the DataNormalizationRulesModel is connected)DataNormalizationException
Copyright © 2013. All Rights Reserved.