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

de.deepamehta.topicmaps.migrations.Migration3 Maven / Gradle / Ivy

There is a newer version: 4.9.2
Show newest version
package de.deepamehta.topicmaps.migrations;

import de.deepamehta.core.TopicType;
import de.deepamehta.core.model.AssociationDefinitionModel;
import de.deepamehta.core.service.Migration;



public class Migration3 extends Migration {

    @Override
    public void run() {
        TopicType type = dm4.getTopicType("dm4.topicmaps.topicmap");
        type.addAssocDef(mf.newAssociationDefinitionModel("dm4.core.composition_def",
            "dm4.topicmaps.topicmap", "dm4.topicmaps.state", "dm4.core.one", "dm4.core.one"));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy