Package com.kenshoo.pl.entity.internal
Class ResultingFieldsCombination<E extends EntityType<E>>
- java.lang.Object
-
- com.kenshoo.pl.entity.internal.ResultingFieldsCombination<E>
-
- All Implemented Interfaces:
FieldsValueMap<E>
public class ResultingFieldsCombination<E extends EntityType<E>> extends java.lang.Object implements FieldsValueMap<E>
-
-
Constructor Summary
Constructors Constructor Description ResultingFieldsCombination(EntityChange<E> entityChange, CurrentEntityState currentState, java.util.stream.Stream<EntityField<E,?>> fields, ChangeOperation changeOperation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> booleancontainsField(EntityField<E,T> field)Returnstrueis the map has a value for the given field<T> Tget(EntityField<E,T> field)Returns the value of the specified field.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.kenshoo.pl.entity.FieldsValueMap
safeGet
-
-
-
-
Constructor Detail
-
ResultingFieldsCombination
public ResultingFieldsCombination(EntityChange<E> entityChange, CurrentEntityState currentState, java.util.stream.Stream<EntityField<E,?>> fields, ChangeOperation changeOperation)
-
-
Method Detail
-
containsField
public <T> boolean containsField(EntityField<E,T> field)
Description copied from interface:FieldsValueMapReturnstrueis the map has a value for the given field- Specified by:
containsFieldin interfaceFieldsValueMap<E extends EntityType<E>>
-
get
public <T> T get(EntityField<E,T> field)
Description copied from interface:FieldsValueMapReturns the value of the specified field.- Specified by:
getin interfaceFieldsValueMap<E extends EntityType<E>>- Type Parameters:
T- type of the field- Parameters:
field- field to query- Returns:
- the value of the field. Can be
null.
-
-