de.deepamehta.topicmaps.migrations.Migration3 Maven / Gradle / Ivy
The 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"));
}
}