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

enterprises.orbital.impl.evexmlapi.act.ApiAPIKeyInfo Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package enterprises.orbital.impl.evexmlapi.act;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import enterprises.orbital.evexmlapi.act.IAPIKeyInfo;
import enterprises.orbital.evexmlapi.act.ICharacter;

public class ApiAPIKeyInfo implements IAPIKeyInfo {
  private long                     accessMask;
  private String                   type;
  private Date                     expires;
  private final List characters = new ArrayList();

  @Override
  public long getAccessMask() {
    return accessMask;
  }

  public void setAccessMask(long accessMask) {
    this.accessMask = accessMask;
  }

  @Override
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  @Override
  public Date getExpires() {
    return expires;
  }

  public void setExpires(Date expires) {
    this.expires = expires;
  }

  public void addCharacter(ApiCharacter c) {
    characters.add(c);
  }

  @Override
  public List getCharacters() {
    List result = new ArrayList();
    result.addAll(characters);
    return result;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy