Packages

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

Source
ShapeExpr.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Shape
  2. Extend
  3. ShapeExpr
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _extends: Option[List[ShapeLabel]]
  5. val actions: Option[List[SemAct]]
  6. def addAnnotations(as: List[Annotation]): ShapeExpr
    Definition Classes
    ShapeShapeExpr
  7. def addId(lbl: ShapeLabel): Shape
    Definition Classes
    ShapeShapeExpr
  8. def addSemActs(as: List[SemAct]): ShapeExpr
    Definition Classes
    ShapeShapeExpr
  9. val annotations: Option[List[Annotation]]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def children(schema: AbstractSchema): List[Shape]
    Definition Classes
    ShapeExpr
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. val closed: Option[Boolean]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val expression: Option[TripleExpr]
  16. def extendCheckingVisited[S, E, Label](s: S, finder: (Label) ⇒ Either[String, S], extend: (S) ⇒ Option[List[Label]], combineExpr: (E, E) ⇒ E, expr: (S) ⇒ Option[E]): Either[String, Option[E]]
    Definition Classes
    Extend
  17. def extendExpression(schema: Schema): Either[String, Option[TripleExpr]]
  18. val extra: Option[List[IRI]]
  19. def extraPaths: List[Direct]
  20. def flattenShape(schema: AbstractSchema): Either[String, FlatShape]

    If the shape can be flatten, returns a FlatShape

  21. def getActions: List[SemAct]
  22. def getAnnotations: List[Annotation]
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def getExtend: List[ShapeLabel]
  25. def getExtendsSorted: List[ShapeExpr]
  26. def getExtra: List[IRI]
  27. 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
  28. def hasNoReference(schema: AbstractSchema): Boolean
    Definition Classes
    ShapeExpr
  29. def hasRepeatedProperties(schema: AbstractSchema): Boolean
  30. val id: Option[ShapeLabel]
    Definition Classes
    ShapeShapeExpr
  31. def isClosed: Boolean
  32. def isEmpty: Boolean
  33. def isFlatShape(schema: AbstractSchema): Boolean
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def isNormalized(schema: AbstractSchema): Boolean
  36. def isSimple: Boolean
    Definition Classes
    ShapeExpr
  37. def isVirtual: Boolean
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. def normalized(schema: AbstractSchema): Either[String, NormalizedShape]
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. def paths(schema: AbstractSchema): Either[String, Set[Path]]

    Return the paths that are mentioned in a shape

    Return the paths that are mentioned in a shape

    schema

    Schema to which the shape belongs, it is needed to resolve references to other shapes

    returns

    Set of paths or error in case the shape is not well defined (may have bad references)

    Definition Classes
    ShapeShapeExpr
  43. def relativize(base: IRI): Shape
    Definition Classes
    ShapeShapeExpr
  44. val restricts: Option[List[ShapeLabel]]
  45. def rmId: Shape
    Definition Classes
    ShapeShapeExpr
  46. def showQualified(pm: PrefixMap): String
    Definition Classes
    ShapeExpr
  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. val virtual: Option[Boolean]
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Extend

Inherited from ShapeExpr

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped