Class DtoIdentityFunction
java.lang.Object
com.vernaio.aivis.engine.v2.base.sdk.dto.DtoIdentityFunction
- All Implemented Interfaces:
IDtoAbstractFunction
,IDtoIdentityFunction
Identity function. Numeric input and output.
-
Field Summary
Fields inherited from interface com.vernaio.aivis.engine.v2.base.sdk.dto.IDtoIdentityFunction
_DISCRIMINATOR_TYPE_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
FunctionId of the only input function.long
getId()
ID of the function.getType()
Type of this object.int
hashCode()
void
setArgument
(long argument) FunctionId of the only input function.void
setId
(long id) ID of the function.withArgument
(long argument) FunctionId of the only input function.withId
(long id) ID of the function.
-
Constructor Details
-
DtoIdentityFunction
public DtoIdentityFunction(long id, long argument)
-
-
Method Details
-
getType
Type of this object.- Specified by:
getType
in interfaceIDtoAbstractFunction
- Specified by:
getType
in interfaceIDtoIdentityFunction
-
getId
public long getId()ID of the function.- Specified by:
getId
in interfaceIDtoAbstractFunction
- Specified by:
getId
in interfaceIDtoIdentityFunction
-
setId
public void setId(long id) ID of the function.- Specified by:
setId
in interfaceIDtoAbstractFunction
- Specified by:
setId
in interfaceIDtoIdentityFunction
-
getArgument
public long getArgument()FunctionId of the only input function.- Specified by:
getArgument
in interfaceIDtoIdentityFunction
-
setArgument
public void setArgument(long argument) FunctionId of the only input function.- Specified by:
setArgument
in interfaceIDtoIdentityFunction
-
withId
ID of the function. -
withArgument
FunctionId of the only input function. -
equals
-
hashCode
public int hashCode()
-