evidence.setResidentNode("hasEducationLevel");
argument = new ArgumentInfo();
argument.setType("Person");
argument.setName(personName);
evidence.getArguments().add(argument);
EducationLevel stateValue = person.getHasEducationLevel();
evidence.setState(stateValue.toString());
evidenceList.add(evidence);
}
if (person.getHasOccupation() != null) {
evidence = new EvidenceInfo();
evidence.setResidentNode("hasOccupation");
argument = new ArgumentInfo();
argument.setType("Person");
argument.setName(personName);
evidence.getArguments().add(argument);
Occupation stateValue = person.getHasOccupation();
evidence.setState(stateValue.toString());
evidenceList.add(evidence);
}
}
}