Class DefaultDataRecord
- java.lang.Object
-
- de.uplanet.lucy.server.datatrans.table.DefaultDataRecord
-
- All Implemented Interfaces:
IDataObject
,IDataRecord
@Scriptable public class DefaultDataRecord extends Object implements IDataRecord
-
-
Constructor Summary
Constructors Constructor Description DefaultDataRecord(IDataWriter p_writer, Map<String,Class<?>> p_classes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValue(String p_strName)
Class<?>
getValueClass(String p_strName)
Collection<String>
getValueNames()
IDataWriter
getWriter()
Returns the writer from this data object has been returned ornull
, if none.void
setValue(String p_strName, Object p_value)
-
-
-
Constructor Detail
-
DefaultDataRecord
public DefaultDataRecord(IDataWriter p_writer, Map<String,Class<?>> p_classes)
-
-
Method Detail
-
getValue
public Object getValue(String p_strName) throws Exception
- Specified by:
getValue
in interfaceIDataRecord
- Throws:
Exception
-
setValue
public void setValue(String p_strName, Object p_value) throws Exception
- Specified by:
setValue
in interfaceIDataRecord
- Throws:
Exception
-
getValueClass
public Class<?> getValueClass(String p_strName)
- Specified by:
getValueClass
in interfaceIDataRecord
-
getValueNames
public Collection<String> getValueNames()
- Specified by:
getValueNames
in interfaceIDataRecord
-
getWriter
public IDataWriter getWriter()
Description copied from interface:IDataObject
Returns the writer from this data object has been returned ornull
, if none.- Specified by:
getWriter
in interfaceIDataObject
- Returns:
- A data writer.
-
-