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

io.rudin.rt.api.container.ObjectContainer Maven / Gradle / Ivy

The newest version!
package io.rudin.rt.api.container;

/**
 * Event container object
 * @author user
 *
 */
public class ObjectContainer
{
	/**
	 * Creates a new container
	 * @param path
	 * @param data
	 */
	public ObjectContainer(String path, Object data)
	{
		this.data = data;
		this.path = path;
	}
	
	public ObjectContainer() {}
	
	public Object getData()
	{
		return data;
	}

	public void setData(Object data)
	{
		this.data = data;
	}

	public String getPath()
	{
		return path;
	}

	public void setPath(String path)
	{
		this.path = path;
	}

	/**
	 * The data object
	 */
	private Object data;
	
	/**
	 * The path of the object (user-defined)
	 */
	private String path;
	

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy