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

enterprises.orbital.evexmlapi.shared.IAsset Maven / Gradle / Ivy

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

import java.util.Collection;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

@JsonSerialize(
    as = IAsset.class)
public interface IAsset {
  public Collection getContainedAssets();

  public int getFlag();

  public long getItemID();

  public long getLocationID();

  public long getQuantity();

  public boolean isSingleton();

  public int getTypeID();

  /**
   * Slightly non-intuitive but this value only exists if "isSingleton" is true. We set this field to 0 if isSingleton is false. When isSingleton is true, this
   * field encodes the meaning of the old "negative quantity" interpretation. For example, -1 indicates a blueprint original, and -2 indicates a blueprint copy.
   * 
   * @return singleton meta data if isSingleton is true, otherwise 0.
   */
  public long getRawQuantity();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy