use of org.apache.sis.metadata.iso.lineage.DefaultProcessStep in project sis by apache.
the class MetadataBuilder method addProcessDescription.
/**
* Adds additional details about the process step.
* If a description already exists, the new one will be added on a new line.
* Storage location is:
*
* <ul>
* <li>{@code metadata/resourceLineage/processStep/description}</li>
* </ul>
*
* @param description additional details about the process step, or {@code null} for no-operation.
*/
public final void addProcessDescription(final CharSequence description) {
final InternationalString i18n = trim(description);
if (i18n != null) {
final DefaultProcessStep ps = processStep();
ps.setDescription(append(ps.getDescription(), i18n));
}
}
Aggregations