All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.ctakes.ytex.uima.model.DocumentClass Maven / Gradle / Ivy

The newest version!
/**
 * 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.ctakes.ytex.uima.model;

import java.io.Serializable;

/**
 * Mapped to document_class.
 * Used to store gold standard document class and predicted document class.
 * @author vijay
 *
 */
public class DocumentClass implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int documentClassID;
//	private int id;
	private String task;
	private Integer classAuto;
	private Integer classGold;
	private Document document;
	
	public Document getDocument() {
		return document;
	}
	public void setDocument(Document document) {
		this.document = document;
	}
	public int getDocumentClassID() {
		return documentClassID;
	}
	public void setDocumentClassID(int documentClassID) {
		this.documentClassID = documentClassID;
	}
//	public int getId() {
//		return id;
//	}
//	public void setId(int id) {
//		this.id = id;
//	}
	public String getTask() {
		return task;
	}
	public void setTask(String task) {
		this.task = task;
	}
	public Integer getClassAuto() {
		return classAuto;
	}
	public void setClassAuto(Integer classAuto) {
		this.classAuto = classAuto;
	}
	public Integer getClassGold() {
		return classGold;
	}
	public void setClassGold(Integer classGold) {
		this.classGold = classGold;
	}
	public DocumentClass() {
		super();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy