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

org.umlg.model.MetaNodeCreator Maven / Gradle / Ivy

There is a newer version: 1.2.5
Show newest version
package org.umlg.model;

import org.umlg.associationclass.meta.CompanyMeta;
import org.umlg.associationclass.meta.FriendshipMeta;
import org.umlg.associationclass.meta.JobMeta;
import org.umlg.associationclass.meta.PersonMeta;
import org.umlg.enumeration.meta.TestEnumerationMeta;
import org.umlg.oclassociationrole.meta.ManyMeta;
import org.umlg.oclassociationrole.meta.OneMeta;
import org.umlg.qualifier.meta.AMeta;
import org.umlg.qualifier.meta.BMeta;
import org.umlg.qualifier.meta.BankMeta;
import org.umlg.qualifier.meta.CMeta;
import org.umlg.qualifier.meta.CustomerMeta;
import org.umlg.qualifier.meta.DMeta;
import org.umlg.qualifier.meta.Depth1Meta;
import org.umlg.qualifier.meta.Depth2Meta;
import org.umlg.qualifier.meta.EmployeeMeta;
import org.umlg.runtime.adaptor.UmlgMetaNodeManager;
import org.umlg.testocl.meta.OclTest1Meta;
import org.umlg.testocl.meta.OclTest2Meta;
import org.umlg.testocl.meta.OclTestCollection2Meta;
import org.umlg.testocl.meta.OclTestCollectionMeta;

/** This class is responsible to create the meta singleton upfront.
 * It is invoked via reflection the first time a graph is created.
 */
public class MetaNodeCreator implements UmlgMetaNodeManager {



	public int count() {
		return 20;
	}
	
	public void createAllMetaNodes() {
		OclTest1Meta.getInstance();
		OclTestCollectionMeta.getInstance();
		OclTestCollection2Meta.getInstance();
		OclTest2Meta.getInstance();
		BankMeta.getInstance();
		CustomerMeta.getInstance();
		EmployeeMeta.getInstance();
		Depth1Meta.getInstance();
		Depth2Meta.getInstance();
		AMeta.getInstance();
		BMeta.getInstance();
		CMeta.getInstance();
		DMeta.getInstance();
		OneMeta.getInstance();
		ManyMeta.getInstance();
		PersonMeta.getInstance();
		CompanyMeta.getInstance();
		JobMeta.getInstance();
		FriendshipMeta.getInstance();
		TestEnumerationMeta.getInstance();
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy