All Downloads are FREE. Search and download functionalities are using the official Maven repository.

enterprises.orbital.impl.evexmlapi.eve.ApiSkillGroup Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy