ai.stapi.graphsystem.structuredefinition.identificatorProvider.StructureDefinitionDifferentialIdentificatorProvider Maven / Gradle / Ivy
package ai.stapi.graphsystem.structuredefinition.identificatorProvider;
import ai.stapi.graphoperations.synchronization.nodeIdentificator.NodeIdentificator;
import ai.stapi.graphoperations.synchronization.nodeIdentificator.NodeIdentificatorsProvider;
import java.util.List;
public class StructureDefinitionDifferentialIdentificatorProvider implements NodeIdentificatorsProvider {
@Override
public List provide(String nodeType) {
return List.of(
new NodeIdentificator("parent")
);
}
@Override
public boolean supports(String nodeType) {
return nodeType.equals("StructureDefinitionDifferential");
}
}