| Constructor and Description |
|---|
Shape() |
Shape(org.openrdf.model.Resource id) |
| Modifier and Type | Method and Description |
|---|---|
Shape |
add(PropertyConstraint c) |
void |
addBroader(org.openrdf.model.URI skosConcept) |
void |
addConstraint(Expression expr) |
void |
addDefaultShapeFor(org.openrdf.model.URI app) |
void |
addDerivedProperty(PropertyConstraint p) |
void |
addExplicitDerivedFrom(Shape sourceShape) |
void |
addInputShapeOf(org.openrdf.model.URI uri) |
void |
addProperty(PropertyConstraint c) |
void |
addShapeDataSource(DataSource dataSource) |
void |
addShapeProcessing(org.openrdf.model.URI shapeProcessing) |
void |
addType(org.openrdf.model.URI type) |
void |
addVariable(PropertyConstraint p) |
String |
bigQueryTableId() |
Shape |
clone()
Create a shallow clone of this Shape.
|
Shape |
deepClone()
Recursively clone this shape, all of its properties, and the shapes referenced by
SHACL logical constraints (sh:and, sh:or).
|
<T> T |
findDataSource(Class<T> type) |
DataSource |
findDataSourceByType(org.openrdf.model.URI type) |
org.openrdf.model.URI |
getAggregationOf() |
AndConstraint |
getAnd() |
String |
getBigQueryTableId() |
Set<org.openrdf.model.URI> |
getBroader() |
String |
getComment() |
List<Expression> |
getConstraint() |
List<org.openrdf.model.URI> |
getDefaultShapeFor() |
List<PropertyConstraint> |
getDerivedProperty() |
PropertyConstraint |
getDerivedPropertyByPredicate(org.openrdf.model.URI predicate) |
PropertyConstraint |
getDimensionConstraint(org.openrdf.model.URI dimension) |
org.openrdf.model.URI |
getEquivalentRelationalShape() |
Set<Shape> |
getExplicitDerivedFrom() |
org.openrdf.model.Resource |
getId() |
String |
getIdComment() |
org.openrdf.model.URI |
getIdFormat() |
List<org.openrdf.model.URI> |
getInputShapeOf() |
org.openrdf.model.URI |
getIri() |
QuantifiedExpression |
getIriFormula() |
IriTemplate |
getIriTemplate() |
Context |
getJsonldContext()
Get the default JSON-LD context for this shape.
|
String |
getMediaTypeBaseName() |
NodeKind |
getNodeKind() |
Cube |
getNodeShapeCube() |
NotConstraint |
getNot() |
OrConstraint |
getOr() |
int |
getOrdinal()
A integer used to define the position of this shape within some ordering.
|
org.openrdf.model.URI |
getPreferredJsonldContext() |
org.openrdf.model.URI |
getPreferredJsonSchema() |
List<PropertyConstraint> |
getProperty() |
PropertyConstraint |
getPropertyConstraint(org.openrdf.model.URI predicate) |
org.openrdf.model.URI |
getRollUpBy() |
List<DataSource> |
getShapeDataSource() |
List<ShapeMaxRowLength> |
getShapeMaxRowLengthList() |
Set<org.openrdf.model.URI> |
getShapeProcessing() |
Shape |
getTabularOriginShape() |
org.openrdf.model.URI |
getTargetClass() |
org.openrdf.model.URI |
getTermStatus() |
PropertyConstraint |
getTimeParam() |
Set<org.openrdf.model.URI> |
getType() |
Expression |
getUpdateWhen() |
org.openrdf.model.URI |
getUsesAbbreviationScheme() |
List<PropertyConstraint> |
getVariable() |
PropertyConstraint |
getVariableById(org.openrdf.model.URI id) |
PropertyConstraint |
getVariableByName(String name) |
Activity |
getWasGeneratedBy() |
XoneConstraint |
getXone() |
boolean |
hasDataSourceType(org.openrdf.model.URI type) |
boolean |
hasPropertyConstraint(org.openrdf.model.URI predicate) |
PropertyConstraint |
property(org.openrdf.model.URI predicate)
Get the PropertyConstraint with the specified predicate.
|
void |
setAggregationOf(org.openrdf.model.URI aggregationOf) |
void |
setAnd(AndConstraint and) |
void |
setBigQueryTableId(String bigQueryTableId) |
void |
setComment(String comment) |
void |
setConstraint(List<Expression> constraint) |
void |
setDefaultShapeFor(List<org.openrdf.model.URI> defaultShapeFor) |
void |
setDerivedProperty(List<PropertyConstraint> derivedProperty) |
void |
setEquivalentRelationalShape(org.openrdf.model.URI equivalentRelationalShape) |
void |
setId(org.openrdf.model.Resource id) |
void |
setIdComment(String idComment) |
void |
setIdFormat(org.openrdf.model.URI idFormat) |
void |
setInputShapeOf(List<org.openrdf.model.URI> inputShapeOf) |
void |
setIriFormula(QuantifiedExpression iriFormula) |
void |
setIriTemplate(IriTemplate iriTemplate) |
void |
setJsonldContext(Context jsonldContext)
Set the default JSON-LD context for this shape
|
void |
setMediaTypeBaseName(String mediaTypeBaseName) |
void |
setNodeKind(NodeKind nodeKind) |
void |
setNodeShapeCube(Cube nodeShapeCube) |
void |
setNot(NotConstraint not) |
void |
setOr(OrConstraint or) |
void |
setOrdinal(int ordinal)
Set integer used to define the position of this shape within some ordering.
|
void |
setPreferredJsonldContext(org.openrdf.model.URI preferredJsonldContext) |
void |
setPreferredJsonSchema(org.openrdf.model.URI preferredJsonSchema) |
void |
setPropertyList(List<PropertyConstraint> list) |
void |
setRollUpBy(org.openrdf.model.URI rollUpBy) |
void |
setShapeDataSource(List<DataSource> shapeDataSource) |
void |
setShapeMaxRowLengthList(List<ShapeMaxRowLength> shapeMaxRowLengthList) |
void |
setShapeProcessing(Set<org.openrdf.model.URI> shapeProcessing) |
void |
setTabularOriginShape(Shape tabularOriginShape) |
void |
setTargetClass(org.openrdf.model.URI targetClass) |
void |
setTermStatus(org.openrdf.model.URI termStatus) |
void |
setType(Set<org.openrdf.model.URI> type) |
void |
setUpdateWhen(Expression updateWhen) |
void |
setUsesAbbreviationScheme(org.openrdf.model.URI usesAbbreviationScheme) |
void |
setVariable(List<PropertyConstraint> variable) |
void |
setWasGeneratedBy(Activity wasGeneratedBy) |
void |
setXone(XoneConstraint xone) |
String |
summaryText() |
void |
toJson(Set<Shape> memory,
com.fasterxml.jackson.core.JsonGenerator json) |
String |
toString() |
Shape |
updatePropertyConstraint(PropertyConstraint c) |
public List<org.openrdf.model.URI> getInputShapeOf()
public void setInputShapeOf(List<org.openrdf.model.URI> inputShapeOf)
public void addInputShapeOf(org.openrdf.model.URI uri)
public Shape deepClone()
public List<PropertyConstraint> getProperty()
public void setPropertyList(List<PropertyConstraint> list)
public AndConstraint getAnd()
public void setAnd(AndConstraint and)
public OrConstraint getOr()
public void setOr(OrConstraint or)
public PropertyConstraint getTimeParam()
public PropertyConstraint getDimensionConstraint(org.openrdf.model.URI dimension)
public PropertyConstraint getPropertyConstraint(org.openrdf.model.URI predicate)
public boolean hasPropertyConstraint(org.openrdf.model.URI predicate)
public PropertyConstraint property(org.openrdf.model.URI predicate)
predicate - The predicate of the requested PropertyConstraintpublic void addProperty(PropertyConstraint c)
public Shape add(PropertyConstraint c)
public Shape updatePropertyConstraint(PropertyConstraint c)
public org.openrdf.model.URI getTargetClass()
public void setTargetClass(org.openrdf.model.URI targetClass)
public org.openrdf.model.URI getIri()
public org.openrdf.model.Resource getId()
public void setId(org.openrdf.model.Resource id)
public void toJson(Set<Shape> memory, com.fasterxml.jackson.core.JsonGenerator json) throws IOException
IOExceptionpublic Context getJsonldContext()
public void setJsonldContext(Context jsonldContext)
jsonldContext - The default JSON-LD context for this shapepublic org.openrdf.model.URI getEquivalentRelationalShape()
public void setEquivalentRelationalShape(org.openrdf.model.URI equivalentRelationalShape)
public NodeKind getNodeKind()
public void setNodeKind(NodeKind nodeKind)
public org.openrdf.model.URI getAggregationOf()
public void setAggregationOf(org.openrdf.model.URI aggregationOf)
public org.openrdf.model.URI getRollUpBy()
public void setRollUpBy(org.openrdf.model.URI rollUpBy)
public Activity getWasGeneratedBy()
public void setWasGeneratedBy(Activity wasGeneratedBy)
public String getComment()
public void setComment(String comment)
public String getBigQueryTableId()
public void setBigQueryTableId(String bigQueryTableId)
public void addType(org.openrdf.model.URI type)
public Set<org.openrdf.model.URI> getType()
public void setType(Set<org.openrdf.model.URI> type)
public IriTemplate getIriTemplate()
public void setIriTemplate(IriTemplate iriTemplate)
public List<DataSource> getShapeDataSource()
public void addShapeDataSource(DataSource dataSource)
public void setShapeDataSource(List<DataSource> shapeDataSource)
public boolean hasDataSourceType(org.openrdf.model.URI type)
public String bigQueryTableId()
public org.openrdf.model.URI getIdFormat()
public void setIdFormat(org.openrdf.model.URI idFormat)
public Expression getUpdateWhen()
public void setUpdateWhen(Expression updateWhen)
public PropertyConstraint getDerivedPropertyByPredicate(org.openrdf.model.URI predicate)
public List<PropertyConstraint> getDerivedProperty()
public void setDerivedProperty(List<PropertyConstraint> derivedProperty)
public void addDerivedProperty(PropertyConstraint p)
public void addVariable(PropertyConstraint p)
public PropertyConstraint getVariableById(org.openrdf.model.URI id)
public PropertyConstraint getVariableByName(String name)
public List<PropertyConstraint> getVariable()
public void setVariable(List<PropertyConstraint> variable)
public int getOrdinal()
public void setOrdinal(int ordinal)
public org.openrdf.model.URI getPreferredJsonldContext()
public void setPreferredJsonldContext(org.openrdf.model.URI preferredJsonldContext)
public org.openrdf.model.URI getPreferredJsonSchema()
public void setPreferredJsonSchema(org.openrdf.model.URI preferredJsonSchema)
public List<Expression> getConstraint()
public void addConstraint(Expression expr)
public void setConstraint(List<Expression> constraint)
public void addDefaultShapeFor(org.openrdf.model.URI app)
public List<org.openrdf.model.URI> getDefaultShapeFor()
public void setDefaultShapeFor(List<org.openrdf.model.URI> defaultShapeFor)
public String getMediaTypeBaseName()
public void setMediaTypeBaseName(String mediaTypeBaseName)
public QuantifiedExpression getIriFormula()
public void setIriFormula(QuantifiedExpression iriFormula)
public String summaryText()
public DataSource findDataSourceByType(org.openrdf.model.URI type)
public <T> T findDataSource(Class<T> type)
public Shape getTabularOriginShape()
public void setTabularOriginShape(Shape tabularOriginShape)
public org.openrdf.model.URI getUsesAbbreviationScheme()
public void setUsesAbbreviationScheme(org.openrdf.model.URI usesAbbreviationScheme)
public List<ShapeMaxRowLength> getShapeMaxRowLengthList()
public void setShapeMaxRowLengthList(List<ShapeMaxRowLength> shapeMaxRowLengthList)
public org.openrdf.model.URI getTermStatus()
public void setTermStatus(org.openrdf.model.URI termStatus)
public Set<org.openrdf.model.URI> getShapeProcessing()
public void addShapeProcessing(org.openrdf.model.URI shapeProcessing)
public void setShapeProcessing(Set<org.openrdf.model.URI> shapeProcessing)
public XoneConstraint getXone()
public void setXone(XoneConstraint xone)
public NotConstraint getNot()
public void setNot(NotConstraint not)
public void addExplicitDerivedFrom(Shape sourceShape)
public Set<org.openrdf.model.URI> getBroader()
public void addBroader(org.openrdf.model.URI skosConcept)
public Cube getNodeShapeCube()
public void setNodeShapeCube(Cube nodeShapeCube)
public String getIdComment()
public void setIdComment(String idComment)
Copyright © 2019. All rights reserved.