public class ShowlWhenThenClause extends Object implements ShowlExpression
| Constructor and Description |
|---|
ShowlWhenThenClause(ShowlExpression when,
ShowlExpression then) |
| Modifier and Type | Method and Description |
|---|---|
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() |
ShowlExpression |
getThen() |
ShowlExpression |
getWhen() |
String |
toString() |
ShowlWhenThenClause |
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 ShowlWhenThenClause(ShowlExpression when, ShowlExpression then)
public String displayValue()
displayValue in interface ShowlExpressionpublic ShowlExpression getWhen()
public ShowlExpression getThen()
public void addDeclaredProperties(ShowlNodeShape sourceNodeShape, Set<ShowlPropertyShape> set) throws ShowlProcessingException
ShowlExpressionaddDeclaredProperties in interface ShowlExpressionset - The set to which the properties should be added.ShowlProcessingExceptionpublic void addProperties(Set<ShowlPropertyShape> set)
addProperties in interface ShowlExpressionpublic org.openrdf.model.URI valueType(OwlReasoner reasoner)
valueType in interface ShowlExpressionpublic ShowlWhenThenClause transform()
ShowlExpressiontransform in interface ShowlExpressionCopyright © 2019. All rights reserved.