/** * Adds a distributor. This is often the same than the above responsible party. * Storage location is: * * <ul> * <li>{@code metadata/distributionInfo/distributor/distributorContact}</li> * </ul> * * @param distributor the distributor, or {@code null} for no-operation. */ public final void addDistributor(final ResponsibleParty distributor) { if (distributor != null) { addIfNotPresent(distribution().getDistributors(), new DefaultDistributor(distributor)); } }
/** * Adds a distributor. This is often the same than the above responsible party. * Storage location is: * * <ul> * <li>{@code metadata/distributionInfo/distributor/distributorContact}</li> * </ul> * * @param distributor the distributor, or {@code null} for no-operation. */ public final void addDistributor(final ResponsibleParty distributor) { if (distributor != null) { addIfNotPresent(distribution().getDistributors(), new DefaultDistributor(distributor)); } }