Search in sources :

Example 1 with InspireId

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");
        }
    }
}
Also used : InspireId(eu.europa.ec.inspire.schemas.ompr.x30.ProcessType.InspireId)

Aggregations

InspireId (eu.europa.ec.inspire.schemas.ompr.x30.ProcessType.InspireId)1