Package hydra.shacl.model
Class PropertyShape.Builder
- java.lang.Object
-
- hydra.shacl.model.PropertyShape.Builder
-
- Enclosing class:
- PropertyShape
public static final class PropertyShape.Builder extends java.lang.ObjectA fluent builder forPropertyShape.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyShapebuild()Builds an immutablePropertyShape.PropertyShape.Buildercommon(CommonProperties common)PropertyShape.Builderconstraints(java.util.Set<PropertyShapeConstraint> constraints)PropertyShape.BuilderdefaultValue(Optional<Node> defaultValue)PropertyShape.Builderdescription(LangStrings description)PropertyShape.Buildername(LangStrings name)PropertyShape.Builderorder(Optional<java.math.BigInteger> order)PropertyShape.Builderpath(Iri path)
-
-
-
Method Detail
-
common
public PropertyShape.Builder common(CommonProperties common)
-
constraints
public PropertyShape.Builder constraints(java.util.Set<PropertyShapeConstraint> constraints)
-
defaultValue
public PropertyShape.Builder defaultValue(Optional<Node> defaultValue)
-
description
public PropertyShape.Builder description(LangStrings description)
-
name
public PropertyShape.Builder name(LangStrings name)
-
order
public PropertyShape.Builder order(Optional<java.math.BigInteger> order)
-
path
public PropertyShape.Builder path(Iri path)
-
build
public PropertyShape build()
Builds an immutablePropertyShape.
-
-