com.partnersoft.modules.inspection.data
Class InspectionGridCell
java.lang.Object
com.partnersoft.modules.inspection.data.InspectionGridCell
public class InspectionGridCell
- extends java.lang.Object
Data class for Inspection grids and their priority.
Copyright 2008 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Rich Stepanski
|
Constructor Summary |
InspectionGridCell(com.partnersoft.geometry.xy.XyGridCell cell,
double maxPriority,
int total)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InspectionGridCell
public InspectionGridCell(com.partnersoft.geometry.xy.XyGridCell cell,
double maxPriority,
int total)
getPriority
public double getPriority()
getCell
public com.partnersoft.geometry.xy.XyGridCell getCell()
getTotal
public int getTotal()
combine
public InspectionGridCell combine(InspectionGridCell gridCell)
- Sums statistics for both cells. Both cells must be for the same XyGridCell.
- Parameters:
cell -
- Throws:
java.lang.UnsupportedOperationException - if XyGridCells are not the same.