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
- Alphabetic
- By Inheritance
Inherited
- Shape
- Extend
- ShapeExpr
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
- val closed: Option[Boolean]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expression: Option[TripleExpr]
-
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
- def extendExpression(schema: Schema): Either[String, Option[TripleExpr]]
- 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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getExtend: List[ShapeLabel]
- def getExtendsSorted: List[ShapeExpr]
- 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]]
Return the paths that are mentioned in a shape
- def relativize(base: IRI): Shape
- val restricts: Option[List[ShapeLabel]]
- def rmId: Shape
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )