Package com.kenshoo.pl.entity
Class FieldsValueMapImpl<E extends EntityType<E>>
- java.lang.Object
-
- com.kenshoo.pl.entity.FieldsValueMapImpl<E>
-
- All Implemented Interfaces:
FieldsValueMap<E>
public class FieldsValueMapImpl<E extends EntityType<E>> extends java.lang.Object implements FieldsValueMap<E>
Created by yuvalr on 2/14/16.
-
-
Constructor Summary
Constructors Constructor Description FieldsValueMapImpl()
-
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.<T> voidset(EntityField<E,T> field, T value)-
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
-
-
-
-
Method Detail
-
set
public <T> void set(EntityField<E,T> field, T value)
-
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.
-
-