Package io.adminshell.aas.v3.model
Interface Property
-
- All Superinterfaces:
DataElement,HasDataSpecification,HasExtensions,HasKind,HasSemantics,Qualifiable,Referable,SubmodelElement
- All Known Implementing Classes:
DefaultProperty
public interface Property extends DataElement
A property is a data element that has a single value. Constraint AASd-052a: If the semanticId of a Property references a ConceptDescription then the ConceptDescription/category shall be one of following values: VALUE, PROPERTY. Constraint AASd-065: If the semanticId of a Property or MultiLanguageProperty references a ConceptDescription with the category VALUE then the value of the property is identical to DataSpecificationIEC61360/value and the valueId of the property is identical to DataSpecificationIEC61360/valueId. Constraint AASd-066: If the semanticId of a Property or MultiLanguageProperty references a ConceptDescription with the category PROPERTY and DataSpecificationIEC61360/valueList is defined the value and valueId of the property is identical to one of the value reference pair types references in the value list, i.e. ValueReferencePairType/value or ValueReferencePairType/valueId, resp.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetValue()The value of the property instance.ReferencegetValueId()Reference to the global unique id of a coded value.java.lang.StringgetValueType()Data type pf the value.voidsetValue(java.lang.String value)The value of the property instance.voidsetValueId(Reference valueId)Reference to the global unique id of a coded value.voidsetValueType(java.lang.String valueType)Data type pf the value.-
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
-
getValueType
java.lang.String getValueType()
Data type pf the value. More information under https://admin-shell.io/aas/3/0/RC01/Property/valueType- Returns:
- Returns the String for the property valueType.
-
setValueType
void setValueType(java.lang.String valueType)
Data type pf the value. More information under https://admin-shell.io/aas/3/0/RC01/Property/valueType- Parameters:
valueType- desired value for the property valueType.
-
getValue
java.lang.String getValue()
The value of the property instance. More information under https://admin-shell.io/aas/3/0/RC01/Property/value- Returns:
- Returns the String for the property value.
-
setValue
void setValue(java.lang.String value)
The value of the property instance. More information under https://admin-shell.io/aas/3/0/RC01/Property/value- Parameters:
value- desired value for the property value.
-
getValueId
Reference getValueId()
Reference to the global unique id of a coded value. Constraint AASd-007: if both, the value and the valueId are present then the value needs to be identical to the value of the referenced coded value in valueId. More information under https://admin-shell.io/aas/3/0/RC01/Property/valueId- Returns:
- Returns the Reference for the property valueId.
-
setValueId
void setValueId(Reference valueId)
Reference to the global unique id of a coded value. Constraint AASd-007: if both, the value and the valueId are present then the value needs to be identical to the value of the referenced coded value in valueId. More information under https://admin-shell.io/aas/3/0/RC01/Property/valueId- Parameters:
valueId- desired value for the property valueId.
-
-