}
private void handleConsequences(PtSituationElementStructure ptSituation,
ServiceAlert.Builder serviceAlert) {
PtConsequencesStructure consequences = ptSituation.getConsequences();
if (consequences == null || consequences.getConsequence() == null)
return;
for (PtConsequenceStructure consequence : consequences.getConsequence()) {
Consequence.Builder builder = Consequence.newBuilder();
if (consequence.getCondition() != null)
builder.setEffect(getConditionAsEffect(consequence.getCondition()));
ExtensionsStructure extensions = consequence.getExtensions();
if (extensions != null) {