sbol3.refobj_property

Module Contents

Classes

ReferencedObjectList

ReferencedObjectMixin

ReferencedObjectSingleton

ReferencedURI

str(object='') -> str

Functions

ReferencedObject(→ Union[ReferencedURI, ...)

ReferencedObject(property_owner: Any, property_uri: str, lower_bound: int, upper_bound: Union[int, float], validation_rules: Optional[List] = None, initial_value: Optional[Union[Union[Identified, str], list[Union[Identified, str]]]] = None) Union[ReferencedURI, list[ReferencedURI], Property]
class ReferencedObjectList(property_owner: Any, property_uri: str, lower_bound: int, upper_bound: int, validation_rules: Optional[List] = None, initial_value: Optional[list[Union[Identified, str]]] = None)

Bases: ReferencedObjectMixin, ListProperty

class ReferencedObjectMixin
static from_user(value: Any) rdflib.URIRef
maybe_add_to_document(value: Any) None
to_user(value: Any) str
class ReferencedObjectSingleton(property_owner: Any, property_uri: str, lower_bound: int, upper_bound: int, validation_rules: Optional[List] = None, initial_value: Optional[Union[Identified, str]] = None)

Bases: ReferencedObjectMixin, SingletonProperty

set(value: Any) None
class ReferencedURI

Bases: str

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

Initialize self. See help(type(self)) for accurate signature.

__eq__(other)

Return self==value.

lookup()