io.baltoro.client.Record Maven / Gradle / Ivy
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);
}
}