Class Aggressor

  • All Implemented Interfaces:
    Serializable

    public class Aggressor
    extends Object
    implements Serializable
    The aggressor corporation or alliance that declared this war, only contains either corporation_id or alliance_id
    See Also:
    Serialized Form
    • Constructor Detail

      • Aggressor

        public Aggressor()
    • Method Detail

      • getAllianceId

        @Nullable
        public Integer getAllianceId()
        Alliance ID if and only if the aggressor is an alliance
        Returns:
        allianceId
      • setAllianceId

        public void setAllianceId​(Integer allianceId)
      • getCorporationId

        @Nullable
        public Integer getCorporationId()
        Corporation ID if and only if the aggressor is a corporation
        Returns:
        corporationId
      • setCorporationId

        public void setCorporationId​(Integer corporationId)
      • iskDestroyed

        public Aggressor iskDestroyed​(Float iskDestroyed)
      • getIskDestroyed

        public Float getIskDestroyed()
        ISK value of ships the aggressor has destroyed
        Returns:
        iskDestroyed
      • setIskDestroyed

        public void setIskDestroyed​(Float iskDestroyed)
      • getShipsKilled

        public Integer getShipsKilled()
        The number of ships the aggressor has killed
        Returns:
        shipsKilled
      • setShipsKilled

        public void setShipsKilled​(Integer shipsKilled)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object