Skip to content

AttributeString

Canonical path: NemAll_Python_BaseElements.AttributeString

Bases: Attribute

String attribute

Value property writable

Value: str

Get the attribute value

__eq__

__eq__(element: AttributeString) -> bool

Equal operator

Parameters:

Returns:

  • bool

    Elements are equal: true/false

__init__ overloaded

__init__()

Initialize

__init__(id: int, value: str)

Constructor

Parameters:

  • id (int) –

    Attribute id

  • value (str) –

    Attribute value

__init__(element: AttributeString)

Copy constructor

Parameters:

__ne__

__ne__(element: AttributeString) -> bool

Unequal operator

Parameters:

Returns:

  • bool

    Elements are unequal: true/false

__repr__

__repr__() -> str

Convert to string

Placeholder