enterprises.orbital.impl.evexmlapi.eve.ApiSkillGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eve-xml-api Show documentation
Show all versions of eve-xml-api Show documentation
Library to interact with EVE XML API servers
package enterprises.orbital.impl.evexmlapi.eve;
import java.util.ArrayList;
import java.util.Collection;
import enterprises.orbital.evexmlapi.eve.ISkillGroup;
import enterprises.orbital.evexmlapi.eve.ISkillMember;
public class ApiSkillGroup implements Comparable, ISkillGroup {
private String groupName;
private int groupID;
private final Collection skills = new ArrayList();
@Override
public String getGroupName() {
return groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
@Override
public int getGroupID() {
return groupID;
}
public void setGroupID(int groupID) {
this.groupID = groupID;
}
public void addSkill(ApiSkill skill) {
skills.add(skill);
}
@Override
public Collection getSkills() {
return skills;
}
@Override
public int compareTo(ApiSkillGroup o) {
return groupName.compareTo(o.groupName);
}
}