// ============================================================================ // // Copyright (C) 2006-2016 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have received a copy of the agreement // along with this program; if not, write to Talend SA // 9 rue Pages 92150 Suresnes, France // // ============================================================================ package com.amalto.workbench.utils; public class DataModelFilter { String role; boolean readOnly; boolean writeAccess; boolean hiddenAccess; boolean all; public DataModelFilter(String role, boolean readOnly, boolean writeAccess, boolean hiddenAccess, boolean all) { this.role = role; this.readOnly = readOnly; this.writeAccess = writeAccess; this.hiddenAccess = hiddenAccess; this.all = all; } public boolean isAll() { return all; } public void setAll(boolean all) { this.all = all; } public String getRole() { return role; } public void setRole(String role) { this.role = role; } public boolean isReadOnly() { return readOnly; } public void setReadOnly(boolean readOnly) { this.readOnly = readOnly; } public boolean isWriteAccess() { return writeAccess; } public void setWriteAccess(boolean writeAccess) { this.writeAccess = writeAccess; } public boolean isHiddenAccess() { return hiddenAccess; } public void setHiddenAccess(boolean hiddenAccess) { this.hiddenAccess = hiddenAccess; } }