/*
 * Skybot, a multipurpose discord bot
 *      Copyright (C) 2017  Duncan "duncte123" Sterken
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package ml.duncte123.skybot.objects;

/**
 * @author duncte123
 *
 * This is the model that all the tags use
 */
public class Tag {
    private String author;
    private String name;
    private String text;

    /**
     * The tag constructor
     * @param author Who made the tag? Username#discrim
     * @param name What is the tag called
     * @param text What to put into the tag
     */
    public Tag(String author, String name, String text) {
        this.author = author;
        this.name = name;
        this.text = text;
    }

    /**
     * Returns the tag name
     * @return the tag name
     */
    public String getName() {
        return name;
    }

    /**
     * Returns who created the tag
     * @return who created the tag
     */
    public String getAuthor() {
        return author;
    }

    /**
     * Returns the contends of the tag
     * @return the contends of the tag
     */
    public String getText() {
        return text;
    }
}

Create Tag model