blob: 0d6a0e6b97817b3c5f1ab0ae7fbd3beeb27e0945 [file] [log] [blame]
/*
* 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 org.apache.openmeetings.persistence.beans.basic;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
@Entity
@NamedQueries({
@NamedQuery(name = "getErrorValuesById", query = "select c from ErrorValue as c "
+ " where c.errorvalues_id = :errorvalues_id "
+ " AND c.deleted <> :deleted")
})
@Table(name = "errorvalue")
public class ErrorValue implements Serializable {
private static final long serialVersionUID = -1892810463706968018L;
@Id
@Column(name = "id")
private Long errorvalues_id;
@Column(name = "errortype_id")
private Long errortype_id;
@Column(name = "fieldvalues_id")
private Long fieldvalues_id;
@Column(name = "starttime")
private Date starttime;
@Column(name = "updatetime")
private Date updatetime;
@Column(name = "deleted")
private boolean deleted;
public Long getErrorvalues_id() {
return errorvalues_id;
}
public void setErrorvalues_id(Long errorvalues_id) {
this.errorvalues_id = errorvalues_id;
}
public Date getStarttime() {
return starttime;
}
public void setStarttime(Date starttime) {
this.starttime = starttime;
}
public Date getUpdatetime() {
return updatetime;
}
public void setUpdatetime(Date updatetime) {
this.updatetime = updatetime;
}
public boolean getDeleted() {
return deleted;
}
public void setDeleted(boolean deleted) {
this.deleted = deleted;
}
public Long getFieldvalues_id() {
return fieldvalues_id;
}
public void setFieldvalues_id(Long fieldvalues_id) {
this.fieldvalues_id = fieldvalues_id;
}
public Long getErrortype_id() {
//return errorType.getErrortype_id();
return errortype_id;
}
public void setErrortype_id(Long errortype_id) {
this.errortype_id = errortype_id;
}
}