public class ShowlFunctionExpression extends Object implements ShowlExpression
| Constructor and Description |
|---|
ShowlFunctionExpression(ShowlPropertyShape declaringProperty,
FunctionExpression function) |
ShowlFunctionExpression(ShowlPropertyShape declaringProperty,
FunctionExpression function,
List<ShowlExpression> arguments) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgument(ShowlExpression arg) |
void |
addDeclaredProperties(ShowlNodeShape sourceNodeShape,
Set<ShowlPropertyShape> set)
Collect from this expression all properties declared by the specified source NodeShape, or any
NodeShape nested within the source NodeShape.
|
void |
addProperties(Set<ShowlPropertyShape> set) |
String |
displayValue() |
static ShowlExpression |
fromIriTemplate(ShowlSchemaService schemaService,
ShowlNodeShapeService nodeService,
ShowlPropertyShape declaringProperty,
IriTemplate template) |
List<ShowlExpression> |
getArguments() |
ShowlPropertyShape |
getDeclaringProperty() |
ShowlNodeShape |
getDeclaringShape() |
FunctionExpression |
getFunction() |
String |
toString() |
ShowlFunctionExpression |
transform()
Return a copy of this expression where every PropertyShape expression is replaced
with its 'selectedExpression'
|
org.openrdf.model.URI |
valueType(OwlReasoner reasoner) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitparameterspublic ShowlFunctionExpression(ShowlPropertyShape declaringProperty, FunctionExpression function)
public ShowlFunctionExpression(ShowlPropertyShape declaringProperty, FunctionExpression function, List<ShowlExpression> arguments)
public static ShowlExpression fromIriTemplate(ShowlSchemaService schemaService, ShowlNodeShapeService nodeService, ShowlPropertyShape declaringProperty, IriTemplate template)
public void addArgument(ShowlExpression arg)
public String displayValue()
displayValue in interface ShowlExpressionpublic void addDeclaredProperties(ShowlNodeShape sourceNodeShape, Set<ShowlPropertyShape> set)
ShowlExpressionaddDeclaredProperties in interface ShowlExpressionset - The set to which the properties should be added.public ShowlNodeShape getDeclaringShape()
public ShowlPropertyShape getDeclaringProperty()
public FunctionExpression getFunction()
public List<ShowlExpression> getArguments()
public void addProperties(Set<ShowlPropertyShape> set)
addProperties in interface ShowlExpressionpublic org.openrdf.model.URI valueType(OwlReasoner reasoner)
valueType in interface ShowlExpressionpublic ShowlFunctionExpression transform()
ShowlExpressiontransform in interface ShowlExpressionCopyright © 2019. All rights reserved.