// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
public class TrailerAsset extends Asset {
    private int ownWeight;
    private int maxCargo;
    private int roof;
    public TrailerAsset() {
        this(0, "", 0, 0, 0);
    }
    public TrailerAsset(int id, String description, int ownWeight, int maxCargo, int roof) {
        super(id, description, TRAILER);
        this.ownWeight = ownWeight;
        this.maxCargo = maxCargo;
        this.roof = roof;
    }
    public int getOwnWeight() {
        return ownWeight;
    }
    public void setOwnWeight(int ownWeight) {
        this.ownWeight = ownWeight;
    }
    public int getMaxCargo() {
        return maxCargo;
    }
    public void setMaxCargo(int maxCargo) {
        this.maxCargo = maxCargo;
    }
    public int getRoof() {
        return roof;
    }
    public void setRoof(int roof) {
        this.roof = roof;
    }
}
