sbol3.property_base
Classes
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
Module Contents
- class ListProperty(property_owner: Any, property_uri: str, lower_bound: int, upper_bound: int, validation_rules: List | None = None)
Bases:
Property,collections.abc.MutableSequence,abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- __contains__(item) bool
- __delitem__(key: int | slice) None
- __eq__(other) bool
- __getitem__(key: int | slice) Any
- __len__() int
- __repr__() str
- __setitem__(key: int | slice, value: Any) None
- __str__() str
- insert(index: int, value: Any) None
S.insert(index, value) – insert value before index
- set(value: Any) None
- class Property(property_owner: Any, property_uri: str, lower_bound: int, upper_bound: int, validation_rules: List | None = None)
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- property attribute_name: str | None
Heuristically determine which attribute is associated with this property. If no attribute can be found for this property return None.
- abstractmethod from_user(value: Any)
- item_added(item: Any) None
Stub method for child classes to override if they have to do any additional processing on items after they are added. This method will be called on each individual item that was added to the list.
- lower_bound
- property_owner
- property_uri
- abstractmethod set(value: Any) None
- abstractmethod to_user(value: Any) str
- upper_bound
- validate(name: str, report: sbol3.ValidationReport)
- validation_rules = None