/** * Adds a reference to document describing processing software. * This is added to the processing identified by last call to {@link #addProcessing(CharSequence, String)}. * Storage location is: * * <ul> * <li>{@code metadata/resourceLineage/processStep/processingInformation/softwareReference/title}</li> * </ul> * * @param title title of the document that describe the software, or {@code null} for no-operation. */ public final void addSoftwareReference(final CharSequence title) { final InternationalString i18n = trim(title); if (i18n != null) { addIfNotPresent(processing().getSoftwareReferences(), sharedCitation(i18n)); } }
/** * Adds a reference to document describing processing software. * This is added to the processing identified by last call to {@link #addProcessing(CharSequence, String)}. * Storage location is: * * <ul> * <li>{@code metadata/resourceLineage/processStep/processingInformation/softwareReference/title}</li> * </ul> * * @param title title of the document that describe the software, or {@code null} for no-operation. * * @see #addProcessing(CharSequence, String) * @see #addSource(CharSequence, ScopeCode, CharSequence) */ public final void addSoftwareReference(final CharSequence title) { final InternationalString i18n = trim(title); if (i18n != null) { addIfNotPresent(processing().getSoftwareReferences(), sharedCitation(i18n)); } }