package eu.dnetlib.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * The base class for all domain objects in the driver domain. This class groups
 * all common information, such as the <i>resourceId</id> and the
 * <i>resourceUri</id>.
 * 
 */
public abstract class DriverResource implements Serializable {
	private static final long serialVersionUID = 1583061448986459014L;

	private String resourceId = null;
	private String resourceUri = null;
	private String resourceKind = null;
	private String resourceType = null;
	private Date dateOfCreation = null;

	public Date getDateOfCreation() {
		return dateOfCreation;
	}

	public void setDateOfCreation(Date dateOfCreation) {
		this.dateOfCreation = dateOfCreation;
	}

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}

	public String getResourceKind() {
		return resourceKind;
	}

	public void setResourceKind(String resourceKind) {
		this.resourceKind = resourceKind;
	}

	public String getResourceType() {
		return resourceType;
	}

	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	public String getResourceUri() {
		return resourceUri;
	}

	public void setResourceUri(String resourceUri) {
		this.resourceUri = resourceUri;
	}
}
