89 lines
1.9 KiB
Java
89 lines
1.9 KiB
Java
|
/*
|
||
|
* Copyright (C) 2020 Christian Pierre MOMON <christian@momon.org>
|
||
|
*
|
||
|
* This file is part of StatoolInfos, simple service statistics tool.
|
||
|
*
|
||
|
* StatoolInfos 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.
|
||
|
*
|
||
|
* StatoolInfos 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 StatoolInfos. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
package fr.devinsy.statoolinfos.htmlize;
|
||
|
|
||
|
public class Breadcrumb
|
||
|
{
|
||
|
private String label;
|
||
|
private String link;
|
||
|
|
||
|
/**
|
||
|
* Instantiates a new breadcrumb.
|
||
|
*/
|
||
|
public Breadcrumb()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Instantiates a new breadcrumb.
|
||
|
*
|
||
|
* @param label
|
||
|
* the label
|
||
|
* @param link
|
||
|
* the link
|
||
|
*/
|
||
|
public Breadcrumb(final String label, final String link)
|
||
|
{
|
||
|
this.label = label;
|
||
|
this.link = link;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Gets the label.
|
||
|
*
|
||
|
* @return the label
|
||
|
*/
|
||
|
public String getLabel()
|
||
|
{
|
||
|
return this.label;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Gets the link.
|
||
|
*
|
||
|
* @return the link
|
||
|
*/
|
||
|
public String getLink()
|
||
|
{
|
||
|
return this.link;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Sets the label.
|
||
|
*
|
||
|
* @param label
|
||
|
* the new label
|
||
|
*/
|
||
|
public void setLabel(final String label)
|
||
|
{
|
||
|
this.label = label;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Sets the link.
|
||
|
*
|
||
|
* @param link
|
||
|
* the new link
|
||
|
*/
|
||
|
public void setLink(final String link)
|
||
|
{
|
||
|
this.link = link;
|
||
|
}
|
||
|
|
||
|
}
|