Slot: apply_to
Used to extend class or slot definitions. For example, if we have a core schema where a gene has two slots for identifier and symbol, and we have a specialized schema for my_organism where we wish to add a slot systematic_name, we can avoid subclassing by defining a class gene_my_organism, adding the slot to this class, and then adding an apply_to pointing to the gene class. The new slot will be 'injected into' the gene class.
URI: linkml:apply_to
Alias: apply_to
Applicable Classes
| Name |
Description |
Modifies Slot |
| EnumDefinition |
an element whose instances must be drawn from a specified set of permissible ... |
no |
| Definition |
abstract base class for core metaclasses |
no |
| SlotDefinition |
an element that describes how instances are related to other instances |
yes |
| ClassDefinition |
an element whose instances are complex objects that may have slot-value assig... |
yes |
Properties
Type and Range
Cardinality and Requirements
| Property |
Value |
| Multivalued |
Yes |
Status: testing
Schema Source
Mappings
| Mapping Type |
Mapped Value |
| self |
linkml:apply_to |
| native |
linkml:apply_to |
LinkML Source
name: apply_to
description: Used to extend class or slot definitions. For example, if we have a core
schema where a gene has two slots for identifier and symbol, and we have a specialized
schema for my_organism where we wish to add a slot systematic_name, we can avoid
subclassing by defining a class gene_my_organism, adding the slot to this class,
and then adding an apply_to pointing to the gene class. The new slot will be 'injected
into' the gene class.
from_schema: https://w3id.org/linkml/meta
status: testing
rank: 1000
domain: definition
alias: apply_to
domain_of:
- definition
range: definition
multivalued: true