org.sdmlib.replication.util.ReplicationRootPOCreator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SDMLib Show documentation
Show all versions of SDMLib Show documentation
SDMLib is a light weight modeling library. SDMLib intentionally comes without any tool or editor.
package org.sdmlib.replication.util;
import org.sdmlib.models.pattern.util.PatternObjectCreator;
import org.sdmlib.replication.ReplicationRoot;
import de.uniks.networkparser.IdMap;
public class ReplicationRootPOCreator extends PatternObjectCreator
{
@Override
public Object getSendableInstance(boolean reference)
{
if(reference) {
return new ReplicationRootPO(new ReplicationRoot[]{});
} else {
return new ReplicationRootPO();
}
}
public static IdMap createIdMap(String sessionID) {
return CreatorCreator.createIdMap(sessionID);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy