public abstract class ShowlPropertyShape extends Object implements Traversable
| Modifier and Type | Field and Description |
|---|---|
protected ShowlProperty |
property |
| Constructor and Description |
|---|
ShowlPropertyShape(ShowlNodeShape declaringShape,
ShowlProperty property,
PropertyConstraint propertyConstraint) |
protected ShowlProperty property
public ShowlPropertyShape(ShowlNodeShape declaringShape, ShowlProperty property, PropertyConstraint propertyConstraint)
public NodeKind getNodeKind()
public void addMapping(ShowlMapping mapping)
public boolean isRequired()
public Collection<ShowlMapping> getMappings()
public Collection<ShowlJoinCondition> listJoinConditions()
public ShowlMapping getMapping(ShowlJoinCondition joinCondition)
joinCondition - The join condition for which the mapping is requested.public boolean isDirect()
public boolean isLeaf()
public boolean isEnumIndividual(OwlReasoner reasoner)
public org.openrdf.model.URI getOwlClassId()
public ShowlDerivedPropertyShape asDerivedPropertyShape()
public ShowlNodeShape getDeclaringShape()
public ShowlProperty getProperty()
public org.openrdf.model.URI getPredicate()
public PropertyConstraint getPropertyConstraint()
public boolean isNestedAccordingToFormula()
public String fullPath()
public String getPath()
getPath in interface Traversablepublic ShowlNodeShape getValueShape()
public void setValueShape(ShowlNodeShape valueShape)
public ShowlNodeShape getRootNode()
public org.openrdf.model.URI getValueType(OwlReasoner reasoner)
public ShowlClass getValueType(ShowlSchemaService schemaService)
public ShowlPropertyShape getPeer()
public Set<ShowlPropertyShape> getPeerGroup()
public void addJoinCondition(ShowlJoinCondition join)
public ShowlJoinCondition findJoinCondition(ShowlPropertyShape otherProperty)
otherProperty - The other property in the join condition.public char pathSeparator()
public Direction getDirection()
public ShowlMapping getSelectedMapping()
public void setSelectedMapping(ShowlMapping selectedMapping)
public Set<org.openrdf.model.Value> getHasValueDeprecated()
public void addHasValueDeprecated(org.openrdf.model.Value value)
public List<ShowlExpression> getExpressionList()
public void addExpression(ShowlExpression expression)
public boolean isDeclaredWithin(ShowlNodeShape node)
public boolean inSameNodeShape(ShowlPropertyShape other)
public ShowlPropertyShape getSynonym()
public Set<ShowlPropertyShape> synonyms()
public List<ShowlPropertyShape> propertyPath()
public ShowlDirectPropertyShape direct()
public ShowlPropertyShape maybeDirect()
public ShowlExpression getFormula()
public void setFormula(ShowlExpression formula)
public ShowlExpression getSelectedExpression()
public void setSelectedExpression(ShowlExpression selectedExpression)
public Set<ShowlExpression> getUsedIn()
public void usedIn(ShowlExpression e)
public void addHasValue(ShowlExpression e)
public Set<ShowlExpression> getHasValue()
public boolean isEnumIndividual()
public boolean isEnumProperty(OwlReasoner reasoner)
public boolean isTargetProperty()
public boolean isUniqueKey()
public ShowlPropertyShapeGroup asGroup()
public SynsetProperty asSynsetProperty()
public ShowlPropertyShapeGroup getTargetProperty()
public void setTargetProperty(ShowlPropertyShapeGroup targetProperty)
public boolean isRepeated()
Copyright © 2019. All rights reserved.