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

enterprises.orbital.impl.evexmlapi.api.ApiCallOrGroup Maven / Gradle / Ivy

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

import enterprises.orbital.evexmlapi.api.ICall;
import enterprises.orbital.evexmlapi.api.ICallGroup;

public class ApiCallOrGroup {
  private int    groupID;
  private String name;
  private String description;
  private long   accessMask;
  private String type;

  public int getGroupID() {
    return groupID;
  }

  public void setGroupID(int groupID) {
    this.groupID = groupID;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public long getAccessMask() {
    return accessMask;
  }

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

  public String getType() {
    return type;
  }

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

  public ICall asCall() {
    return new ICall() {

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

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

      @Override
      public String getName() {
        return name;
      }

      @Override
      public int getGroupID() {
        return groupID;
      }

      @Override
      public String getDescription() {
        return description;
      }

    };
  }

  public ICallGroup asCallGroup() {
    return new ICallGroup() {

      @Override
      public int getGroupID() {
        return groupID;
      }

      @Override
      public String getName() {
        return name;
      }

      @Override
      public String getDescription() {
        return description;
      }

    };
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy