package eu.dnetlib.domain.functionality;

import java.util.Date;

import eu.dnetlib.domain.DriverResource;


@SuppressWarnings("serial")
public class QueryHash extends DriverResource {
	String userId;
	int hashValue;
	
	public QueryHash() {
		this.setResourceKind("QueryHashDSResources");
		this.setResourceType("QueryHashDSResourceType");
		this.setDateOfCreation( new Date() );
		userId = "";
		hashValue = -1;
	}
	
	@Deprecated
	public String getId() {		
		return this.getResourceId();
	}

	@Deprecated
	public void setId( String id ) {
		this.setResourceId(id);
	}
	
	public String getUserId() {
		return this.userId;
	}

	public void setUserId( String id ) {
		this.userId = id;
	}

	public int getHashValue() {
		return this.hashValue;
	}

	public void setHashValue( int value ) {
		this.hashValue = value;
	}
}

