//このクラスは仮です package hibernateTest.entities; public class Request { private Long rId; private String uri, date, IssuerUid, product, deadline; private int location;// YahooローカルサーチAPIの業種コード private boolean done = false; public Request(){ } public Request(String rId, String uri, String date, String IssuerUid, String product, String deadline, int location){ //setrId(rId); this.rId = Long.parseLong(rId); setUri(uri); setDate(date); setIssuerUid(IssuerUid); setProduct(product); setDeadline(deadline); setLocation(location); this.done = false; } private void setrId(Long rId){ this.rId = rId; } public Long getrId(){ return rId; } private void setUri(String uri){ this.uri = uri; } public String getUri(){ return uri; } private void setDate(String date){ this.date = date; } public String getDate() { return date; } private void setIssuerUid(String IssuerUid){ this.IssuerUid = IssuerUid; } public String getIssuerUid(){ return IssuerUid; } public String getProduct() { return product; } public void setProduct(String product) { this.product = product; } public String getDeadline() { return deadline; } public void setDeadline(String deadline) { this.deadline = deadline; } public int getLocation() { return location; } public void setLocation(int location) { this.location = location; } public boolean isDone() { return done; } public boolean getDone() { return done; } public void setDone(boolean done) { this.done = done; } }