toggle menu
DICE API Documentation
JVM
switch theme
search in API
DICE API Documentation
/
com.embabel.dice.text2graph
/
SuggestedRelationship
Suggested
Relationship
data
class
SuggestedRelationship
(
val
sourceId
:
String
,
val
targetId
:
String
,
val
type
:
String
,
val
description
:
String
?
=
null
)
:
RelationshipInstance
Members
Constructors
Suggested
Relationship
Link copied to clipboard
constructor
(
sourceId
:
String
,
targetId
:
String
,
type
:
String
,
description
:
String
?
=
null
)
Properties
description
Link copied to clipboard
open
override
val
description
:
String
?
=
null
source
Id
Link copied to clipboard
open
override
val
sourceId
:
String
target
Id
Link copied to clipboard
open
override
val
targetId
:
String
type
Link copied to clipboard
open
override
val
type
:
String
The type of the relationship, e.g. "FALLS_UNDER"
Functions
is
Valid
Link copied to clipboard
fun
isValid
(
schema
:
<Error class: unknown class>
,
sourceEntity
:
<Error class: unknown class>
,
targetEntity
:
<Error class: unknown class>
)
:
Boolean