public class ShipTypeCargo extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ShipTypeCargo.CargoType
The enum Cargo type.
|
static class |
ShipTypeCargo.ShipType
The enum Ship type.
|
| Constructor and Description |
|---|
ShipTypeCargo(int intShipType)
Instantiates a new Ship type cargo.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets code.
|
ShipTypeCargo.CargoType |
getShipCargo()
Gets ship cargo.
|
ShipTypeCargo.ShipType |
getShipType()
Gets ship type.
|
String |
prettyCargo()
Pretty cargo string.
|
String |
prettyType()
Pretty type string.
|
String |
toString() |
public ShipTypeCargo(int intShipType)
intShipType - the int ship typepublic ShipTypeCargo.ShipType getShipType()
public ShipTypeCargo.CargoType getShipCargo()
public int getCode()
public String prettyType()
public String prettyCargo()
Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.