1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-05 00:43:44 +01:00
Jobs/com/gamingmesh/jobs/container/ShopItem.java

137 lines
2.7 KiB
Java
Raw Normal View History

2016-03-30 15:42:36 +02:00
package com.gamingmesh.jobs.container;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class ShopItem {
private String NodeName = null;
private double price = 0D;
2016-06-25 09:13:06 +02:00
private int slot = -1;
private int page = -1;
2016-03-30 15:42:36 +02:00
private int IconId = 1;
private int IconData = 0;
private int IconAmount = 1;
private String IconName = null;
private List<String> IconLore = new ArrayList<String>();
private boolean HideWithoutPerm = false;
private List<String> RequiredPerm = new ArrayList<String>();
private HashMap<String, Integer> RequiredJobs = new HashMap<String, Integer>();
private List<String> Commands = new ArrayList<String>();
private List<JobItems> items = new ArrayList<JobItems>();
public ShopItem(String NodeName, double price, int IconId) {
this.NodeName = NodeName;
this.price = price;
this.IconId = IconId;
}
2016-06-25 09:13:06 +02:00
public void setPage(Integer page) {
this.page = page;
}
public int getPage() {
return this.page;
}
public void setSlot(Integer slot) {
this.slot = slot;
}
public int getSlot() {
return this.slot;
}
2016-03-30 15:42:36 +02:00
public void setitems(List<JobItems> items) {
this.items = items;
}
public List<JobItems> getitems() {
return this.items;
}
public void setCommands(List<String> Commands) {
this.Commands = Commands;
}
public List<String> getCommands() {
return this.Commands;
}
public void setRequiredJobs(HashMap<String, Integer> RequiredJobs) {
this.RequiredJobs = RequiredJobs;
}
public HashMap<String, Integer> getRequiredJobs() {
return this.RequiredJobs;
}
public void setRequiredPerm(List<String> RequiredPerm) {
this.RequiredPerm = RequiredPerm;
}
public List<String> getRequiredPerm() {
return this.RequiredPerm;
}
public void setHideWithoutPerm(boolean HideWithoutPerm) {
this.HideWithoutPerm = HideWithoutPerm;
}
public boolean isHideWithoutPerm() {
return this.HideWithoutPerm;
}
public void setIconLore(List<String> IconLore) {
this.IconLore = IconLore;
}
public List<String> getIconLore() {
return this.IconLore;
}
public String getNodeName() {
return this.NodeName;
}
public int getIconId() {
return this.IconId;
}
public int getIconData() {
return this.IconData;
}
public void setIconData(int IconData) {
this.IconData = IconData;
}
public double getPrice() {
return this.price;
}
public void setIconAmount(int IconAmount) {
this.IconAmount = IconAmount;
}
public int getIconAmount() {
return this.IconAmount;
}
public void setIconName(String IconName) {
this.IconName = IconName;
}
public String getIconName() {
return this.IconName;
}
}