com.ftpix.sherdogparser.models.Organization Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sherdog-parser Show documentation
Show all versions of sherdog-parser Show documentation
Library that parse sherdog website to provide java MMA database
package com.ftpix.sherdogparser.models;
import java.util.ArrayList;
import java.util.List;
public class Organization extends SherdogBaseObject {
private List events = new ArrayList<>();
public List getEvents() {
return events;
}
public void setEvents(List events) {
this.events = events;
}
@Override
public boolean equals(Object obj) {
try {
Organization org = (Organization) obj;
return org.getSherdogUrl().equalsIgnoreCase(this.sherdogUrl);
} catch (Exception e) {
return false;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy