public Process() { super(""); setDefaultElementEncoding(InspireOMPRConstants.NS_OMPR_30); }
public boolean isSetDescription() { return !Strings.isNullOrEmpty(getDescription()); } }
public boolean isSetType() { return !Strings.isNullOrEmpty(getType()); }
public boolean isSetDocumentation() { return CollectionHelper.isNotEmpty(getDocumentation()); }
public boolean isSetResponsibleParty() { return CollectionHelper.isNotEmpty(getResponsibleParty()); }
public boolean isSetProcessParameter() { return CollectionHelper.isNotEmpty(getProcessParameter()); }
protected Process parseProcessType(ProcessType pt) { Process process = new Process(); parseInspireId(pt, process); return process; }
private void addName(ProcessType pt, Process process) { if (process.isSetName()) { pt.addNewName2().setStringValue(process.getFirstName().getValue()); } }
public Identifier getInspireId() { return new Identifier(getIdentifierCodeWithAuthority()); }
@Override public Process decode(ProcessType pt) throws DecodingException { Process process = parseProcessType(pt); process.setXml(pt.xmlText(getXmlOptions())); return process; }
public boolean isSetDescription() { return !Strings.isNullOrEmpty(getDescription()); } }
public boolean isSetDocumentation() { return CollectionHelper.isNotEmpty(getDocumentation()); }
public boolean isSetResponsibleParty() { return CollectionHelper.isNotEmpty(getResponsibleParty()); }
public boolean isSetType() { return !Strings.isNullOrEmpty(getType()); }
public boolean isSetProcessParameter() { return CollectionHelper.isNotEmpty(getProcessParameter()); }
public Identifier getInspireId() { return new Identifier(getIdentifierCodeWithAuthority()); }
public Process() { super(""); setDefaultElementEncoding(InspireOMPRConstants.NS_OMPR_30); }
@Override public Process decode(ProcessPropertyType ppt) throws DecodingException { Process process = parseProcessType(ppt.getProcess()); process.setXml(ppt.xmlText(getXmlOptions())); return process; } }
@Override public Process decode(ProcessDocument pd) throws DecodingException { Process process = parseProcessType(pd.getProcess()); process.setXml(pd.xmlText(getXmlOptions())); return process; }