// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
package archadv;

public class Functionality {
	private String name;
	private boolean scalable;
	private boolean optional;
	private boolean updateable;
	public Functionality(String name, boolean scalable, boolean optional, boolean updateable) {
		this.name = name;
		this.scalable = scalable;
		this.optional = optional;
		this.updateable = updateable;
	}
	public String getName() {
		return name;
	}
	public boolean isScalable() {
		return scalable;
	}
	public boolean isOptional() {
		return optional;
	}
	public boolean isUpdateable() {
		return updateable;
	}
	@Override
	public String toString() {
		return name;
	}
}
