001package systems.dmx.topicmaps.migrations;
002
003import systems.dmx.core.TopicType;
004import systems.dmx.core.model.AssociationDefinitionModel;
005import systems.dmx.core.service.Migration;
006
007
008
009public class Migration3 extends Migration {
010
011    @Override
012    public void run() {
013        TopicType type = dmx.getTopicType("dmx.topicmaps.topicmap");
014        type.addAssocDef(mf.newAssociationDefinitionModel("dmx.core.composition_def",
015            "dmx.topicmaps.topicmap", "dmx.topicmaps.state", "dmx.core.one", "dmx.core.one"));
016    }
017}