Package io.adminshell.aas.v3.model.impl
Class DefaultOperationVariable
- java.lang.Object
-
- io.adminshell.aas.v3.model.impl.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 classDefaultOperationVariable.BuilderThis builder class can be used to construct a DefaultOperationVariable bean.
-
Field Summary
Fields Modifier and Type Field Description protected SubmodelElementvalue
-
Constructor Summary
Constructors Constructor Description DefaultOperationVariable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)SubmodelElementgetValue()Describes the needed argument for an operation via a submodel element of kind=Template.inthashCode()voidsetValue(SubmodelElement value)Describes the needed argument for an operation via a submodel element of kind=Template.
-
-
-
Field Detail
-
value
protected SubmodelElement 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
-
getValue
public SubmodelElement getValue()
Description copied from interface:OperationVariableDescribes 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:
getValuein interfaceOperationVariable- Returns:
- Returns the SubmodelElement for the property value.
-
setValue
public void setValue(SubmodelElement value)
Description copied from interface:OperationVariableDescribes 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:
setValuein interfaceOperationVariable- Parameters:
value- desired value for the property value.
-
-