001package csheets.ext.database.core;
002
003/**
004 * The cell structure for sync
005 * 
006 * @author Andre
007 * 
008 */
009public class CellDatabase {
010        /** content of the cell */
011        private final String content;
012        /** row of the cell */
013        private final int row;
014        /** column of the cell */
015        private final int column;
016
017        /**
018         * Creates a new cell structure for sync
019         * 
020         * @param content
021         *            content of the cell
022         * @param row
023         *            row of the cell
024         * @param column
025         *            column of the cell
026         */
027        public CellDatabase(String content, int row, int column) {
028                this.content = content;
029                this.row = row;
030                this.column = column;
031        }
032
033        /**
034         * Method that returns the content of the cell
035         * 
036         * @return the content of the cell
037         */
038        public String getContent() {
039                return content;
040        }
041
042        /**
043         * Method that returns the row of the cell
044         * 
045         * @return the row of the cell
046         */
047        public int getRow() {
048                return row;
049        }
050
051        /**
052         * Method that returns the column of the cell
053         * 
054         * @return the column of the cell
055         */
056        public int getColumn() {
057                return column;
058        }
059}