Package io.adminshell.aas.v3.model.impl
Class DefaultQualifier
- java.lang.Object
-
- io.adminshell.aas.v3.model.impl.DefaultQualifier
-
- All Implemented Interfaces:
Constraint,HasSemantics,Qualifier
public class DefaultQualifier extends java.lang.Object implements Qualifier
Default implementation of package io.adminshell.aas.v3.model.Qualifier A qualifier is a type-value pair that makes additional statements w.r.t. the value of the element. Constraint AASd-063: The semanticId of a Qualifier shall only reference a ConceptDescription with the category QUALIFIER.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultQualifier.BuilderThis builder class can be used to construct a DefaultQualifier bean.
-
Constructor Summary
Constructors Constructor Description DefaultQualifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ReferencegetSemanticId()Points to the Expression Semantic of the Submodels The semantic id might refer to an external information source, which explains the formulation of the submodel (for example an PDF if a standard).java.lang.StringgetType()The qualifier type describes the type of the qualifier that is applied to the element.java.lang.StringgetValue()The qualifier value is the value of the qualifier.ReferencegetValueId()Reference to the global unqiue id of a coded value.java.lang.StringgetValueType()Data type of the qualifier value.inthashCode()voidsetSemanticId(Reference semanticId)Points to the Expression Semantic of the Submodels The semantic id might refer to an external information source, which explains the formulation of the submodel (for example an PDF if a standard).voidsetType(java.lang.String type)The qualifier type describes the type of the qualifier that is applied to the element.voidsetValue(java.lang.String value)The qualifier value is the value of the qualifier.voidsetValueId(Reference valueId)Reference to the global unqiue id of a coded value.voidsetValueType(java.lang.String valueType)Data type of the qualifier value.
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getType
public java.lang.String getType()
Description copied from interface:QualifierThe qualifier type describes the type of the qualifier that is applied to the element. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/type
-
setType
public void setType(java.lang.String type)
Description copied from interface:QualifierThe qualifier type describes the type of the qualifier that is applied to the element. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/type
-
getValueType
public java.lang.String getValueType()
Description copied from interface:QualifierData type of the qualifier value. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/valueType- Specified by:
getValueTypein interfaceQualifier- Returns:
- Returns the String for the property valueType.
-
setValueType
public void setValueType(java.lang.String valueType)
Description copied from interface:QualifierData type of the qualifier value. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/valueType- Specified by:
setValueTypein interfaceQualifier- Parameters:
valueType- desired value for the property valueType.
-
getValue
public java.lang.String getValue()
Description copied from interface:QualifierThe qualifier value is the value of the qualifier. Constraint AASd-006: if both, the value and the valueId are present then the value needs to be identical to the short name of the referenced coded value in qualifierValueId. Constraint AASd-020: The value of Qualifier/value shall be consistent to the data type as defined in Qualifier/valueType. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/value
-
setValue
public void setValue(java.lang.String value)
Description copied from interface:QualifierThe qualifier value is the value of the qualifier. Constraint AASd-006: if both, the value and the valueId are present then the value needs to be identical to the short name of the referenced coded value in qualifierValueId. Constraint AASd-020: The value of Qualifier/value shall be consistent to the data type as defined in Qualifier/valueType. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/value
-
getValueId
public Reference getValueId()
Description copied from interface:QualifierReference to the global unqiue id of a coded value. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/valueId- Specified by:
getValueIdin interfaceQualifier- Returns:
- Returns the Reference for the property valueId.
-
setValueId
public void setValueId(Reference valueId)
Description copied from interface:QualifierReference to the global unqiue id of a coded value. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/valueId- Specified by:
setValueIdin interfaceQualifier- Parameters:
valueId- desired value for the property valueId.
-
getSemanticId
public Reference getSemanticId()
Description copied from interface:HasSemanticsPoints to the Expression Semantic of the Submodels The semantic id might refer to an external information source, which explains the formulation of the submodel (for example an PDF if a standard). More information under https://admin-shell.io/aas/3/0/RC01/HasSemantics/semanticId- Specified by:
getSemanticIdin interfaceHasSemantics- Returns:
- Returns the Reference for the property semanticId.
-
setSemanticId
public void setSemanticId(Reference semanticId)
Description copied from interface:HasSemanticsPoints to the Expression Semantic of the Submodels The semantic id might refer to an external information source, which explains the formulation of the submodel (for example an PDF if a standard). More information under https://admin-shell.io/aas/3/0/RC01/HasSemantics/semanticId- Specified by:
setSemanticIdin interfaceHasSemantics- Parameters:
semanticId- desired value for the property semanticId.
-
-