Class DefaultValueReferencePair

  • All Implemented Interfaces:
    ValueReferencePair

    public class DefaultValueReferencePair
    extends java.lang.Object
    implements ValueReferencePair
    Default implementation of package io.adminshell.aas.v3.model.ValueReferencePair A value reference pair within a value list. Each value has a global unique id defining its semantic.
    • Nested Class Summary

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

      Fields 
      Modifier and Type Field Description
      protected java.lang.String value  
      protected Reference valueId  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getValue()
      the value of the referenced concept definition of the value in valueId.
      Reference getValueId()
      Global unique id of the value.
      int hashCode()  
      void setValue​(java.lang.String value)
      the value of the referenced concept definition of the value in valueId.
      void setValueId​(Reference valueId)
      Global unique id of the value.
      • Methods inherited from class java.lang.Object

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

      • value

        protected java.lang.String value
    • Constructor Detail

      • DefaultValueReferencePair

        public DefaultValueReferencePair()
    • 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
      • getValue

        public java.lang.String getValue()
        Description copied from interface: ValueReferencePair
        the value of the referenced concept definition of the value in valueId. More information under https://admin-shell.io/aas/3/0/RC01/ValueReferencePair/value
        Specified by:
        getValue in interface ValueReferencePair
        Returns:
        Returns the String for the property value.
      • setValue

        public void setValue​(java.lang.String value)
        Description copied from interface: ValueReferencePair
        the value of the referenced concept definition of the value in valueId. More information under https://admin-shell.io/aas/3/0/RC01/ValueReferencePair/value
        Specified by:
        setValue in interface ValueReferencePair
        Parameters:
        value - desired value for the property value.
      • getValueId

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

        public void setValueId​(Reference valueId)
        Description copied from interface: ValueReferencePair
        Global unique id of the value. More information under https://admin-shell.io/aas/3/0/RC01/ValueReferencePair/valueId
        Specified by:
        setValueId in interface ValueReferencePair
        Parameters:
        valueId - desired value for the property valueId.