enterprises.orbital.evexmlapi.shared.IAsset 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.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();
}