public void removeMaintainable()

in sdmx30-infomodel/src/main/java/com/epam/jsdmx/infomodel/sdmx30/ArtefactsImpl.java [306:370]


    public void removeMaintainable(MaintainableArtefact maintainable) {
        final StructureClass type = maintainable.getStructureClass();

        if (type == StructureClassImpl.METADATA_STRUCTURE) {
            metadataStructureDefinitions.remove((MetadataStructureDefinition) maintainable);
        } else if (type == StructureClassImpl.METADATAFLOW) {
            metadataflows.remove((Metadataflow) maintainable);
        } else if (type == StructureClassImpl.CATEGORY_SCHEME) {
            categorySchemes.remove((CategoryScheme) maintainable);
        } else if (type == StructureClassImpl.CATEGORISATION) {
            categorisations.remove((Categorisation) maintainable);
        } else if (type == StructureClassImpl.DATAFLOW) {
            dataflows.remove((Dataflow) maintainable);
        } else if (type == StructureClassImpl.CODELIST) {
            codelists.remove((Codelist) maintainable);
        } else if (type == StructureClassImpl.CONCEPT_SCHEME) {
            conceptSchemes.remove((ConceptScheme) maintainable);
        } else if (type == StructureClassImpl.DATA_STRUCTURE) {
            dataStructures.remove((DataStructureDefinition) maintainable);
        } else if (type == StructureClassImpl.HIERARCHY) {
            hierarchies.remove((Hierarchy) maintainable);
        } else if (type == StructureClassImpl.STRUCTURE_MAP) {
            structureMaps.remove((StructureMap) maintainable);
        } else if (type == StructureClassImpl.REPRESENTATION_MAP) {
            representationMaps.remove((RepresentationMap) maintainable);
        } else if (type == StructureClassImpl.DATA_CONSTRAINT) {
            dataConstraints.remove((DataConstraint) maintainable);
        } else if (type == StructureClassImpl.GEOGRAPHIC_CODELIST) {
            geographicCodelists.remove((GeographicCodelist) maintainable);
        } else if (type == StructureClassImpl.GEO_GRID_CODELIST) {
            geoGridCodelists.remove((GeoGridCodelist) maintainable);
        } else if (type == StructureClassImpl.VALUE_LIST) {
            valueLists.remove((ValueList) maintainable);
        } else if (type == StructureClassImpl.HIERARCHY_ASSOCIATION) {
            hierarchyAssociations.remove((HierarchyAssociation) maintainable);
        } else if (type == StructureClassImpl.AGENCY_SCHEME) {
            agencySchemes.remove((AgencyScheme) maintainable);
        } else if (type == StructureClassImpl.DATA_PROVIDER_SCHEME) {
            dataProviderSchemes.remove((DataProviderScheme) maintainable);
        } else if (type == StructureClassImpl.DATA_CONSUMER_SCHEME) {
            dataConsumerSchemes.remove((DataConsumerScheme) maintainable);
        } else if (type == StructureClassImpl.METADATA_PROVIDER_SCHEME) {
            metadataProviderSchemes.remove((MetadataProviderScheme) maintainable);
        } else if (type == StructureClassImpl.ORGANISATION_UNIT_SCHEME) {
            organisationUnitSchemes.remove((OrganisationUnitScheme) maintainable);
        } else if (type == StructureClassImpl.REPORTING_TAXONOMY) {
            reportingTaxonomies.remove((ReportingTaxonomy) maintainable);
        } else if (type == StructureClassImpl.PROCESS) {
            processes.remove((Process) maintainable);
        } else if (type == StructureClassImpl.PROVISION_AGREEMENT) {
            provisionAgreements.remove((ProvisionAgreement) maintainable);
        } else if (type == StructureClassImpl.METADATA_PROVISION_AGREEMENT) {
            metadataProvisionAgreements.remove((MetadataProvisionAgreement) maintainable);
        } else if (type == StructureClassImpl.METADATA_CONSTRAINT) {
            metadataConstraints.remove((MetadataConstraint) maintainable);
        } else if (type == StructureClassImpl.CONCEPT_SCHEME_MAP) {
            conceptSchemeMaps.remove((ConceptSchemeMap) maintainable);
        } else if (type == StructureClassImpl.CATEGORY_SCHEME_MAP) {
            categorySchemeMaps.remove((CategorySchemeMap) maintainable);
        } else if (type == StructureClassImpl.ORGANISATION_SCHEME_MAP) {
            organisationSchemeMaps.remove((OrganisationSchemeMap) maintainable);
        } else if (type == StructureClassImpl.REPORTING_TAXONOMY_MAP) {
            reportingTaxonomyMaps.remove((ReportingTaxonomyMap) maintainable);
        }
    }