public static class LabourData.LocationData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
LabourData.LocationData.Getter |
Modifier and Type | Field and Description |
---|---|
private boolean |
isTotal
if this is the total for the unit data
|
private int |
netProduction
net production of goods
|
private int |
notWorking
not working colonists
|
private int |
otherStudents
students learning this job (i.e.
|
private java.lang.String |
otherStudentsName
of the other students
|
private LabourData.ProductionData |
otherWorkingAmateurs
others working as lumberjacks
|
private int |
students
students in their old type (i.e.
|
private int |
teachers
teachers
|
private LabourData.UnitData |
unitData
associated unit data
|
private int |
workingAmateurs
lumberjacks working as something else
|
private LabourData.ProductionData |
workingProfessionals
experts working in their expert field
|
Constructor and Description |
---|
LocationData(LabourData.UnitData unitData) |
LocationData(LabourData.UnitData unitData,
boolean total) |
Modifier and Type | Method and Description |
---|---|
private void |
add(LabourData.LocationData data) |
void |
addOtherStudent(java.lang.String name) |
int |
getNetProduction() |
int |
getNotWorking() |
int |
getOtherStudents() |
java.lang.String |
getOtherStudentsName() |
LabourData.ProductionData |
getOtherWorkingAmateurs() |
int |
getRowCount()
in the summary for all unit types, some rows are skipped
|
int |
getStudents() |
int |
getTeachers() |
int |
getTotalColonists() |
int |
getTotalProduction() |
LabourData.UnitData |
getUnitData() |
int |
getWorkingAmateurs() |
LabourData.ProductionData |
getWorkingProfessionals() |
boolean |
isTotal() |
boolean |
isTraining() |
private final LabourData.UnitData unitData
private final boolean isTotal
private final LabourData.ProductionData workingProfessionals
private int workingAmateurs
private final LabourData.ProductionData otherWorkingAmateurs
private int netProduction
private int teachers
private int otherStudents
private java.lang.String otherStudentsName
private int students
private int notWorking
public LocationData(LabourData.UnitData unitData)
public LocationData(LabourData.UnitData unitData, boolean total)
public int getOtherStudents()
public java.lang.String getOtherStudentsName()
public void addOtherStudent(java.lang.String name)
public LabourData.ProductionData getWorkingProfessionals()
public LabourData.ProductionData getOtherWorkingAmateurs()
public int getNetProduction()
public int getTotalColonists()
public int getTotalProduction()
public int getRowCount()
public boolean isTraining()
public int getWorkingAmateurs()
public int getTeachers()
public int getStudents()
public int getNotWorking()
public LabourData.UnitData getUnitData()
public boolean isTotal()
private void add(LabourData.LocationData data)