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

io.baltoro.client.Record Maven / Gradle / Ivy

There is a newer version: 4.0.12
Show newest version
package io.baltoro.client;

import java.io.Serializable;

import io.baltoro.client.util.UUIDGenerator;

public class Record implements Serializable
{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	RecordList rList;
	String rUuid;
	
	Record()
	{
		this.rUuid = UUIDGenerator.uuid("RECD");
	}
	
	void setRecordList(RecordList rList)
	{
		this.rList = rList;
	}
	
	void add(String colName, Object value)
	{
		rList.recordColMap.put(rUuid+"-"+colName, value);
		
	}
	
	
	public Object getValue(String colName)
	{
		return rList.recordColMap.get(rUuid+"-"+colName);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy