Package io.adminshell.aas.v3.model
Interface MultiLanguageProperty
-
- All Superinterfaces:
DataElement,HasDataSpecification,HasExtensions,HasKind,HasSemantics,Qualifiable,Referable,SubmodelElement
- All Known Implementing Classes:
DefaultMultiLanguageProperty
public interface MultiLanguageProperty extends DataElement
A property is a data element that has a multi language value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReferencegetValueId()Reference to the global unqiue id of a coded value.java.util.List<LangString>getValues()The value of the property instance.voidsetValueId(Reference valueId)Reference to the global unqiue id of a coded value.voidsetValues(java.util.List<LangString> values)The value of the property instance.-
Methods inherited from interface io.adminshell.aas.v3.model.HasDataSpecification
getEmbeddedDataSpecifications, setEmbeddedDataSpecifications
-
Methods inherited from interface io.adminshell.aas.v3.model.HasExtensions
getExtensions, setExtensions
-
Methods inherited from interface io.adminshell.aas.v3.model.HasSemantics
getSemanticId, setSemanticId
-
Methods inherited from interface io.adminshell.aas.v3.model.Qualifiable
getQualifiers, setQualifiers
-
Methods inherited from interface io.adminshell.aas.v3.model.Referable
getCategory, getDescriptions, getDisplayNames, getIdShort, setCategory, setDescriptions, setDisplayNames, setIdShort
-
-
-
-
Method Detail
-
getValues
java.util.List<LangString> getValues()
The value of the property instance. Constraint AASd-052b: If the semanticId of a MultiLanguageProperty references a ConceptDescription then the ConceptDescription/category shall be one of following values: PROPERTY. Constraint AASd-012: If both, the MultiLanguageProperty/value and the MultiLanguageProperty/valueId are present then for each string in a specific language the meaning must be the same as specified in MultiLanguageProperty/valueId. Constraint AASd-067: If the semanticId of a MultiLanguageProperty references a ConceptDescription then DataSpecificationIEC61360/dataType shall be STRING_TRANSLATABLE. More information under https://admin-shell.io/aas/3/0/RC01/MultiLanguageProperty/value- Returns:
- Returns the List of LangStrings for the property values.
-
setValues
void setValues(java.util.List<LangString> values)
The value of the property instance. Constraint AASd-052b: If the semanticId of a MultiLanguageProperty references a ConceptDescription then the ConceptDescription/category shall be one of following values: PROPERTY. Constraint AASd-012: If both, the MultiLanguageProperty/value and the MultiLanguageProperty/valueId are present then for each string in a specific language the meaning must be the same as specified in MultiLanguageProperty/valueId. Constraint AASd-067: If the semanticId of a MultiLanguageProperty references a ConceptDescription then DataSpecificationIEC61360/dataType shall be STRING_TRANSLATABLE. More information under https://admin-shell.io/aas/3/0/RC01/MultiLanguageProperty/value- Parameters:
values- desired value for the property values.
-
getValueId
Reference getValueId()
Reference to the global unqiue id of a coded value. More information under https://admin-shell.io/aas/3/0/RC01/MultiLanguageProperty/valueId- Returns:
- Returns the Reference for the property valueId.
-
setValueId
void setValueId(Reference valueId)
Reference to the global unqiue id of a coded value. More information under https://admin-shell.io/aas/3/0/RC01/MultiLanguageProperty/valueId- Parameters:
valueId- desired value for the property valueId.
-
-