Class: LanguagePlatform
A programming language or language class applicable to a weakness with associated prevalence (Language element in ApplicablePlatformsType).
URI: cwe:LanguagePlatform
classDiagram
class LanguagePlatform
click LanguagePlatform href "../LanguagePlatform/"
LanguagePlatform : class_
LanguagePlatform --> "0..1" LanguageClass : class_
click LanguageClass href "../LanguageClass/"
LanguagePlatform : name
LanguagePlatform --> "0..1" ProgrammingLanguage : name
click ProgrammingLanguage href "../ProgrammingLanguage/"
LanguagePlatform : prevalence
LanguagePlatform --> "1" PlatformPrevalence : prevalence
click PlatformPrevalence href "../PlatformPrevalence/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| name | 0..1 ProgrammingLanguage |
Name of the programming language | direct |
| class_ | 0..1 LanguageClass |
Class of the programming language | direct |
| prevalence | 1 PlatformPrevalence |
Regularity with which this weakness applies to this language | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| ApplicablePlatforms | languages | range | LanguagePlatform |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/cwe
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | cwe:LanguagePlatform |
| native | cwe:LanguagePlatform |
LinkML Source
Direct
name: LanguagePlatform
description: A programming language or language class applicable to a weakness with
associated prevalence (Language element in ApplicablePlatformsType).
from_schema: https://w3id.org/lmodel/cwe
slots:
- name
- class_
- prevalence
slot_usage:
name:
name: name
description: Name of the programming language.
range: ProgrammingLanguage
class_:
name: class_
description: Class of the programming language.
range: LanguageClass
prevalence:
name: prevalence
description: Regularity with which this weakness applies to this language.
required: true
Induced
name: LanguagePlatform
description: A programming language or language class applicable to a weakness with
associated prevalence (Language element in ApplicablePlatformsType).
from_schema: https://w3id.org/lmodel/cwe
slot_usage:
name:
name: name
description: Name of the programming language.
range: ProgrammingLanguage
class_:
name: class_
description: Class of the programming language.
range: LanguageClass
prevalence:
name: prevalence
description: Regularity with which this weakness applies to this language.
required: true
attributes:
name:
name: name
description: Name of the programming language.
from_schema: https://w3id.org/lmodel/cwe
aliases:
- label
rank: 1000
slot_uri: rdfs:label
alias: name
owner: LanguagePlatform
domain_of:
- WeaknessCatalog
- Weakness
- Category
- View
- LanguagePlatform
- OSPlatform
- ArchitecturePlatform
- TechnologyPlatform
- PreviousEntryName
range: ProgrammingLanguage
class_:
name: class_
description: Class of the programming language.
from_schema: https://w3id.org/lmodel/cwe
rank: 1000
alias: class_
owner: LanguagePlatform
domain_of:
- LanguagePlatform
- OSPlatform
- ArchitecturePlatform
- TechnologyPlatform
range: LanguageClass
prevalence:
name: prevalence
description: Regularity with which this weakness applies to this language.
from_schema: https://w3id.org/lmodel/cwe
rank: 1000
alias: prevalence
owner: LanguagePlatform
domain_of:
- LanguagePlatform
- OSPlatform
- ArchitecturePlatform
- TechnologyPlatform
range: PlatformPrevalence
required: true