Package org.openl.rules.dt
Class TwoDimensionDecisionTableTransformer
- java.lang.Object
-
- org.openl.rules.dt.TwoDimensionDecisionTableTransformer
-
- All Implemented Interfaces:
CoordinatesTransformer
- Direct Known Subclasses:
LookupHeadersTransformer
public class TwoDimensionDecisionTableTransformer extends Object implements CoordinatesTransformer
Transforms coordinates for table with two dimensions(table that has vertical and horizontal conditions).- Author:
- PUdalau
-
-
Field Summary
Fields Modifier and Type Field Description static intHCONDITION_HEADERS_HEIGHT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumn(int col, int row)intgetHeight()intgetRow(int col, int row)intgetWidth()
-
-
-
Field Detail
-
HCONDITION_HEADERS_HEIGHT
public static final int HCONDITION_HEADERS_HEIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHeight
public int getHeight()
- Specified by:
getHeightin interfaceCoordinatesTransformer- Returns:
- The height of logical table.
-
getWidth
public int getWidth()
- Specified by:
getWidthin interfaceCoordinatesTransformer- Returns:
- The width of logical table.
-
getColumn
public int getColumn(int col, int row)- Specified by:
getColumnin interfaceCoordinatesTransformer- Parameters:
col- The column of logical table.row- The row of logical table.- Returns:
- Coordinates inside the source table.
-
getRow
public int getRow(int col, int row)- Specified by:
getRowin interfaceCoordinatesTransformer- Parameters:
col- The column of logical table.row- The row of logical table.- Returns:
- Coordinates inside the source table.
-
-