ValueKey¶
- class dsviper.ValueKey¶
Bases:
objectA class used to represent a value of type key<element_type>. Use the static factory method create(…).
Note: Not directly instantiable.
- static create(type_concept: TypeConcept, instance_id: str | ValueUUId | None = None) ValueKey¶
Return a new key with the instance_id or a generated one if not specified.
- detail_representation() str¶
Return a detailed representation.
- detail_type_representation() str¶
Return the detail type representation.
- has_parent_key() bool¶
Return True if a parent key is available.
- hash() int¶
Return the hash value.
- is_member(target_concept: TypeConcept) bool¶
Return True if target_concept is a member.
- representation() str¶
Return the representation.
- to_member_key(target_concept: TypeConcept) ValueKey¶
Return a key<target_concept> or raise.
- type_code() str¶
Return the type code.
- type_concept() TypeConcept¶
Return the type of the concept.