Class DtoSingleAspectBasicTransitionExpenseModel
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoSingleAspectBasicTransitionExpenseModel
- All Implemented Interfaces:
IDtoAbstractTransitionExpenseModel,IDtoSingleAspectBasicTransitionExpenseModel
public class DtoSingleAspectBasicTransitionExpenseModel
extends Object
implements IDtoSingleAspectBasicTransitionExpenseModel
A basic model whose output in determined by clearing and then setting a single aspect of the deviceState before and after, if its value changed.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.api.dto.IDtoSingleAspectBasicTransitionExpenseModel
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoSingleAspectBasicTransitionExpenseModel(String id, String aspect) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaspect of the device state that generates cost or durationdefault cost or duration used to clear values where no specific clear valueExpense is givencost or duration for clearing specific values.getId()default cost or duration used to set values where no specific set valueExpense is givencost or duration for setting specific values.getType()Type discriminatorinthashCode()voidaspect of the device state that generates cost or durationvoidsetClearDefaultExpense(Double clearDefaultExpense) default cost or duration used to clear values where no specific clear valueExpense is givenvoidsetClearValueExpenses(IDtoSingleAspectBasicValueTransitionExpense[] clearValueExpenses) cost or duration for clearing specific values.voidvoidsetSetDefaultExpense(Double setDefaultExpense) default cost or duration used to set values where no specific set valueExpense is givenvoidsetSetValueExpenses(IDtoSingleAspectBasicValueTransitionExpense[] setValueExpenses) cost or duration for setting specific values.withAspect(String aspect) aspect of the device state that generates cost or durationwithClearDefaultExpense(Double clearDefaultExpense) default cost or duration used to clear values where no specific clear valueExpense is givenwithClearValueExpenses(IDtoSingleAspectBasicValueTransitionExpense[] clearValueExpenses) cost or duration for clearing specific values.withSetDefaultExpense(Double setDefaultExpense) default cost or duration used to set values where no specific set valueExpense is givenwithSetValueExpenses(IDtoSingleAspectBasicValueTransitionExpense[] setValueExpenses) cost or duration for setting specific values.
-
Constructor Details
-
DtoSingleAspectBasicTransitionExpenseModel
protected DtoSingleAspectBasicTransitionExpenseModel() -
DtoSingleAspectBasicTransitionExpenseModel
-
-
Method Details
-
getType
Type discriminator- Specified by:
getTypein interfaceIDtoAbstractTransitionExpenseModel- Specified by:
getTypein interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
getId
- Specified by:
getIdin interfaceIDtoAbstractTransitionExpenseModel- Specified by:
getIdin interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
setId
- Specified by:
setIdin interfaceIDtoAbstractTransitionExpenseModel- Specified by:
setIdin interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
getAspect
aspect of the device state that generates cost or duration- Specified by:
getAspectin interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
setAspect
aspect of the device state that generates cost or duration- Specified by:
setAspectin interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
getSetDefaultExpense
default cost or duration used to set values where no specific set valueExpense is given- Specified by:
getSetDefaultExpensein interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
setSetDefaultExpense
default cost or duration used to set values where no specific set valueExpense is given- Specified by:
setSetDefaultExpensein interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
getClearDefaultExpense
default cost or duration used to clear values where no specific clear valueExpense is given- Specified by:
getClearDefaultExpensein interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
setClearDefaultExpense
default cost or duration used to clear values where no specific clear valueExpense is given- Specified by:
setClearDefaultExpensein interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
getSetValueExpenses
cost or duration for setting specific values.- Specified by:
getSetValueExpensesin interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
setSetValueExpenses
cost or duration for setting specific values.- Specified by:
setSetValueExpensesin interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
getClearValueExpenses
cost or duration for clearing specific values.- Specified by:
getClearValueExpensesin interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
setClearValueExpenses
cost or duration for clearing specific values.- Specified by:
setClearValueExpensesin interfaceIDtoSingleAspectBasicTransitionExpenseModel
-
equals
-
hashCode
public int hashCode() -
withId
-
withAspect
aspect of the device state that generates cost or duration -
withSetDefaultExpense
default cost or duration used to set values where no specific set valueExpense is given -
withClearDefaultExpense
public DtoSingleAspectBasicTransitionExpenseModel withClearDefaultExpense(Double clearDefaultExpense) default cost or duration used to clear values where no specific clear valueExpense is given -
withSetValueExpenses
public DtoSingleAspectBasicTransitionExpenseModel withSetValueExpenses(IDtoSingleAspectBasicValueTransitionExpense[] setValueExpenses) cost or duration for setting specific values. -
withClearValueExpenses
public DtoSingleAspectBasicTransitionExpenseModel withClearValueExpenses(IDtoSingleAspectBasicValueTransitionExpense[] clearValueExpenses) cost or duration for clearing specific values.
-