Skip to content

Class: Entity

A database entity.

URI: cdm:Entity

classDiagram class Entity click Entity href "../Entity" Entity : created Entity : data_source Entity : entity_type Entity --> "1" EntityType : entity_type click EntityType href "../EntityType" Entity : updated

Slots

Name Cardinality and Range Description Inheritance
entity_type 1
EntityType
The class of the entity direct
created 1
Integer
POSIX timestamp for when the entity was created or added to the CDM direct
updated 1
Integer
POSIX timestamp for when the entity was updated in the CDM direct
data_source 1
String
How this entity was derived and added to the database direct

Usages

used by used in type used
AssociationXEntity entity_id range Entity
EncodedFeature encoded_feature_id range Entity
Feature feature_id range Entity
Protein protein_id range Entity
Sample sample_id range Entity

Identifier and Mapping Information

Schema Source

  • from schema: https://github.com/kbase/cdm-schema

Mappings

Mapping Type Mapped Value
self cdm:Entity
native cdm:Entity

LinkML Source

Direct

name: Entity
description: A database entity.
from_schema: https://github.com/kbase/cdm-schema
attributes:
  entity_type:
    name: entity_type
    description: The class of the entity. Must be a valid CDM class.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    domain_of:
    - Entity
    range: EntityType
    required: true
  created:
    name: created
    description: POSIX timestamp for when the entity was created or added to the CDM.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    domain_of:
    - Entity
    range: integer
    required: true
  updated:
    name: updated
    description: POSIX timestamp for when the entity was updated in the CDM.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    domain_of:
    - Entity
    range: integer
    required: true
  data_source:
    name: data_source
    description: How this entity was derived and added to the database.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    domain_of:
    - Entity
    required: true

Induced

name: Entity
description: A database entity.
from_schema: https://github.com/kbase/cdm-schema
attributes:
  entity_type:
    name: entity_type
    description: The class of the entity. Must be a valid CDM class.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: entity_type
    owner: Entity
    domain_of:
    - Entity
    range: EntityType
    required: true
  created:
    name: created
    description: POSIX timestamp for when the entity was created or added to the CDM.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: created
    owner: Entity
    domain_of:
    - Entity
    range: integer
    required: true
  updated:
    name: updated
    description: POSIX timestamp for when the entity was updated in the CDM.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: updated
    owner: Entity
    domain_of:
    - Entity
    range: integer
    required: true
  data_source:
    name: data_source
    description: How this entity was derived and added to the database.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: data_source
    owner: Entity
    domain_of:
    - Entity
    range: string
    required: true