capellambse.metamodel.information package

Objects and relations for information capture and data modelling.

class capellambse.metamodel.information.AbstractCollectionValue

Bases: DataValue

class capellambse.metamodel.information.AbstractEventOperation

Bases: NamedElement

class capellambse.metamodel.information.AbstractInstance

Bases: Property

class capellambse.metamodel.information.AggregationKind

Bases: Enum

Defines the specific kind of a relationship, as per UML definitions.

AGGREGATION = 'AGGREGATION'

A semantic relationship between a part and a whole.

The part has a lifecycle of its own, and is potentially shared among several aggregators.

ASSOCIATION = 'ASSOCIATION'

A semantic relationship between typed instances.

It has at least two ends represented by properties, each of which is connected to the type of the end. More than one end of the association may have the same type.

Indicates that the property has no aggregation.

COMPOSITION = 'COMPOSITION'

A semantic relationship between whole and its parts.

The parts lifecycles are tied to that of the whole, and they are not shared with any other aggregator.

UNSET = 'UNSET'

Used when value is not defined by the user.

class capellambse.metamodel.information.Association

Bases: NamedRelationship

members

The members of this Association.

navigable_members

The navigable members of this Association.

property roles: ElementList[Property]
class capellambse.metamodel.information.AssociationPkg

Bases: Structure

associations

The associations of this AssociationPkg.

visibility

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

class capellambse.metamodel.information.Class

Bases: GeneralClass

data_values

The data values of this Class.

information_realizations

The information realizations of this Class.

is_primitive

Indicates if class is primitive.

key_parts

The key parts of this Class.

owned_properties

The owned properties of this Class.

property properties: ElementList[Property]

Return all owned and inherited properties.

realizations

The realizations of this Class.

realized_by

The realized by of this Class.

realized_classes

The realized classes of this Class.

state_machines

The state machines of this Class.

class capellambse.metamodel.information.Collection

Bases: Classifier, MultiplicityElement, DataValueContainer, FinalizableElement

A Collection.

aggregation_kind

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

index

The index of this Collection.

is_primitive

A POD containing a boolean.

kind

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

type

The type of this Collection.

visibility

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

class capellambse.metamodel.information.CollectionKind

Bases: Enum

Defines the specific kind of a Collection structure.

ARRAY = 'ARRAY'

The collection is to be considered an array of elements.

SEQUENCE = 'SEQUENCE'

The collection is to be considered as a sequence (list) of elements.

class capellambse.metamodel.information.CollectionValue

Bases: AbstractCollectionValue

default_element

The default element of this CollectionValue.

elements

The elements of this CollectionValue.

class capellambse.metamodel.information.CollectionValueReference

Bases: AbstractCollectionValue

property

The property of this CollectionValueReference.

value

The value of this CollectionValueReference.

class capellambse.metamodel.information.DataPkg

Bases: AbstractDependenciesPkg, AbstractExchangeItemPkg, AssociationPkg, DataValueContainer, MessageReferencePkg

A data package that can hold classes.

classes

The classes of this DataPkg.

collections

The collections of this DataPkg.

data_types

The data types of this DataPkg.

datatypes

The datatypes of this DataPkg.

enumerations

The enumerations of this DataPkg.

exceptions

The exceptions of this DataPkg.

key_parts

The key parts of this DataPkg.

messages

The messages of this DataPkg.

owned_associations

The owned associations of this DataPkg.

packages

The packages of this DataPkg.

signals

The signals of this DataPkg.

state_events

The state events of this DataPkg.

unions

The unions of this DataPkg.

units

The units of this DataPkg.

class capellambse.metamodel.information.DomainElement

Bases: Class

class capellambse.metamodel.information.ElementKind

Bases: Enum

The visibility options for features of a class.

MEMBER = 'MEMBER'

The ExchangeItemElement is a member for its ExchangeItem.

TYPE = 'TYPE'

The ExchangeItemElement is a type for its ExchangeItem.

class capellambse.metamodel.information.ExchangeItem

Bases: AbstractExchangeItem, AbstractEvent, AbstractSignal, FinalizableElement, GeneralizableElement

elements

The elements of this ExchangeItem.

exchange_mechanism

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

property exchanges: ElementList[ComponentExchange | FunctionalExchange]

Exchanges using this ExchangeItem.

information_realizations

The information realizations of this ExchangeItem.

instances

The instances of this ExchangeItem.

type

The type of this ExchangeItem.

class capellambse.metamodel.information.ExchangeItemElement

Bases: MultiplicityElement, TypedElement, NamedElement

abstract_type

The abstract type of this ExchangeItemElement.

direction

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

is_composite

A POD containing a boolean.

kind

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

owner

The owner of this ExchangeItemElement.

referenced_properties

The referenced properties of this ExchangeItemElement.

class capellambse.metamodel.information.ExchangeItemInstance

Bases: AbstractInstance

class capellambse.metamodel.information.ExchangeItemRealization

Bases: Allocation

class capellambse.metamodel.information.ExchangeMechanism

Bases: Enum

Enumeration of the different exchange mechanisms.

EVENT = 'EVENT'

Asynchronous information that is taken into account rapidly.

FLOW = 'FLOW'

Continuous supply of data.

OPERATION = 'OPERATION'

Sporadic supply of data with returned data.

SHARED_DATA = 'SHARED_DATA'
UNSET = 'UNSET'

The exchange mechanism is not defined.

class capellambse.metamodel.information.InformationRealization

Bases: Allocation

class capellambse.metamodel.information.KeyPart

Bases: Relationship

property

The property of this KeyPart.

class capellambse.metamodel.information.MultiplicityElement

Bases: CapellaElement

default_value

The default value of this MultiplicityElement.

is_max_inclusive

A POD containing a boolean.

is_min_inclusive

A POD containing a boolean.

is_ordered

Indicates if this element is ordered.

is_unique

Indicates if this element is unique.

max_card

The max card of this MultiplicityElement.

max_length

The max length of this MultiplicityElement.

max_value

The max value of this MultiplicityElement.

min_card

The min card of this MultiplicityElement.

min_length

The min length of this MultiplicityElement.

min_value

The min value of this MultiplicityElement.

null_value

The null value of this MultiplicityElement.

class capellambse.metamodel.information.Operation

Bases: Feature, AbstractEvent, AbstractEventOperation

allocated_operations

The allocated operations of this Operation.

allocating_operations

The allocating operations of this Operation.

exchange_item_realizations

The exchange item realizations of this Operation.

operation_allocations

The operation allocations of this Operation.

parameters

The parameters of this Operation.

realized_exchange_items

The realized exchange items of this Operation.

class capellambse.metamodel.information.OperationAllocation

Bases: Allocation

class capellambse.metamodel.information.Parameter

Bases: TypedElement, MultiplicityElement, AbstractParameter

direction

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

passing_mode

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

class capellambse.metamodel.information.ParameterDirection

Bases: Enum

The direction in which data is passed along through a parameter.

EXCEPTION = 'EXCEPTION'

The parameter is like an exception.

IN = 'IN'

The parameter represents an input of the operation it is used in.

INOUT = 'INOUT'

The parameter represents both an input and output of the operation.

OUT = 'OUT'

The parameter represents an output of the operation it is used in.

RETURN = 'RETURN'

The parameter represents the return value of the operation.

UNSET = 'UNSET'

The CommunicationLink protocol is not yet set.

class capellambse.metamodel.information.PassingMode

Bases: Enum

The data passing mechanism for parameters of an operation.

BY_REF = 'BY_REF'

The data is being passed by reference to the operation.

BY_VALUE = 'BY_VALUE'

The data is being passed by value to the operation.

UNSET = 'UNSET'

The data passing mechanism is not precised.

class capellambse.metamodel.information.Port

Bases: NamedElement

allocated_ports

The allocated ports of this Port.

port_allocations

The port allocations of this Port.

port_realizations

The port realizations of this Port.

protocols

The protocols of this Port.

provided_interfaces

The provided interfaces of this Port.

realized_ports

The realized ports of this Port.

required_interfaces

The required interfaces of this Port.

state_machines

The state machines of this Port.

class capellambse.metamodel.information.PortAllocation

Bases: Allocation

class capellambse.metamodel.information.PortRealization

Bases: Allocation

class capellambse.metamodel.information.Property

Bases: Feature, TypedElement, MultiplicityElement, FinalizableElement

A Property of a Class.

aggregation_kind

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

association

The association of this Property.

is_derived

Indicates if property is abstract.

is_part_of_key

Indicates if property is part of key.

is_read_only

Indicates if property is read-only.

kind

The kind of this Property.

class capellambse.metamodel.information.Service

Bases: Operation

message_references

The message references of this Service.

synchronism_kind

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

thrown_exceptions

The thrown exceptions of this Service.

class capellambse.metamodel.information.SynchronismKind

Bases: Enum

The synchronicity of an operation invocation.

ASYNCHRONOUS = 'ASYNCHRONOUS'
SYNCHRONOUS = 'SYNCHRONOUS'
UNSET = 'UNSET'
class capellambse.metamodel.information.Union

Bases: Class

A Union.

default_property

The default property of this Union.

discriminant

The discriminant of this Union.

kind

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

class capellambse.metamodel.information.UnionKind

Bases: Enum

UNION = 'UNION'
VARIANT = 'VARIANT'
class capellambse.metamodel.information.UnionProperty

Bases: Property

qualifier

The qualifier of this UnionProperty.

class capellambse.metamodel.information.Unit

Bases: NamedElement

Submodules

capellambse.metamodel.information.communication module

class capellambse.metamodel.information.communication.CommunicationItem

Bases: Classifier, DataValueContainer

state_machines

The state machines of this CommunicationItem.

visibility

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

Bases: CapellaElement

exchange_item

The exchange item of this CommunicationLink.

kind

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

protocol

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

class capellambse.metamodel.information.communication.CommunicationLinkExchanger

Bases: ModelElement

The links of this CommunicationLinkExchanger.

class capellambse.metamodel.information.communication.CommunicationLinkKind

Bases: Enum

Enumeration listing the various possibilities of communication links.

ACCESS = 'ACCESS'

The CommunicationLink describes an access to the ExchangeItem.

ACQUIRE = 'ACQUIRE'

The CommunicationLink describes an acquisition of ExchangeItem.

CALL = 'CALL'

The CommunicationLink describes a call of ExchangeItem.

CONSUME = 'CONSUME'

The CommunicationLink describes a comsumption of ExchangeItem.

EXECUTE = 'EXECUTE'

The CommunicationLink describes an execution of ExchangeItem.

PRODUCE = 'PRODUCE'

The CommunicationLink describes a production of ExchangeItem.

RECEIVE = 'RECEIVE'

The CommunicationLink describes a reception of ExchangeItem.

SEND = 'SEND'

The CommunicationLink describes a sending of ExchangeItem.

TRANSMIT = 'TRANSMIT'

The CommunicationLink describes a transmission of ExchangeItem.

UNSET = 'UNSET'

The CommunicationLink protocol is not yet set.

WRITE = 'WRITE'

The CommunicationLink describes a writing of ExchangeItem.

class capellambse.metamodel.information.communication.CommunicationLinkProtocol

Bases: Enum

The various possibilities for the protocol of the communication link.

ACCEPT = 'ACCEPT'

Describes access to the ExchangeItem by accepting it.

ASYNCHRONOUS = 'ASYNCHRONOUS'

Describes a call of the ExchangeItem using the asynchronous protocol.

BROADCAST = 'BROADCAST'

Describes sending an ExchangeItem using the broadcast protocol.

MULTICAST = 'MULTICAST'

Describes sending an ExchangeItem using the multicast protocol.

READ = 'READ'

Describes access to the ExchangeItem by reading it.

SYNCHRONOUS = 'SYNCHRONOUS'

Describes a call of the ExchangeItem using the synchronous protocol.

UNICAST = 'UNICAST'

Describes sending an ExchangeItem using the unicast protocol.

UNSET = 'UNSET'

The CommunicationLink protocol is not yet set.

class capellambse.metamodel.information.communication.Exception

Bases: CommunicationItem

class capellambse.metamodel.information.communication.Message

Bases: CommunicationItem

class capellambse.metamodel.information.communication.MessageReference

Bases: Relationship

message

The message of this MessageReference.

class capellambse.metamodel.information.communication.MessageReferencePkg

Bases: Structure

message_references

The message references of this MessageReferencePkg.

class capellambse.metamodel.information.communication.Signal

Bases: CommunicationItem, AbstractSignal

instances

The instances of this Signal.

class capellambse.metamodel.information.communication.SignalInstance

Bases: AbstractInstance

capellambse.metamodel.information.datatype module

class capellambse.metamodel.information.datatype.BooleanType

Bases: DataType

default

The default of this BooleanType.

default_value

The default value of this BooleanType.

literals

The literals of this BooleanType.

class capellambse.metamodel.information.datatype.DataType

Bases: GeneralizableElement, DataValueContainer, FinalizableElement

information_realizations

The information realizations of this DataType.

is_discrete

Whether or not this data type characterizes a discrete value.

is_max_inclusive

A POD containing a boolean.

is_min_inclusive

A POD containing a boolean.

max_inclusive

The max inclusive of this DataType.

min_inclusive

The min inclusive of this DataType.

pattern

Textual specification of a constraint associated to this data type.

visibility

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

class capellambse.metamodel.information.datatype.Enumeration

Bases: DataType

default_value

The default value of this Enumeration.

domain_type

The domain type of this Enumeration.

property literals: ElementList[EnumerationLiteral]

Return all owned and inherited literals.

max_value

The max value of this Enumeration.

min_value

The min value of this Enumeration.

null_value

The null value of this Enumeration.

owned_literals

The owned literals of this Enumeration.

class capellambse.metamodel.information.datatype.NumericType

Bases: DataType

default_value

The default value of this NumericType.

kind

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

max_value

The max value of this NumericType.

min_value

The min value of this NumericType.

null_value

The null value of this NumericType.

class capellambse.metamodel.information.datatype.NumericTypeKind

Bases: Enum

The kind of this numeric data type.

FLOAT = 'FLOAT'
INTEGER = 'INTEGER'
class capellambse.metamodel.information.datatype.PhysicalQuantity

Bases: NumericType

unit

The unit of this PhysicalQuantity.

class capellambse.metamodel.information.datatype.StringType

Bases: DataType

default_value

The default value of this StringType.

max_length

The max length of this StringType.

min_length

The min length of this StringType.

null_value

The null value of this StringType.

capellambse.metamodel.information.datavalue module

class capellambse.metamodel.information.datavalue.AbstractBooleanValue

Bases: DataValue

class capellambse.metamodel.information.datavalue.AbstractComplexValue

Bases: DataValue

class capellambse.metamodel.information.datavalue.AbstractEnumerationValue

Bases: DataValue

class capellambse.metamodel.information.datavalue.AbstractExpressionValue

Bases: AbstractBooleanValue, AbstractComplexValue, AbstractEnumerationValue, NumericValue, AbstractStringValue

expression

A POD containing arbitrary string data.

unparsed_expression

A POD containing arbitrary string data.

class capellambse.metamodel.information.datavalue.AbstractStringValue

Bases: DataValue

class capellambse.metamodel.information.datavalue.BinaryExpression

Bases: AbstractExpressionValue

left_operand

The left operand of this BinaryExpression.

operator

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

right_operand

The right operand of this BinaryExpression.

class capellambse.metamodel.information.datavalue.BinaryOperator

Bases: Enum

Specifies the kind of this binary operator.

ADD = 'ADD'

The binary operator refers to an addition.

AND = 'AND'

The binary operator refers to a logical AND operation.

DIV = 'DIV'

The binary operator refers to a division.

EQU = 'EQU'

The binary operator refers to an equal operation.

IOR = 'IOR'

The binary operator refers to a logical inclusive OR operation.

MAX = 'MAX'

The binary operator refers to a max operation.

MIN = 'MIN'

The binary operator refers to a min operation.

MUL = 'MUL'

The binary operator refers to a multiplication.

POW = 'POW'

The binary operator refers to a power operation.

SUB = 'SUB'

The binary operator refers to a substraction.

UNSET = 'UNSET'

The binary operator is not initialized.

XOR = 'XOR'

The binary operator refers to a logical exclusive OR operation.

class capellambse.metamodel.information.datavalue.BooleanReference

Bases: AbstractBooleanValue

property

The property of this BooleanReference.

value

The value of this BooleanReference.

class capellambse.metamodel.information.datavalue.ComplexValue

Bases: AbstractComplexValue

parts

The parts of this ComplexValue.

value_parts

The value parts of this ComplexValue.

class capellambse.metamodel.information.datavalue.ComplexValueReference

Bases: AbstractComplexValue

property

The property of this ComplexValueReference.

value

The value of this ComplexValueReference.

class capellambse.metamodel.information.datavalue.DataValue

Bases: NamedElement, ValueSpecification

is_abstract

A POD containing a boolean.

property value
class capellambse.metamodel.information.datavalue.DataValueContainer

Bases: Structure

property complex_values: ElementList[AbstractComplexValue]
data_values

The data values of this DataValueContainer.

class capellambse.metamodel.information.datavalue.EnumerationLiteral

Bases: AbstractEnumerationValue

owner

The owner of this EnumerationLiteral.

value

The value of this EnumerationLiteral.

class capellambse.metamodel.information.datavalue.EnumerationReference

Bases: AbstractEnumerationValue

property

The property of this EnumerationReference.

value

The value of this EnumerationReference.

class capellambse.metamodel.information.datavalue.LiteralBooleanValue

Bases: AbstractBooleanValue

value

A POD containing a boolean.

class capellambse.metamodel.information.datavalue.LiteralNumericValue

Bases: NumericValue

value

A POD containing arbitrary string data.

class capellambse.metamodel.information.datavalue.LiteralStringValue

Bases: AbstractStringValue

value

A POD containing arbitrary string data.

class capellambse.metamodel.information.datavalue.NumericReference

Bases: NumericValue

property

The property of this NumericReference.

value

The value of this NumericReference.

class capellambse.metamodel.information.datavalue.NumericValue

Bases: DataValue

unit

The unit of this NumericValue.

class capellambse.metamodel.information.datavalue.OpaqueExpression

Bases: CapellaElement, ValueSpecification, MutableMapping[str, str]

bodies

A POD that provides access to a list of strings.

languages

A POD that provides access to a list of strings.

class capellambse.metamodel.information.datavalue.StringReference

Bases: AbstractStringValue

property

The property of this StringReference.

value

The value of this StringReference.

class capellambse.metamodel.information.datavalue.UnaryExpression

Bases: AbstractExpressionValue

operand

The operand of this UnaryExpression.

operator

A POD that can have one of a pretermined set of values.

This works in much the same way as the StringPOD, except that the returned and consumed values are not simple strings, but members of the Enum that was passed into the constructor.

When assigning, this property also accepts the string name of one of the enum members. In either case, the corresponding enum member’s value will be placed in the underlying XML element.

The default constructor argument determines which member will be used if the attribute is missing from the XML. If no default is passed exlicitly, the first declared enum member will be used.

class capellambse.metamodel.information.datavalue.UnaryOperator

Bases: Enum

Specifies the kind of this unary operator.

NOT = 'NOT'

The unary operator refers to a NOT operation.

POS = 'POS'

The unary operator refers to a position operation.

PRE = 'PRE'

The unary operator refers to a predecessor operation.

SUC = 'SUC'

The unary operator refers to a successor operation.

UNSET = 'UNSET'

The unary operator is not initialized.

VAL = 'VAL'

The unary operator refers to a value operation.

class capellambse.metamodel.information.datavalue.ValuePart

Bases: CapellaElement

referenced_property

The referenced property of this ValuePart.

value

The value of this ValuePart.