@DomainNode
@Authorization(name = "READ", allowFromRelated = ["interfaceDefinition"])
@Authorization(name = "ADMIN", allowFromRelated = ["interfaceDefinition"])
@Authorization(name = "RELATE_FROM_COMPONENT", allowFromRelated = ["interfaceDefinition"])
@Authorization(name = "AFFECT_ENTITIES_WITH_ISSUES", allowFromRelated = ["interfaceDefinition"])
@Authorization(name = "RELATED_ISSUE_AFFECTED_ENTITY", allowFromRelated = ["interfaceDefinition"])
@Authorization(name = "PART_OF_PROJECT", allowFromRelated = ["interfaceDefinition"])
class Interface : RelationPartner

An interface which is part of a specific ComponentVersion. Its semantics depend on the InterfaceSpecification it is specified by, e.g. an Interface can represent a REST API. Can be used in Relations and affected by Issues. READ is granted if READ is granted on `interfaceDefinition`.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@NodeRelationship(type = "AFFECTS", direction = Direction.INCOMING)
@FilterProperty
val affectingIssues: LazyLoadingDelegate<Issue, NodeSetPropertyDelegate.NodeSetProperty>

The issues which affect this entity

Link copied to clipboard
@NodeRelationship(type = "AGGREGATED_ISSUE", direction = Direction.OUTGOING)
@FilterProperty
val aggregatedIssues: LazyLoadingDelegate<AggregatedIssue, NodeSetPropertyDelegate.NodeSetProperty>

AggregatedIssues on this RelationPartner.

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
@NodeRelationship(type = "INCOMING_RELATION", direction = Direction.OUTGOING)
@FilterProperty
val incomingRelations: LazyLoadingDelegate<Relation, NodeSetPropertyDelegate.NodeSetProperty>

Relations which use this as the end of the Relation.

Link copied to clipboard
@NodeRelationship(type = "DEFINITION", direction = Direction.OUTGOING)
@FilterProperty
val interfaceDefinition: LazyLoadingDelegate<InterfaceDefinition, NodePropertyDelegate.NodeProperty>

The definition of this interface.

Link copied to clipboard
@NodeRelationship(type = "INCLUDING_PART", direction = Direction.INCOMING)
@FilterProperty
val intraComponentDependencyParticipants: LazyLoadingDelegate<IntraComponentDependencyParticipant, NodeSetPropertyDelegate.NodeSetProperty>

Participants of IntraComponentDependencySpecifications where this is used.

Link copied to clipboard
Link copied to clipboard
internal var isSaved: Boolean
Link copied to clipboard
@NodeRelationship(type = "LAYOUT", direction = Direction.OUTGOING)
val layouts: LazyLoadingDelegate<RelationPartnerLayout, NodeSetPropertyDelegate.NodeSetProperty>
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 = "OUTGOING_RELATION", direction = Direction.OUTGOING)
@FilterProperty
val outgoingRelations: LazyLoadingDelegate<Relation, NodeSetPropertyDelegate.NodeSetProperty>

Relations which use this as the start of the Relation.

Link copied to clipboard
internal val propertyLookup: MutableMap<String, PropertyDelegate<*>>
Link copied to clipboard

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 suspend override fun relationPartnerTemplate(cache: NodeCache? = null): RelationPartnerTemplate<*, *>

Helper function to get the associated RelationPartnerTemplate

Link copied to clipboard
open override fun toString(): String