Java tutorial
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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 com.glaf.oa.assesscontent.model; import javax.persistence.Column; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; public class AssesscontentAndScore implements java.io.Serializable { private static final long serialVersionUID = 1L; @Column(name = "contentid") protected Long contentid; @Column(name = "sortid") protected Long sortid; @Column(name = "name") protected String name; @Column(name = "basis") protected String basis; @Column(name = "standard") protected Double standard; @Column(name = "scoreid") protected Long scoreid; @Column(name = "resultid") protected Long resultid; @Column(name = "score") protected Long score; @Column(name = "reason") protected String reason; public Long getContentid() { return contentid; } public void setContentid(Long contentid) { this.contentid = contentid; } public Long getSortid() { return sortid; } public void setSortid(Long sortid) { this.sortid = sortid; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getBasis() { return basis; } public void setBasis(String basis) { this.basis = basis; } public Double getStandard() { return standard; } public void setStandard(Double standard) { this.standard = standard; } public Long getScoreid() { return scoreid; } public void setScoreid(Long scoreid) { this.scoreid = scoreid; } public Long getResultid() { return resultid; } public void setResultid(Long resultid) { this.resultid = resultid; } public Long getScore() { return score; } public void setScore(Long score) { this.score = score; } public String getReason() { return reason; } public void setReason(String reason) { this.reason = reason; } public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE); } }