Class: ListItem
element belonging to a list
URI: collections:ListItem
classDiagram
class ListItem
CoItem <|-- ListItem
ListItem : _index
ListItem ..> positive integer : _index
ListItem : itemOf
ListItem ..> Bag : itemOf
Inheritance
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
_index | 0..1 PositiveInteger |
A number identifying the position, starting from 1, of a particular list item... | direct |
itemOf | 0..1 Bag |
The link to a bag in which the item is member | CoItem |
Usages
used by | used in | type | used |
---|---|---|---|
List | item | range | ListItem |
List | lastItem | range | ListItem |
List | firstItem | range | ListItem |
ListItem | _index | domain | ListItem |
Aliases
- list item
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/collections
Mappings
Mapping Type | Mapped Value |
---|---|
self | collections:ListItem |
native | collections:ListItem |
exact | co:ListItem, schema:ItemList |
LinkML Source
Direct
name: ListItem
description: element belonging to a list
from_schema: https://w3id.org/lmodel/collections
aliases:
- list item
exact_mappings:
- co:ListItem
- schema:ItemList
is_a: CoItem
slots:
- _index
slot_usage:
name: _index
domain_of:
- ListItem
required: true
minimum_cardinality: 1
maximum_cardinality: 1
Induced
name: ListItem
description: element belonging to a list
from_schema: https://w3id.org/lmodel/collections
aliases:
- list item
exact_mappings:
- co:ListItem
- schema:ItemList
is_a: CoItem
slot_usage:
name: _index
domain_of:
- ListItem
required: true
minimum_cardinality: 1
maximum_cardinality: 1
attributes:
_index:
name: _index
description: A number identifying the position, starting from 1, of a particular
list item within a list.
from_schema: https://w3id.org/lmodel/collections
domain: ListItem
alias: _index
owner: ListItem
domain_of:
- ListItem
range: positive integer
required: true
minimum_cardinality: 1
maximum_cardinality: 1
itemOf:
name: itemOf
description: The link to a bag in which the item is member.
from_schema: https://w3id.org/lmodel/collections
aliases:
- is item of
exact_mappings:
- co:itemOf
domain: CoItem
alias: itemOf
owner: ListItem
domain_of:
- CoItem
inverse: item
range: Bag