
eu.trentorise.opendata.semantics.model.provenance.Provenance Maven / Gradle / Ivy
/*
* Copyright 2013-2015 Trento Rise trentorise.eu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package eu.trentorise.opendata.semantics.model.provenance;
import java.util.Date;
/**
* @author Moaz Reyad
* @author David Leoni
* @date Apr 8, 2014
*/
public class Provenance {
// The date of the import process
private Date modificationDate;
// The user who executes the import process
private String userName;
// The URL of the dataset which was used during the import
private String URL;
// The accuracy of this attribute value
private float accuracy;
// A general note about this attribute value
private String note;
// The name of the property in the dataset, e.g. "Codice Fiscale"
private String property;
/**
* @return the modificationDate
*/
public Date getModificationDate() {
return modificationDate;
}
/**
* @param modificationDate the modificationDate to set
*/
public void setModificationDate(Date modificationDate) {
this.modificationDate = modificationDate;
}
/**
* @return the userName
*/
public String getUserName() {
return userName;
}
/**
* @param userName the userName to set
*/
public void setUserName(String userName) {
this.userName = userName;
}
/**
* todo url to phsical file? url to description like http://dati.trentino.it/dataset/elenco-progetti-co-finanziati-dall-unione-europea/resource/6d8dec15-c149-4ced-9426-898afdcf46c5 ?
* @return the URL of the dataset which was used during the import
*
*/
public String getURL() {
return URL;
}
/**
* todo meaning unclear see {@link #getURL}
* @param URL the URL to set
*/
public void setURL(String URL) {
this.URL = URL;
}
/**
* @return the accuracy
*/
public float getAccuracy() {
return accuracy;
}
/**
* @param accuracy the accuracy to set
*/
public void setAccuracy(float accuracy) {
this.accuracy = accuracy;
}
/**
* @return the note
*/
public String getNote() {
return note;
}
/**
* @param note the note to set
*/
public void setNote(String note) {
this.note = note;
}
/**
* @return the property
*/
public String getProperty() {
return property;
}
/**
* @param property the property to set
*/
public void setProperty(String property) {
this.property = property;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy