Package com.valqueries.automapper
Class ValqueriesUpsertUpdateImpl<T>
java.lang.Object
com.valqueries.automapper.ValqueriesUpdateImpl<T>
com.valqueries.automapper.ValqueriesUpsertUpdateImpl<T>
- All Implemented Interfaces:
- ValqueriesUpdate<T>,- ValqueriesUpsertUpdate<T>
public class ValqueriesUpsertUpdateImpl<T>
extends ValqueriesUpdateImpl<T>
implements ValqueriesUpsertUpdate<T>
- 
Field SummaryFields inherited from class com.valqueries.automapper.ValqueriesUpdateImplinstance, queryWrapper
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<X> voidincrementByObjectValue(Function<T, X> field) Increment the field by the value in the object being upserted.booleanisEmpty()<X> voidsetObjectValue(Function<T, X> field) Set the field to the value in the object being upserted.Methods inherited from class com.valqueries.automapper.ValqueriesUpdateImplgetIncrementValues, getPropertyValues, increment, setMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.valqueries.automapper.ValqueriesUpdateincrement, set
- 
Constructor Details- 
ValqueriesUpsertUpdateImpl
 
- 
- 
Method Details- 
setObjectValueDescription copied from interface:ValqueriesUpsertUpdateSet the field to the value in the object being upserted. This is what a usual upsert would do for all the fields.- Specified by:
- setObjectValuein interface- ValqueriesUpsertUpdate<T>
- Type Parameters:
- X- the type of the field
- Parameters:
- field- the field to set
 
- 
incrementByObjectValueDescription copied from interface:ValqueriesUpsertUpdateIncrement the field by the value in the object being upserted. This is useful for counter fields, etc.- Specified by:
- incrementByObjectValuein interface- ValqueriesUpsertUpdate<T>
- Type Parameters:
- X- the type of the field
- Parameters:
- field- the field to increment
 
- 
getSetObjValues
- 
getIncrementByObjValues
- 
isEmptypublic boolean isEmpty()
 
-