/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations under * the License. * * The Original Code is OpenELIS code. * * Copyright (C) ITECH, University of Washington, Seattle WA. All Rights Reserved. * */ package us.mn.state.health.lims.reports.valueholder; import java.sql.Timestamp; import us.mn.state.health.lims.common.valueholder.BaseObject; import us.mn.state.health.lims.common.valueholder.SimpleBaseEntity; import us.mn.state.health.lims.common.valueholder.ValueHolder; import us.mn.state.health.lims.common.valueholder.ValueHolderInterface; public class DocumentTrack extends BaseObject implements SimpleBaseEntity<String> { private static final long serialVersionUID = 1L; private String id; private String recordId; private String tableId; private String documentTypeId; private ValueHolderInterface parent = new ValueHolder(); private Timestamp reportTime; private String documentName; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getRecordId() { return recordId; } public void setRecordId(String recordId) { this.recordId = recordId; } public String getDocumentTypeId() { return documentTypeId; } public void setDocumentTypeId(String documentTypeId) { this.documentTypeId = documentTypeId; } public DocumentTrack getParent() { return (DocumentTrack)parent.getValue(); } public void setParent(DocumentTrack parent) { this.parent.setValue(parent); } public Timestamp getReportTime() { return reportTime; } public void setReportTime(Timestamp reportTime) { this.reportTime = reportTime; } public void setTableId(String tableId) { this.tableId = tableId; } public String getTableId() { return tableId; } public String getDocumentName() { return documentName; } public void setDocumentName(String documentName) { this.documentName = documentName; } }