Class DefaultOperationVariable

  • All Implemented Interfaces:
    OperationVariable

    public class DefaultOperationVariable
    extends java.lang.Object
    implements OperationVariable
    Default implementation of package io.adminshell.aas.v3.model.OperationVariable An operation variable is a submodel element that is used as input or output variable of an operation.
    • Nested Class Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      SubmodelElement getValue()
      Describes the needed argument for an operation via a submodel element of kind=Template.
      int hashCode()  
      void setValue​(SubmodelElement value)
      Describes the needed argument for an operation via a submodel element of kind=Template.
      • Methods inherited from class java.lang.Object

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

      • DefaultOperationVariable

        public DefaultOperationVariable()
    • 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 SubmodelElement getValue()
        Description copied from interface: OperationVariable
        Describes the needed argument for an operation via a submodel element of kind=Template. The submodel element value of an operation variable shall be of kind=Template. More information under https://admin-shell.io/aas/3/0/RC01/OperationVariable/value
        Specified by:
        getValue in interface OperationVariable
        Returns:
        Returns the SubmodelElement for the property value.
      • setValue

        public void setValue​(SubmodelElement value)
        Description copied from interface: OperationVariable
        Describes the needed argument for an operation via a submodel element of kind=Template. The submodel element value of an operation variable shall be of kind=Template. More information under https://admin-shell.io/aas/3/0/RC01/OperationVariable/value
        Specified by:
        setValue in interface OperationVariable
        Parameters:
        value - desired value for the property value.