aas_core_rc02.stringification

De-serialize enumerations from string representations.

aas_core3_rc02.stringification.modeling_kind_from_str(text: str) Optional[ModelingKind][source]

Parse text as string representation of aas_core3_rc02.ModelingKind.

If text is not a valid string representation of a literal of aas_core3_rc02.ModelingKind, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.ModelingKind or None, if text invalid.

aas_core3_rc02.stringification.qualifier_kind_from_str(text: str) Optional[QualifierKind][source]

Parse text as string representation of aas_core3_rc02.QualifierKind.

If text is not a valid string representation of a literal of aas_core3_rc02.QualifierKind, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.QualifierKind or None, if text invalid.

aas_core3_rc02.stringification.asset_kind_from_str(text: str) Optional[AssetKind][source]

Parse text as string representation of aas_core3_rc02.AssetKind.

If text is not a valid string representation of a literal of aas_core3_rc02.AssetKind, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.AssetKind or None, if text invalid.

aas_core3_rc02.stringification.aas_submodel_elements_from_str(text: str) Optional[AasSubmodelElements][source]

Parse text as string representation of aas_core3_rc02.AasSubmodelElements.

If text is not a valid string representation of a literal of aas_core3_rc02.AasSubmodelElements, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.AasSubmodelElements or None, if text invalid.

aas_core3_rc02.stringification.entity_type_from_str(text: str) Optional[EntityType][source]

Parse text as string representation of aas_core3_rc02.EntityType.

If text is not a valid string representation of a literal of aas_core3_rc02.EntityType, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.EntityType or None, if text invalid.

aas_core3_rc02.stringification.direction_from_str(text: str) Optional[Direction][source]

Parse text as string representation of aas_core3_rc02.Direction.

If text is not a valid string representation of a literal of aas_core3_rc02.Direction, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.Direction or None, if text invalid.

aas_core3_rc02.stringification.state_of_event_from_str(text: str) Optional[StateOfEvent][source]

Parse text as string representation of aas_core3_rc02.StateOfEvent.

If text is not a valid string representation of a literal of aas_core3_rc02.StateOfEvent, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.StateOfEvent or None, if text invalid.

aas_core3_rc02.stringification.reference_types_from_str(text: str) Optional[ReferenceTypes][source]

Parse text as string representation of aas_core3_rc02.ReferenceTypes.

If text is not a valid string representation of a literal of aas_core3_rc02.ReferenceTypes, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.ReferenceTypes or None, if text invalid.

aas_core3_rc02.stringification.key_types_from_str(text: str) Optional[KeyTypes][source]

Parse text as string representation of aas_core3_rc02.KeyTypes.

If text is not a valid string representation of a literal of aas_core3_rc02.KeyTypes, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.KeyTypes or None, if text invalid.

aas_core3_rc02.stringification.data_type_def_xsd_from_str(text: str) Optional[DataTypeDefXsd][source]

Parse text as string representation of aas_core3_rc02.DataTypeDefXsd.

If text is not a valid string representation of a literal of aas_core3_rc02.DataTypeDefXsd, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.DataTypeDefXsd or None, if text invalid.

aas_core3_rc02.stringification.data_type_iec_61360_from_str(text: str) Optional[DataTypeIEC61360][source]

Parse text as string representation of aas_core3_rc02.DataTypeIEC61360.

If text is not a valid string representation of a literal of aas_core3_rc02.DataTypeIEC61360, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.DataTypeIEC61360 or None, if text invalid.

aas_core3_rc02.stringification.level_type_from_str(text: str) Optional[LevelType][source]

Parse text as string representation of aas_core3_rc02.LevelType.

If text is not a valid string representation of a literal of aas_core3_rc02.LevelType, return None.

Parameters

text – to be parsed

Returns

the corresponding literal of aas_core3_rc02.LevelType or None, if text invalid.