@DomainNode
@Authorization(name = "READ", allowAll = true)
class RelationCondition : BaseNode

Condition which defines if a Relation can use a RelationTemplate. A relation can only use the Template, if the start of the Relation has a template in from, and the end of the Relation has a template in to. Also defines which InterfaceSpecifications are derived via the Relation. Part of a RelationTemplate. READ is always granted.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
internal var fieldCache: MutableMap<String, Any?>
Link copied to clipboard
@NodeRelationship(type = "FROM", direction = Direction.OUTGOING)
@FilterProperty
val from: LazyLoadingDelegate<RelationPartnerTemplate<*, *>, NodeSetPropertyDelegate.NodeSetProperty>

Templates of allowed start RelationPartners

Link copied to clipboard
val graphQLId: ID

The unique id of this node

Link copied to clipboard
@Id
@GeneratedValue(generatorRef = "nodeIdGenerator")
internal var id: String?
@NodeRelationship(type = "PART_OF", direction = Direction.INCOMING)
@FilterProperty
val interfaceSpecificationDerivationConditions: LazyLoadingDelegate<InterfaceSpecificationDerivationCondition, NodeSetPropertyDelegate.NodeSetProperty>

Defines which InterfaceSpecifications are derived via the Relation.

Link copied to clipboard
Link copied to clipboard
internal var isSaved: Boolean
Link copied to clipboard
@ConvertWith(converter = LazyLoadingContextConverter::class)
internal var lazyLoadingContext: LazyLoadingContext?
Link copied to clipboard
@Version
private var nodeVersion: Long

Version used for optimistic locking

Link copied to clipboard
internal var orderFields: MutableMap<String, Any?>?
Link copied to clipboard
@NodeRelationship(type = "PART_OF", direction = Direction.OUTGOING)
@FilterProperty
val partOf: LazyLoadingDelegate<RelationTemplate, NodeSetPropertyDelegate.NodeSetProperty>

The RelationTemplates this is part of.

Link copied to clipboard
internal val propertyLookup: MutableMap<String, PropertyDelegate<*>>
Link copied to clipboard
Link copied to clipboard
@NodeRelationship(type = "TO", direction = Direction.OUTGOING)
@FilterProperty
val to: LazyLoadingDelegate<RelationPartnerTemplate<*, *>, NodeSetPropertyDelegate.NodeSetProperty>

Templates of allowed end RelationPartners

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
internal suspend fun getFromGraphQL(@Autowired nodeQueryParser: NodeQueryParser, dataFetchingEnvironment: DataFetchingEnvironment): Any?
Link copied to clipboard
internal fun <T : PropertyDelegate<*>> getProperty(property: KProperty1<*, *>): T
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
internal suspend fun <T : Node?> loadNodesOfRelationship(property: KProperty1<*, *>, loader: LazyLoadingSubqueryGenerator<T>.() -> Unit?)
Link copied to clipboard
protected fun <T : Node?> NodeProperty(): PropertyDelegateProvider<Node, NodePropertyDelegate<T>>
Link copied to clipboard
protected fun <T : Node> NodeSetProperty(): PropertyDelegateProvider<Node, NodeSetPropertyDelegate<T>>
Link copied to clipboard
internal fun registerQueryResult(entry: NodeQueryEntry<*>, queryResult: Any?)
Link copied to clipboard
open override fun toString(): String