/** * Returns information about offline media on which the resource can be obtained. * * @return offline media on which the resource can be obtained, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getOffLines()}. */ @Override @Deprecated @XmlElement(name = "offLine") @Dependencies("getOffLines") public Medium getOffLine() { return LegacyPropertyAdapter.getSingleton(getOffLines(), Medium.class, null, DefaultDigitalTransferOptions.class, "getOffLine"); }
/** * Returns information about offline media on which the resource can be obtained. * * @return offline media on which the resource can be obtained, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getOffLines()}. */ @Override @Deprecated @Dependencies("getOffLines") public Medium getOffLine() { return LegacyPropertyAdapter.getSingleton(getOffLines(), Medium.class, null, DefaultDigitalTransferOptions.class, "getOffLine"); }
if (object instanceof DefaultDigitalTransferOptions) { final DefaultDigitalTransferOptions c = (DefaultDigitalTransferOptions) object; offLines = copyCollection(c.getOffLines(), Medium.class); transferFrequency = c.getTransferFrequency(); distributionFormats = copyCollection(c.getDistributionFormats(), Format.class);
if (object instanceof DefaultDigitalTransferOptions) { final DefaultDigitalTransferOptions c = (DefaultDigitalTransferOptions) object; offLines = copyCollection(c.getOffLines(), Medium.class); transferFrequency = c.getTransferFrequency(); distributionFormats = copyCollection(c.getDistributionFormats(), Format.class);