Class DefaultIdentifierKeyValuePair

  • All Implemented Interfaces:
    HasSemantics, IdentifierKeyValuePair

    public class DefaultIdentifierKeyValuePair
    extends java.lang.Object
    implements IdentifierKeyValuePair
    Default implementation of package io.adminshell.aas.v3.model.IdentifierKeyValuePair An IdentifierKeyValuePair describes a generic identifier as key-value pair.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DefaultIdentifierKeyValuePair.Builder
      This builder class can be used to construct a DefaultIdentifierKeyValuePair bean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      Reference getExternalSubjectId()
      The (external) subject the key belongs to or has meaning to.
      java.lang.String getKey()
      Key of the identifier.
      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 getValue()
      The value of the identifier with the corresponding key.
      int hashCode()  
      void setExternalSubjectId​(Reference externalSubjectId)
      The (external) subject the key belongs to or has meaning to.
      void setKey​(java.lang.String key)
      Key of the identifier.
      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 setValue​(java.lang.String value)
      The value of the identifier with the corresponding key.
      • Methods inherited from class java.lang.Object

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

      • externalSubjectId

        protected Reference externalSubjectId
      • key

        protected java.lang.String key
      • value

        protected java.lang.String value
    • Constructor Detail

      • DefaultIdentifierKeyValuePair

        public DefaultIdentifierKeyValuePair()
    • 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
      • getKey

        public java.lang.String getKey()
        Description copied from interface: IdentifierKeyValuePair
        Key of the identifier. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/key
        Specified by:
        getKey in interface IdentifierKeyValuePair
        Returns:
        Returns the String for the property key.
      • setKey

        public void setKey​(java.lang.String key)
        Description copied from interface: IdentifierKeyValuePair
        Key of the identifier. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/key
        Specified by:
        setKey in interface IdentifierKeyValuePair
        Parameters:
        key - desired value for the property key.
      • getValue

        public java.lang.String getValue()
        Description copied from interface: IdentifierKeyValuePair
        The value of the identifier with the corresponding key. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/value
        Specified by:
        getValue in interface IdentifierKeyValuePair
        Returns:
        Returns the String for the property value.
      • setValue

        public void setValue​(java.lang.String value)
        Description copied from interface: IdentifierKeyValuePair
        The value of the identifier with the corresponding key. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/value
        Specified by:
        setValue in interface IdentifierKeyValuePair
        Parameters:
        value - desired value for the property value.
      • getExternalSubjectId

        public Reference getExternalSubjectId()
        Description copied from interface: IdentifierKeyValuePair
        The (external) subject the key belongs to or has meaning to. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/externalSubjectId
        Specified by:
        getExternalSubjectId in interface IdentifierKeyValuePair
        Returns:
        Returns the Reference for the property externalSubjectId.
      • setExternalSubjectId

        public void setExternalSubjectId​(Reference externalSubjectId)
        Description copied from interface: IdentifierKeyValuePair
        The (external) subject the key belongs to or has meaning to. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/externalSubjectId
        Specified by:
        setExternalSubjectId in interface IdentifierKeyValuePair
        Parameters:
        externalSubjectId - desired value for the property externalSubjectId.
      • 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.