Class DtoSingleAspectLinearTransitionExpenseModel
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoSingleAspectLinearTransitionExpenseModel
- All Implemented Interfaces:
IDtoAbstractTransitionExpenseModel,IDtoSingleAspectLinearTransitionExpenseModel
public class DtoSingleAspectLinearTransitionExpenseModel
extends Object
implements IDtoSingleAspectLinearTransitionExpenseModel
A basic model whose output is a linear function of the difference in values of a single numerical aspect of the deviceState before and after.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.api.dto.IDtoSingleAspectLinearTransitionExpenseModel
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoSingleAspectLinearTransitionExpenseModel(String id, String argument) -
Method Summary
Modifier and TypeMethodDescriptionbooleanKey of a numeric device state aspect.getId()Cost or duration regradless of any change of the aspect valuegetSlope()Cost or duration for changing aspect value by 1.0getType()Type discriminatorinthashCode()voidsetArgument(String argument) Key of a numeric device state aspect.voidvoidCost or duration regradless of any change of the aspect valuevoidCost or duration for changing aspect value by 1.0withArgument(String argument) Key of a numeric device state aspect.withOffset(Double offset) Cost or duration regradless of any change of the aspect valueCost or duration for changing aspect value by 1.0
-
Constructor Details
-
DtoSingleAspectLinearTransitionExpenseModel
protected DtoSingleAspectLinearTransitionExpenseModel() -
DtoSingleAspectLinearTransitionExpenseModel
-
-
Method Details
-
getType
Type discriminator- Specified by:
getTypein interfaceIDtoAbstractTransitionExpenseModel- Specified by:
getTypein interfaceIDtoSingleAspectLinearTransitionExpenseModel
-
getId
- Specified by:
getIdin interfaceIDtoAbstractTransitionExpenseModel- Specified by:
getIdin interfaceIDtoSingleAspectLinearTransitionExpenseModel
-
setId
- Specified by:
setIdin interfaceIDtoAbstractTransitionExpenseModel- Specified by:
setIdin interfaceIDtoSingleAspectLinearTransitionExpenseModel
-
getArgument
Key of a numeric device state aspect.- Specified by:
getArgumentin interfaceIDtoSingleAspectLinearTransitionExpenseModel
-
setArgument
Key of a numeric device state aspect.- Specified by:
setArgumentin interfaceIDtoSingleAspectLinearTransitionExpenseModel
-
getOffset
Cost or duration regradless of any change of the aspect value- Specified by:
getOffsetin interfaceIDtoSingleAspectLinearTransitionExpenseModel
-
setOffset
Cost or duration regradless of any change of the aspect value- Specified by:
setOffsetin interfaceIDtoSingleAspectLinearTransitionExpenseModel
-
getSlope
Cost or duration for changing aspect value by 1.0- Specified by:
getSlopein interfaceIDtoSingleAspectLinearTransitionExpenseModel
-
setSlope
Cost or duration for changing aspect value by 1.0- Specified by:
setSlopein interfaceIDtoSingleAspectLinearTransitionExpenseModel
-
equals
-
hashCode
public int hashCode() -
withId
-
withArgument
Key of a numeric device state aspect. -
withOffset
Cost or duration regradless of any change of the aspect value -
withSlope
Cost or duration for changing aspect value by 1.0
-