net.antidot.semantic.rdf.rdb2rdf.r2rml.model.R2RMLMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of db2triples Show documentation
Show all versions of db2triples Show documentation
RDB2RDF Implementation from Antidot
/*
* Copyright 2011 Antidot [email protected]
* https://github.com/antidot/db2triples
*
* DB2Triples is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* DB2Triples is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
/***************************************************************************
*
* R2RMLModel : R2RML Mapping class
*
* Represents a set of TriplesMap objects which can compare
* with a mapping of a all tables of a database.
*
****************************************************************************/
package net.antidot.semantic.rdf.rdb2rdf.r2rml.model;
import java.util.Collection;
import java.util.HashSet;
public class R2RMLMapping {
private Collection triplesMaps;
public R2RMLMapping(Collection triplesMaps) {
super();
this.triplesMaps = new HashSet();
this.triplesMaps.addAll(triplesMaps);
}
/**
* @return
*/
public Collection getTriplesMaps() {
return triplesMaps;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy