Subversion Repositories display

Rev

Blame | Last modification | View Log | RSS feed

/*
 * Copyright (C) 2011.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 3 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 */

package test.display.check;

/**
 * @author Steve Ratcliffe
 */

public class Subsection {
        private int offset;
        private int length;
        private int start;

        public int getOffset() {
                return getStart() + offset;
        }

        public void setOffset(int offset) {
                this.offset = offset;
        }

        public int getLength() {
                return length;
        }

        public void setLength(int length) {
                this.length = length;
        }

        public int getStart() {
                return start;
        }

        public void setStart(int start) {
                this.start = start;
        }
}