public class Connection {
	private Loop loop = new Loop();
	private Region region = new Region();
	// Start and end form the 1st base pair of the region.
	private int start, end;
	private double xrad, yrad, angle;
	// True if segment between this connection and the
	// next must be extruded out of the circle
	private boolean extruded;
	// True if the extruded segment must be drawn long.
	private boolean broken;

	private boolean _isNull=false;

	public boolean isNull() {
		return _isNull;
	}

	public void setNull(boolean isNull) {
		_isNull = isNull;
	}


	public Loop getLoop() {
		return loop;
	}

	public void setLoop(Loop loop) {
		this.loop = loop;
	}

	public Region getRegion() {
		return region;
	}

	public void setRegion(Region region) {
		this.region = region;
	}

	public int getStart() {
		return start;
	}

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

	public int getEnd() {
		return end;
	}

	public void setEnd(int end) {
		this.end = end;
	}

	public double getXrad() {
		return xrad;
	}

	public void setXrad(double xrad) {
		this.xrad = xrad;
	}

	public double getYrad() {
		return yrad;
	}

	public void setYrad(double yrad) {
		this.yrad = yrad;
	}

	public double getAngle() {
		return angle;
	}

	public void setAngle(double angle) {
		this.angle = angle;
	}

	public boolean isExtruded() {
		return extruded;
	}

	public void setExtruded(boolean extruded) {
		this.extruded = extruded;
	}

	public boolean isBroken() {
		return broken;
	}

	public void setBroken(boolean broken) {
		this.broken = broken;
	}
}