ElkObjectPropertyExpression getFirstProperty() { final int startPos = getCompositionStartPos(); // TODO: more rigorous matching checks return getFullCompositionMatch().accept( new ElkSubObjectPropertyExpressionVisitor<ElkObjectPropertyExpression>() { @Override public ElkObjectPropertyExpression visit( ElkObjectPropertyChain expression) { return expression.getObjectPropertyExpressions() .get(startPos); } @Override public ElkObjectPropertyExpression visit( ElkObjectInverseOf expression) { return expression; } @Override public ElkObjectPropertyExpression visit( ElkObjectProperty expression) { return expression; } }); }
ElkObjectPropertyExpression getFirstProperty() { final int startPos = getCompositionStartPos(); // TODO: more rigorous matching checks return getFullCompositionMatch().accept( new ElkSubObjectPropertyExpressionVisitor<ElkObjectPropertyExpression>() { @Override public ElkObjectPropertyExpression visit( ElkObjectPropertyChain expression) { return expression.getObjectPropertyExpressions() .get(startPos); } @Override public ElkObjectPropertyExpression visit( ElkObjectInverseOf expression) { return expression; } @Override public ElkObjectPropertyExpression visit( ElkObjectProperty expression) { return expression; } }); }
ElkObjectPropertyExpression getFirstProperty() { final int startPos = getCompositionStartPos(); // TODO: more rigorous matching checks return getFullCompositionMatch().accept( new ElkSubObjectPropertyExpressionVisitor<ElkObjectPropertyExpression>() { @Override public ElkObjectPropertyExpression visit( ElkObjectPropertyChain expression) { return expression.getObjectPropertyExpressions() .get(startPos); } @Override public ElkObjectPropertyExpression visit( ElkObjectInverseOf expression) { return expression; } @Override public ElkObjectPropertyExpression visit( ElkObjectProperty expression) { return expression; } }); }
ForwardLinkMatch1 getConclusionMatch( ConclusionMatchExpressionFactory factory) { return factory.getForwardLinkMatch1(getParent().getConclusion(factory), getDestinationMatch(), getFullCompositionMatch(), getCompositionStartPos()); }
ForwardLinkMatch1 getConclusionMatch( ConclusionMatchExpressionFactory factory) { return factory.getForwardLinkMatch1(getParent().getConclusion(factory), getDestinationMatch(), getFullCompositionMatch(), getCompositionStartPos()); }
ForwardLinkMatch1 getConclusionMatch( ConclusionMatchExpressionFactory factory) { return factory.getForwardLinkMatch1(getParent().getConclusion(factory), getDestinationMatch(), getFullCompositionMatch(), getCompositionStartPos()); }
public SubPropertyChainMatch1 getFourthPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubPropertyChainMatch1( getParent().getParent().getParent().getFourthPremise(factory), getParent().getParent().getFullCompositionMatch(), getParent().getParent().getCompositionStartPos() + 1); }
public SubPropertyChainMatch1 getFourthPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubPropertyChainMatch1( getParent().getParent().getParent().getFourthPremise(factory), getParent().getParent().getFullCompositionMatch(), getParent().getParent().getCompositionStartPos() + 1); }
public SubPropertyChainMatch1 getFourthPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubPropertyChainMatch1( getParent().getParent().getParent().getFourthPremise(factory), getParent().getParent().getFullCompositionMatch(), getParent().getParent().getCompositionStartPos() + 1); }
.getParent(); ElkSubObjectPropertyExpression fullCompositionMatch = inferenceMatch1 .getFullCompositionMatch(); int compositionStartPos = inferenceMatch1.getCompositionStartPos();
.getParent(); ElkSubObjectPropertyExpression fullCompositionMatch = inferenceMatch1 .getFullCompositionMatch(); int compositionStartPos = inferenceMatch1.getCompositionStartPos();
.getParent(); ElkSubObjectPropertyExpression fullCompositionMatch = inferenceMatch1 .getFullCompositionMatch(); int compositionStartPos = inferenceMatch1.getCompositionStartPos();