Package net.troja.eve.esi.model
Class Defender
- java.lang.Object
-
- net.troja.eve.esi.model.Defender
-
- All Implemented Interfaces:
Serializable
public class Defender extends Object implements Serializable
The defending corporation or alliance that declared this war, only contains either corporation_id or alliance_id- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ALLIANCE_IDstatic StringSERIALIZED_NAME_CORPORATION_IDstatic StringSERIALIZED_NAME_ISK_DESTROYEDstatic StringSERIALIZED_NAME_SHIPS_KILLED
-
Constructor Summary
Constructors Constructor Description Defender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefenderallianceId(Integer allianceId)DefendercorporationId(Integer corporationId)booleanequals(Object o)IntegergetAllianceId()Alliance ID if and only if the defender is an allianceIntegergetCorporationId()Corporation ID if and only if the defender is a corporationFloatgetIskDestroyed()ISK value of ships the defender has killedIntegergetShipsKilled()The number of ships the defender has killedinthashCode()DefenderiskDestroyed(Float iskDestroyed)voidsetAllianceId(Integer allianceId)voidsetCorporationId(Integer corporationId)voidsetIskDestroyed(Float iskDestroyed)voidsetShipsKilled(Integer shipsKilled)DefendershipsKilled(Integer shipsKilled)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ALLIANCE_ID
public static final String SERIALIZED_NAME_ALLIANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CORPORATION_ID
public static final String SERIALIZED_NAME_CORPORATION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISK_DESTROYED
public static final String SERIALIZED_NAME_ISK_DESTROYED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHIPS_KILLED
public static final String SERIALIZED_NAME_SHIPS_KILLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAllianceId
@Nullable public Integer getAllianceId()
Alliance ID if and only if the defender is an alliance- Returns:
- allianceId
-
setAllianceId
public void setAllianceId(Integer allianceId)
-
getCorporationId
@Nullable public Integer getCorporationId()
Corporation ID if and only if the defender is a corporation- Returns:
- corporationId
-
setCorporationId
public void setCorporationId(Integer corporationId)
-
getIskDestroyed
public Float getIskDestroyed()
ISK value of ships the defender has killed- Returns:
- iskDestroyed
-
setIskDestroyed
public void setIskDestroyed(Float iskDestroyed)
-
getShipsKilled
public Integer getShipsKilled()
The number of ships the defender has killed- Returns:
- shipsKilled
-
setShipsKilled
public void setShipsKilled(Integer shipsKilled)
-
-