package nl.tudelft.lifetiles.graph;

import java.util.Set;

/**
 * @author Rutger van den Berg Contains a partial sequence.
 */
public class SequenceSegment {
    /**
     * Contains the sources containing this segment.
     */
    private Set<String> sourcesVar;

    /**
     * The start position for this segment.
     */
    private long startVar;
    /**
     * The end position for this segment.
     */
    private long endVar;
    /**
     * The content of this segment.
     */
    private String contentVar;

    /**
     * @param sources
     *            The sources containing this segment.
     * @param startPosition
     *            The start position for this segment.
     * @param endPosition
     *            The end position for this segment.
     * @param content
     *            The content for this segment.
     */
    public SequenceSegment(final Set<String> sources, final long startPosition,
            final long endPosition, final String content) {
        sourcesVar = sources;
        startVar = startPosition;
        endVar = endPosition;
        contentVar = content;
    }

    /**
     * @return the sources
     */
    public final Set<String> getSourcesVar() {
        return sourcesVar;
    }

    /**
     * @return the start position
     */
    public final long getStartVar() {
        return startVar;
    }

    /**
     * @return the end position
     */
    public final long getEndVar() {
        return endVar;
    }

    /**
     * @return the content
     */
    public final String getContentVar() {
        return contentVar;
    }
}

package nl.tudelft.lifetiles.graph;

import java.util.Set;

/**
 * @author Rutger van den Berg Contains a partial sequence.
 */
public class SequenceSegment {
    /**
     * Contains the sources containing this segment.
     */
    private Set<String> sourcesVar;

    /**
     * The start position for this segment.
     */
    private long startVar;
    /**
     * The end position for this segment.
     */
    private long endVar;
    /**
     * The content of this segment.
     */
    private String contentVar;

    /**
     * @param sources
     *            The sources containing this segment.
     * @param startPosition
     *            The start position for this segment.
     * @param endPosition
     *            The end position for this segment.
     * @param content
     *            The content for this segment.
     */
    public SequenceSegment(final Set<String> sources, final long startPosition,
            final long endPosition, final String content) {
        sourcesVar = sources;
        startVar = startPosition;
        endVar = endPosition;
        contentVar = content;
    }

    /**
     * @return the sources
     */
    public final Set<String> getSources() {
        return sourcesVar;
    }

    /**
     * @return the start position
     */
    public final long getStart() {
        return startVar;
    }

    /**
     * @return the end position
     */
    public final long getEnd() {
        return endVar;
    }

    /**
     * @return the content
     */
    public final String getContent() {
        return contentVar;
    }
}

Fix names of getter/setters