/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.convention;
import org.threeten.bp.Instant;
import com.opengamma.id.ExternalId;
import com.opengamma.id.ExternalIdBundle;
/**
* A historic search request to retrieve convention set information.
*/
public class ConventionBundleSearchHistoricRequest {
private Instant _version;
private Instant _correction;
private ExternalIdBundle _identifiers;
public ConventionBundleSearchHistoricRequest(Instant version, Instant correction, ExternalId identifier) {
_version = version;
_correction = correction;
_identifiers = ExternalIdBundle.of(identifier);
}
public ConventionBundleSearchHistoricRequest(Instant version, Instant correction, ExternalIdBundle identifiers) {
_version = version;
_correction = correction;
_identifiers = identifiers;
}
public Instant getVersion() {
return _version;
}
public Instant getCorrection() {
return _correction;
}
public ExternalIdBundle getIdentifiers() {
return _identifiers;
}
}