/* CVS: $Id: SimpleResource.java,v 1.2 2001/03/18 20:54:12 gvijf Exp $ */ package evolution.resources; /** * A meta-instance of a Resource. * Used for all resources which can be completely defined in the propfiles. */ public class SimpleResource extends Resource { /** * Initialize this simple resource. */ public SimpleResource(String resourceName, double value, double min, double max, int function) { super(value, min, max, function); setName(resourceName); } /** * Return the name of this resource. */ public String getName() { return resourceName; } /** * Set the name of this resource. */ protected void setName(String resourceName) { this.resourceName = resourceName; } /** * The name of this resource. */ private String resourceName; }