/**
* This file is part of Craftconomy3.
*
* Copyright (c) 2011-2016, Greatman <http://github.com/greatman/>
*
* Craftconomy3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Craftconomy3 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Craftconomy3. If not, see <http://www.gnu.org/licenses/>.
*/
package com.greatmancode.craftconomy3.account;
public class AccountACLValue {
private boolean deposit, withdraw, acl, balance, owner;
public AccountACLValue(boolean deposit, boolean withdraw, boolean acl, boolean balance, boolean owner) {
this.deposit = deposit;
this.withdraw = withdraw;
this.acl = acl;
this.balance = balance;
this.owner = owner;
}
public boolean canDeposit() {
return deposit;
}
public void setDeposit(boolean deposit) {
this.deposit = deposit;
}
public boolean canWithdraw() {
return withdraw;
}
public void setWithdraw(boolean withdraw) {
this.withdraw = withdraw;
}
public boolean canAcl() {
return acl;
}
public void setAcl(boolean acl) {
this.acl = acl;
}
public boolean canBalance() {
return balance;
}
public void setBalance(boolean balance) {
this.balance = balance;
}
public boolean isOwner() {
return owner;
}
public void setOwner(boolean owner) {
this.owner = owner;
}
}