@DomainNode
@Authorization(name = "READ", allowFromRelated = ["project", "view"])
class RelationPartnerLayout(var x: Int, var y: Int) : BaseNode

Layout for a RelationPartner (ComponentVersion or Interface)

Constructors

Link copied to clipboard
constructor(x: Int, y: Int)

Properties

Link copied to clipboard
internal var fieldCache: MutableMap<String, Any?>
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?
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
val pos: Point

The position of the RelationPartner in the layout.

Link copied to clipboard
@NodeRelationship(type = "RELATION_PARTNER", direction = Direction.INCOMING)
@FilterProperty
val project: LazyLoadingDelegate<Project?, NodePropertyDelegate.NodeProperty>

The project this layout is for, mutually exclusive with view.

Link copied to clipboard
internal val propertyLookup: MutableMap<String, PropertyDelegate<*>>
Link copied to clipboard
Link copied to clipboard
@NodeRelationship(type = "LAYOUT", direction = Direction.INCOMING)
@GraphQLNullable
@FilterProperty
val relationPartner: LazyLoadingDelegate<RelationPartner, NodePropertyDelegate.NodeProperty>

The RelationPartner this layout is for.

Link copied to clipboard
@NodeRelationship(type = "RELATION_PARTNER", direction = Direction.INCOMING)
@FilterProperty
val view: LazyLoadingDelegate<View?, NodePropertyDelegate.NodeProperty>

The view this layout is for, mutually exclusive with project.

Link copied to clipboard
var x: Int
Link copied to clipboard
var y: Int

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