@DomainNode
SubTemplate for InterfacePart. Part of a InterfaceSpecificationTemplate. Defines templated fields with specific types (defined using JSON schema).
Constructors
Link copied to clipboard
constructor(name: String, description: String, templateFieldSpecifications: MutableMap<String, String>)
Properties
Link copied to clipboard
The description of this entity.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@ConvertWith(converter = LazyLoadingContextConverter::class)
Link copied to clipboard
Version used for optimistic locking
Link copied to clipboard
Link copied to clipboard
@NodeRelationship(type = "PART_OF", direction = Direction.OUTGOING)
The Template this SubTemplate is part of
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NodeRelationship(type = "USED_IN", direction = Direction.OUTGOING)
Entities which use this template.
Functions
Link copied to clipboard
internal suspend fun getFromGraphQL(@Autowired nodeQueryParser: NodeQueryParser, dataFetchingEnvironment: DataFetchingEnvironment): Any?
Link copied to clipboard
Link copied to clipboard
internal suspend fun <T : Node?> loadNodesOfRelationship(property: KProperty1<*, *>, loader: LazyLoadingSubqueryGenerator<T>.() -> Unit?)
Link copied to clipboard
Link copied to clipboard
protected fun <T : Node> NodeSetProperty(): PropertyDelegateProvider<Node, NodeSetPropertyDelegate<T>>
Link copied to clipboard
Link copied to clipboard
Schema of a template field by name of the template field. Error if the field does not exist.
fun templateFieldSpecifications(namePrefix: String? = null, @Autowired objectMapper: ObjectMapper): List<JSONField>
All template field specifications, if a `namePrefix` is provided, only those matching it