com.github.adminfaces.template.model.BreadCrumb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of admin-template Show documentation
Show all versions of admin-template Show documentation
A responsive JSF template based on Bootstrap and Admin LTE.
package com.github.adminfaces.template.model;
/**
* Created by rafael-pestano on 30/11/16.
*/
public class BreadCrumb {
private String link;
private String title;
public BreadCrumb(String link, String title) {
this.link = link;
this.title = title;
}
public String getLink() {
return link;
}
public void setLink(String link) {
this.link = link;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
BreadCrumb that = (BreadCrumb) o;
return !(link != null ? !link.equals(that.link) : that.link != null);
}
@Override
public int hashCode() {
return link != null ? link.hashCode() : 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy