diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/api/v1/dto/Geometry.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/api/v1/dto/Geometry.java index 0a7c12750c079dbae5db58b1baf0660063597b13..437bc79fa5b48e85aac0e59d35f9e9017d72fe83 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/api/v1/dto/Geometry.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/api/v1/dto/Geometry.java @@ -130,6 +130,26 @@ public final class Geometry implements Serializable return height; } + /** + * Returns the number of columns. + * + * @return a non-negative number. + */ + public final int getNumberOfColumns() + { + return width; + } + + /** + * Returns the number of rows. + * + * @return a non-negative number. + */ + public final int getNumberOfRows() + { + return height; + } + /** * Returns the dimension on the x-axis. *