public class BasicTransformService extends Object implements ShowlTransformService
| Constructor and Description |
|---|
BasicTransformService(ShowlSchemaService schemaService,
ShowlNodeShapeService nodeService,
ShowlSourceNodeFactory sourceNodeFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptEnumClass(ShowlPropertyShapeGroup targetGroup) |
protected Set<ShowlPropertyShapeGroup> |
basicComputeTransform(ShowlNodeShape targetNode) |
Set<ShowlPropertyShapeGroup> |
computeTransform(ShowlNodeShape targetNode)
Compute the expressions that can be used to construct a given target NodeShape
from the available source NodeShapes.
|
protected io.konig.core.showl.BasicTransformService.State |
createState(ShowlNodeShape targetNode,
Set<ShowlPropertyShapeGroup> propertyPool,
Set<ShowlNodeShape> candidates,
ShowlNodeShapeService nodeService) |
protected ShowlStatement |
enumJoinStatement(io.konig.core.showl.BasicTransformService.State state,
ShowlNodeShape sourceShape) |
protected Map<ShowlPropertyShape,ShowlNodeShape> |
enumMap() |
protected ShowlPropertyShapeGroup |
findPeer(ShowlNodeShape sourceNode,
ShowlNodeShape targetNode)
Find the property within a given source node that maps to the given target
node.
|
protected ShowlNodeShape |
focusSourceNode() |
static org.slf4j.Logger |
getLogger() |
ShowlNodeShapeService |
getNodeService() |
ShowlSchemaService |
getSchemaService() |
ShowlSourceNodeFactory |
getSourceNodeFactory() |
protected OwlReasoner |
owlReasoner() |
void |
setSourceNodeFactory(ShowlSourceNodeFactory sourceNodeFactory) |
public BasicTransformService(ShowlSchemaService schemaService, ShowlNodeShapeService nodeService, ShowlSourceNodeFactory sourceNodeFactory)
protected OwlReasoner owlReasoner()
public static org.slf4j.Logger getLogger()
public ShowlSourceNodeFactory getSourceNodeFactory()
public ShowlSchemaService getSchemaService()
public void setSourceNodeFactory(ShowlSourceNodeFactory sourceNodeFactory)
public ShowlNodeShapeService getNodeService()
protected Set<ShowlPropertyShapeGroup> basicComputeTransform(ShowlNodeShape targetNode) throws ShowlProcessingException
ShowlProcessingExceptionprotected io.konig.core.showl.BasicTransformService.State createState(ShowlNodeShape targetNode, Set<ShowlPropertyShapeGroup> propertyPool, Set<ShowlNodeShape> candidates, ShowlNodeShapeService nodeService)
protected Map<ShowlPropertyShape,ShowlNodeShape> enumMap()
public Set<ShowlPropertyShapeGroup> computeTransform(ShowlNodeShape targetNode) throws ShowlProcessingException
ShowlTransformServicecomputeTransform in interface ShowlTransformServiceShowlProcessingExceptionprotected boolean acceptEnumClass(ShowlPropertyShapeGroup targetGroup)
protected ShowlStatement enumJoinStatement(io.konig.core.showl.BasicTransformService.State state, ShowlNodeShape sourceShape) throws ShowlProcessingException
ShowlProcessingExceptionprotected ShowlPropertyShapeGroup findPeer(ShowlNodeShape sourceNode, ShowlNodeShape targetNode)
sourceNode - targetNode - protected ShowlNodeShape focusSourceNode()
Copyright © 2019. All rights reserved.