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

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

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

import java.util.HashMap;
import java.util.Map;

import org.umlg.associationclass.Company;
import org.umlg.associationclass.Friendship;
import org.umlg.associationclass.Job;
import org.umlg.associationclass.Person;
import org.umlg.enumeration.ENUMX;
import org.umlg.oclassociationrole.Many;
import org.umlg.oclassociationrole.One;
import org.umlg.qualifier.A;
import org.umlg.qualifier.B;
import org.umlg.qualifier.Bank;
import org.umlg.qualifier.C;
import org.umlg.qualifier.Customer;
import org.umlg.qualifier.D;
import org.umlg.qualifier.Depth1;
import org.umlg.qualifier.Depth2;
import org.umlg.qualifier.Employee;
import org.umlg.testocl.OclTest1;
import org.umlg.testocl.OclTest2;
import org.umlg.testocl.OclTestCollection;
import org.umlg.testocl.OclTestCollection2;

public class QualifiedNameClassMap {
	static public QualifiedNameClassMap INSTANCE = new QualifiedNameClassMap();
	private Map> qualifiedNameClassMap = new HashMap>();

	/**
	 * constructor for QualifiedNameClassMap
	 */
	private QualifiedNameClassMap()  {
		addAllEntries();
	}

	public Class get(String qualifiedName) {
		return this.qualifiedNameClassMap.get(qualifiedName);
	}
	
	private void addAllEntries() {
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::property1", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::derivedProperty1", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclTestCollection", OclTestCollection.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclSelect", OclTestCollection.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclAny", OclTestCollection.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclCollectNameAsSet", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclCollectAsSet", OclTestCollection2.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclCollectName", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclCollectNested", OclTestCollection2.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclSelectCollectAsSequence", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclIterateExp", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::oclIterateExp2", OclTestCollection2.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testOclFirst", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testFirstOclInvalid", Boolean.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testOclIsUndefined", Boolean.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testOclIfExp", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testOclExpResultMany", OclTestCollection.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testNumber", Integer.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testGreaterThanOne", Boolean.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testGreaterThanEqualOne", Boolean.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testSmallerThanOne", Boolean.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest1::testSmallerThanEqualOne", Boolean.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTestCollection::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTestCollection::oclTestCollection2", OclTestCollection2.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTestCollection::derivedTest", OclTest2.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::A__::oclTest1", OclTest1.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTestCollection2::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::A__::oclTestCollection", OclTestCollection.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest2::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest2::oclTestCollection", OclTestCollection.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::OclTest2::name2", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::testocl::A__::oclTest2", OclTest2.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Bank::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Bank::customer", Customer.class);
		this.qualifiedNameClassMap.put("nameQualifier", String.class);
		this.qualifiedNameClassMap.put("accountNumberQualifier", Integer.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Bank::employee", Employee.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Bank::customerJohn001", Customer.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Bank::employeeSize", Integer.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Bank::employeeNames", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Customer::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Customer::accountNumber", Integer.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Customer::employeeQualifier", Employee.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Customer::depth1", Depth1.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::A__::bank", Bank.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Employee::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::A__::bank", Bank.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Depth1::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Depth1::depth2", Depth2.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::Depth2::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::customer_depth1_1::customer", Customer.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::depth1_depth2_1::depth1", Depth1.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::A::b", B.class);
		this.qualifiedNameClassMap.put("bNameQualifier", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::A::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::A::testOclQualifier", C.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::B::c", C.class);
		this.qualifiedNameClassMap.put("cNameQualifier", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::B::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::C::d", D.class);
		this.qualifiedNameClassMap.put("dNameQualifier", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::C::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::D::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::a_b_1::a", A.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::b_c_1::b", B.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::qualifier::c_d_1::c", C.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::oclassociationrole::One::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::oclassociationrole::One::many", Many.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::oclassociationrole::Many::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::oclassociationrole::Many::regularOne", One.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::oclassociationrole::one_many_1::one", One.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Person::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Person::knownBy", Person.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Person::knowsFriendship", Friendship.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Person::knownByFriendship", Friendship.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Person::knows", Person.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Company::person", Person.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Company::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Company::jobs", Job.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Job::rate", Integer.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Job::company", Company.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::associationclass::Friendship::weight", Integer.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::enumeration::TestEnumeration::name", String.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::enumeration::TestEnumeration::eNUMX", ENUMX.class);
		this.qualifiedNameClassMap.put("testoclmodel::org::umlg::enumeration::TestEnumeration::enumName", String.class);
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy