All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.ejahns.model.Feature Maven / Gradle / Ivy

The newest version!
package com.github.ejahns.model;

import java.util.List;

import com.github.ejahns.model.interfaces.hastoken.HasDescription;
import com.github.ejahns.model.interfaces.hastoken.HasLineNumber;
import com.github.ejahns.model.interfaces.hastoken.HasName;
import com.github.ejahns.model.interfaces.haselement.HasTags;

public class Feature implements HasLineNumber, HasTags, HasName, HasDescription {

	private String absoluteLocation;
	private String relativeLocation;

	private String language;
	private int line;
	private List tags;
	private String name;
	private List description;
	private Background background;
	private List scenarios;

	public String getAbsoluteLocation() {
		return absoluteLocation;
	}

	//TODO don't expose this method
	public void setAbsoluteLocation(String absoluteLocation) {
		this.absoluteLocation = absoluteLocation;
	}

	public String getRelativeLocation() {
		return relativeLocation;
	}

	//TODO don't expose this method
	public void setRelativeLocation(String relativeLocation) {
		this.relativeLocation = relativeLocation;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	@Override
	public int getLine() {
		return line;
	}

	@Override
	public void setLine(int line) {
		this.line = line;
	}

	@Override
	public List getTags() {
		return tags;
	}

	@Override
	public void setTags(List tags) {
		this.tags = tags;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public void setName(String name) {
		this.name = name;
	}

	@Override
	public List getDescription() {
		return description;
	}

	@Override
	public void setDescription(List description) {
		this.description = description;
	}

	public Background getBackground() {
		return background;
	}

	public void setBackground(Background background) {
		this.background = background;
	}

	public List getScenarios() {
		return scenarios;
	}

	public void setScenarios(List scenarios) {
		this.scenarios = scenarios;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy