// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
public class ToolAsset extends Asset {
    public static final int PERMOPEN = 1;
    public static final int COVERABLE = 2;
    public static final int REALROOF = 3;
    private String toolType;
    private String name;
    private int weight;
    public ToolAsset() {
        this(0, "", "", "", 0);
    }
    public ToolAsset(int id, String description, String toolType, String name, int weight) {
        super(id, description, TOOL);
        this.toolType = toolType;
        this.name = name;
        this.weight = weight;
    }
    public String getToolType() {
        return toolType;
    }
    public void setToolType(String toolType) {
        this.toolType = toolType;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getWeight() {
        return weight;
    }
    public void setWeight(int weight) {
        this.weight = weight;
    }
}
