Emotes/src/main/java/dev/plex/emotes/util/EmoteMeta.java

107 lines
2.0 KiB
Java

package dev.plex.emotes.util;
import java.util.HashMap;
import java.util.List;
public class EmoteMeta
{
private String name;
private String command;
private String description;
private String usage;
private String author;
private HashMap<List<EmoteVariable>, String[]> lineMap;
private HashMap<EmoteVariable, String> variableMap;
public EmoteMeta(String name, String command, String description, String usage, String author, HashMap<List<EmoteVariable>, String[]> lineMap, HashMap<EmoteVariable, String> variableMap)
{
setName(name);
setCommand(command);
setDescription(description);
setUsage(usage);
setAuthor(author);
setLineMap(lineMap);
setVariableMap(variableMap);
}
public EmoteMeta()
{
}
public void setUsage(String usage)
{
this.usage = usage;
}
public void setDescription(String description)
{
this.description = description;
}
public void setCommand(String command)
{
this.command = command;
}
public void setName(String name)
{
this.name = name;
}
public void setAuthor(String author)
{
this.author = author;
}
public void setLineMap(HashMap<List<EmoteVariable>, String[]> lineMap)
{
this.lineMap = lineMap;
}
public void setVariableMap(HashMap<EmoteVariable, String> variableMap)
{
this.variableMap = variableMap;
}
public String getDescription()
{
return this.description;
}
public String getUsage()
{
return this.usage;
}
public String getName()
{
return this.name;
}
public String getAuthor()
{
return this.author;
}
public String getCommand()
{
return this.command;
}
public HashMap<EmoteVariable, String> getVariableMap()
{
return this.variableMap;
}
public HashMap<List<EmoteVariable>, String[]> getLineMap()
{
return this.lineMap;
}
}