Class GridRowModel<T>
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.GridRowModel<T>
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
,java.io.Serializable
public class GridRowModel<T> extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable, java.io.Serializable
Stores the original object which will be a basis to calculate a grid row together with calculated all custom columns values.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridRowModel(T originalObject, java.util.Map<java.lang.String,PrimitiveValue> calculatedColumnMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> GridRowModel<T>
createWithoutCustomColumns(T originalObject)
PrimitiveValue
findColumnValue(java.lang.String columnId)
java.util.Map<java.lang.String,PrimitiveValue>
getCalculatedColumnValues()
T
getOriginalObject()
java.lang.String
toString()
-
-
-
Constructor Detail
-
GridRowModel
public GridRowModel(T originalObject, java.util.Map<java.lang.String,PrimitiveValue> calculatedColumnMap)
-
-
Method Detail
-
createWithoutCustomColumns
public static <T> GridRowModel<T> createWithoutCustomColumns(T originalObject)
-
getOriginalObject
public T getOriginalObject()
-
getCalculatedColumnValues
public java.util.Map<java.lang.String,PrimitiveValue> getCalculatedColumnValues()
-
findColumnValue
public PrimitiveValue findColumnValue(java.lang.String columnId)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-