public CreditDefaultSwapDefinition visitCreditDefaultSwapIndexSecurity(final CreditDefaultSwapIndexSecurity security) {
final boolean isBuy = security.isBuy();
final ExternalId protectionSeller = security.getProtectionSeller();
final ExternalId protectionBuyer = security.getProtectionBuyer();
final ExternalId referenceEntity = security.getReferenceEntity();
final DebtSeniority debtSeniority = DebtSeniority.NONE;
final RestructuringClause restructuringClause = RestructuringClause.NONE;
final ZonedDateTime startDate = security.getStartDate();
final ZonedDateTime effectiveDate = security.getEffectiveDate();
final ZonedDateTime maturityDate = security.getMaturityDate();
final StubType stubType = security.getStubType();