use of eu.europa.ec.inspire.schemas.ompr.x30.ProcessType.InspireId in project arctic-sea by 52North.
the class ProcessTypeEncoder method checkForInspireId.
private void checkForInspireId(ProcessType pt, Process process) throws EncodingException {
if (pt.getInspireId() == null) {
if (process.isSetIdentifier()) {
addInspireId(pt, process);
} else {
InspireId iId = pt.addNewInspireId();
iId.setNil();
iId.setNilReason("unknown");
}
}
}
Aggregations