case class Shape(id: Option[ShapeLabel], virtual: Option[Boolean], closed: Option[Boolean], extra: Option[List[IRI]], expression: Option[TripleExpr], _extends: Option[List[ShapeLabel]], restricts: Option[List[ShapeLabel]], annotations: Option[List[Annotation]], actions: Option[List[SemAct]]) extends ShapeExpr with Extend with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Shape
- Extend
- ShapeExpr
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Shape(id: Option[ShapeLabel], virtual: Option[Boolean], closed: Option[Boolean], extra: Option[List[IRI]], expression: Option[TripleExpr], _extends: Option[List[ShapeLabel]], restricts: Option[List[ShapeLabel]], annotations: Option[List[Annotation]], actions: Option[List[SemAct]])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _extends: Option[List[ShapeLabel]]
- val actions: Option[List[SemAct]]
- def addAnnotations(as: List[Annotation]): ShapeExpr
- def addId(lbl: ShapeLabel): Shape
- def addSemActs(as: List[SemAct]): ShapeExpr
- val annotations: Option[List[Annotation]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def children(schema: AbstractSchema): List[Shape]
- Definition Classes
- ShapeExpr
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val closed: Option[Boolean]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expression: Option[TripleExpr]
- def extendCheckingVisited[S, E, Err, Label](s: S, finder: (Label) => Either[Err, S], extend: (S) => Option[List[Label]], expr: (S) => Option[E])(implicit arg0: Semigroup[E]): Either[Err, Option[E]]
- Definition Classes
- Extend
- val extra: Option[List[IRI]]
- def extraPaths: List[Direct]
- def flattenShape(schema: AbstractSchema): Either[String, FlatShape]
If the shape can be flatten, returns a FlatShape
- def getActions: List[SemAct]
- def getAnnotations: List[Annotation]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getExtend: List[ShapeLabel]
- def getExtra: List[IRI]
- def getShapeRefs(schema: AbstractSchema): Either[String, List[ShapeLabel]]
Return the labels that are referenced in a shape expression This method can use useful to detect if a shape doesn't refer to non-existing labels
Return the labels that are referenced in a shape expression This method can use useful to detect if a shape doesn't refer to non-existing labels
- Definition Classes
- ShapeExpr
- def hasNoReference(schema: AbstractSchema): Boolean
- Definition Classes
- ShapeExpr
- def hasRepeatedProperties(schema: AbstractSchema): Boolean
- val id: Option[ShapeLabel]
- def isClosed: Boolean
- def isEmpty: Boolean
- def isFlatShape(schema: AbstractSchema): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNormalized(schema: AbstractSchema): Boolean
- def isSimple: Boolean
- Definition Classes
- ShapeExpr
- def isVirtual: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def normalized(schema: AbstractSchema): Either[String, NormalizedShape]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def paths(schema: AbstractSchema): Either[String, Set[Path]]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def relativize(base: IRI): Shape
- val restricts: Option[List[ShapeLabel]]
- def rmId: Shape
- def showId(pm: PrefixMap): String
- Definition Classes
- ShapeExpr
- def showQualified(pm: PrefixMap): String
- Definition Classes
- ShapeExpr
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val virtual: Option[Boolean]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withExpr(te: Option[TripleExpr]): Shape
- def withExpr(te: TripleExpr): Shape
- def withExtends(es: ShapeLabel*): Shape
- def withExtra(extras: Option[List[IRI]]): Shape