All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.boozallen.aiops.mda.metamodel.RecordModelInstanceManager Maven / Gradle / Ivy

There is a newer version: 1.12.1
Show newest version
package com.boozallen.aiops.mda.metamodel;

/*-
 * #%L
 * AIOps Foundation::AIOps MDA
 * %%
 * Copyright (C) 2021 Booz Allen
 * %%
 * This software package is licensed under the Booz Allen Public License. All Rights Reserved.
 * #L%
 */

import org.technologybrewery.fermenter.mda.metamodel.AbstractMetamodelManager;

import com.boozallen.aiops.mda.metamodel.element.Record;
import com.boozallen.aiops.mda.metamodel.element.RecordElement;

/**
 * Responsible for maintaining the list of record model instances elements in the system.
 */
class RecordModelInstanceManager extends AbstractMetamodelManager {

    private static final RecordModelInstanceManager instance = new RecordModelInstanceManager();

    /**
     * Returns the singleton instance of this class.
     * 
     * @return singleton
     */
    public static RecordModelInstanceManager getInstance() {
        return instance;
    }

    /**
     * Prevent instantiation of this singleton from outside this class.
     */
    private RecordModelInstanceManager() {
        super();
    }

    @Override
    protected String getMetadataLocation() {
        return "records";
    }

    @Override
    protected Class getMetamodelClass() {
        return RecordElement.class;
    }

    @Override
    protected String getMetamodelDescription() {
        return Record.class.getSimpleName();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy