public void addMaintainable()

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


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

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