public class ShowlCaseStatement extends Object implements ShowlExpression
| Constructor and Description |
|---|
ShowlCaseStatement(ShowlExpression caseCondition,
List<ShowlWhenThenClause> whenThenList,
ShowlExpression elseClause) |
| 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 |
getCaseCondition() |
ShowlExpression |
getElseClause() |
List<ShowlWhenThenClause> |
getWhenThenList() |
String |
toString() |
ShowlCaseStatement |
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 ShowlCaseStatement(ShowlExpression caseCondition, List<ShowlWhenThenClause> whenThenList, ShowlExpression elseClause)
public ShowlExpression getCaseCondition()
public List<ShowlWhenThenClause> getWhenThenList()
public ShowlExpression getElseClause()
public String displayValue()
displayValue in interface ShowlExpressionpublic 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 ShowlCaseStatement transform()
ShowlExpressiontransform in interface ShowlExpressionCopyright © 2019. All rights reserved.