package org.openlca.cloud.model.data; public class FetchRequestData extends Dataset { private static final long serialVersionUID = 417426973222267018L; private boolean deleted; private boolean added; public FetchRequestData() { } public FetchRequestData(Dataset descriptor) { refId = descriptor.refId; type = descriptor.type; version = descriptor.version; lastChange = descriptor.lastChange; name = descriptor.name; categoryRefId = descriptor.categoryRefId; categoryType = descriptor.categoryType; fullPath = descriptor.fullPath; } public void setDeleted(boolean deleted) { this.deleted = deleted; } public void setAdded(boolean added) { this.added = added; } public boolean isDeleted() { return deleted; } public boolean isAdded() { return added; } }