Class 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 class  DefaultQualifier.Builder
      This builder class can be used to construct a DefaultQualifier bean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      Reference getSemanticId()
      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.String getType()
      The qualifier type describes the type of the qualifier that is applied to the element.
      java.lang.String getValue()
      The qualifier value is the value of the qualifier.
      Reference getValueId()
      Reference to the global unqiue id of a coded value.
      java.lang.String getValueType()
      Data type of the qualifier value.
      int hashCode()  
      void setSemanticId​(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).
      void setType​(java.lang.String type)
      The qualifier type describes the type of the qualifier that is applied to the element.
      void setValue​(java.lang.String value)
      The qualifier value is the value of the qualifier.
      void setValueId​(Reference valueId)
      Reference to the global unqiue id of a coded value.
      void setValueType​(java.lang.String valueType)
      Data type of the qualifier value.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • type

        protected java.lang.String type
      • value

        protected java.lang.String value
      • valueType

        protected java.lang.String valueType
    • Constructor Detail

      • DefaultQualifier

        public DefaultQualifier()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getType

        public java.lang.String getType()
        Description copied from interface: Qualifier
        The 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
        Specified by:
        getType in interface Qualifier
        Returns:
        Returns the String for the property type.
      • setType

        public void setType​(java.lang.String type)
        Description copied from interface: Qualifier
        The 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
        Specified by:
        setType in interface Qualifier
        Parameters:
        type - desired value for the property type.
      • getValueType

        public java.lang.String getValueType()
        Description copied from interface: Qualifier
        Data type of the qualifier value. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/valueType
        Specified by:
        getValueType in interface Qualifier
        Returns:
        Returns the String for the property valueType.
      • setValueType

        public void setValueType​(java.lang.String valueType)
        Description copied from interface: Qualifier
        Data type of the qualifier value. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/valueType
        Specified by:
        setValueType in interface Qualifier
        Parameters:
        valueType - desired value for the property valueType.
      • getValue

        public java.lang.String getValue()
        Description copied from interface: Qualifier
        The 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
        Specified by:
        getValue in interface Qualifier
        Returns:
        Returns the String for the property value.
      • setValue

        public void setValue​(java.lang.String value)
        Description copied from interface: Qualifier
        The 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
        Specified by:
        setValue in interface Qualifier
        Parameters:
        value - desired value for the property value.
      • getValueId

        public Reference getValueId()
        Description copied from interface: Qualifier
        Reference to the global unqiue id of a coded value. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/valueId
        Specified by:
        getValueId in interface Qualifier
        Returns:
        Returns the Reference for the property valueId.
      • setValueId

        public void setValueId​(Reference valueId)
        Description copied from interface: Qualifier
        Reference to the global unqiue id of a coded value. More information under https://admin-shell.io/aas/3/0/RC01/Qualifier/valueId
        Specified by:
        setValueId in interface Qualifier
        Parameters:
        valueId - desired value for the property valueId.
      • getSemanticId

        public Reference getSemanticId()
        Description copied from interface: HasSemantics
        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). More information under https://admin-shell.io/aas/3/0/RC01/HasSemantics/semanticId
        Specified by:
        getSemanticId in interface HasSemantics
        Returns:
        Returns the Reference for the property semanticId.
      • setSemanticId

        public void setSemanticId​(Reference semanticId)
        Description copied from interface: HasSemantics
        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). More information under https://admin-shell.io/aas/3/0/RC01/HasSemantics/semanticId
        Specified by:
        setSemanticId in interface HasSemantics
        Parameters:
        semanticId - desired value for the property semanticId.