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

xdev.ui.ganttchart.model.XdevGanttEntryVTMappings Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
package xdev.ui.ganttchart.model;

/*-
 * #%L
 * XDEV BI Suite
 * %%
 * Copyright (C) 2011 - 2021 XDEV Software
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 * 
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * .
 * #L%
 */


import xdev.vt.VirtualTable;
import xdev.vt.VirtualTableColumn;

import com.jidesoft.gantt.GanttEntry;


/**
 * 
 * 
 * 
 * @author XDEV Software jwill
 * @since 4.0
 * 
 * @param 
 *            the concrete Gantt datatype, for example Date or
 *            Integer.
 */
public class XdevGanttEntryVTMappings
{
	/**
	 * the related mapping {@link VirtualTable}.
	 */
	private VirtualTable	relatedVT;
	
	
	/**
	 * @return the relatedVT
	 */
	public VirtualTable getVirtualTable()
	{
		return relatedVT;
	}
	
	
	/**
	 * 
	 * @param ganttDataVT
	 *            the {@link VirtualTable} to map {@link GanttEntry} fields
	 *            with.
	 */
	public XdevGanttEntryVTMappings(VirtualTable ganttDataVT)
	{
		
		this.relatedVT = ganttDataVT;
	}
	
	/**
	 * the unique id.
	 */
	private VirtualTableColumn		id;
	
	/**
	 * the start point.
	 */
	private VirtualTableColumn		start;
	
	/**
	 * the end point.
	 */
	private VirtualTableColumn		end;
	
	/**
	 * the description.
	 */
	private VirtualTableColumn	description;
	
	/**
	 * the completion.
	 */
	private VirtualTableColumn	completion;
	
	/**
	 * the root id (tree hierarchy).
	 */
	private VirtualTableColumn		root;
	
	
	/**
	 * @return the id
	 */
	public VirtualTableColumn getId()
	{
		return id;
	}
	
	
	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(VirtualTableColumn id)
	{
		this.id = id;
	}
	
	
	/**
	 * @return the start
	 */
	public VirtualTableColumn getStart()
	{
		return start;
	}
	
	
	/**
	 * @param start
	 *            the start to set
	 */
	public void setStart(VirtualTableColumn start)
	{
		this.start = start;
	}
	
	
	/**
	 * @return the end
	 */
	public VirtualTableColumn getEnd()
	{
		return end;
	}
	
	
	/**
	 * @param end
	 *            the end to set
	 */
	public void setEnd(VirtualTableColumn end)
	{
		this.end = end;
	}
	
	
	/**
	 * @return the description
	 */
	public VirtualTableColumn getDescription()
	{
		return description;
	}
	
	
	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(VirtualTableColumn description)
	{
		this.description = description;
	}
	
	
	/**
	 * @return the completion
	 */
	public VirtualTableColumn getCompletion()
	{
		return completion;
	}
	
	
	/**
	 * @param completion
	 *            the completion to set
	 */
	public void setCompletion(VirtualTableColumn completion)
	{
		this.completion = completion;
	}
	
	
	/**
	 * @return the root
	 */
	public VirtualTableColumn getRoot()
	{
		return root;
	}
	
	
	/**
	 * @param root
	 *            the root to set
	 */
	public void setRoot(VirtualTableColumn root)
	{
		this.root = root;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy