com.kenshoo.pl.entity.FieldsValueMap Maven / Gradle / Ivy
package com.kenshoo.pl.entity;
/**
* The interface of any field -> value collection.
*/
public interface FieldsValueMap> {
/**
* Returns true is the map has a value for the given field
*/
boolean containsField(EntityField field);
/**
* Returns the value of the specified field.
*
* @param field field to query
* @param type of the field
* @return the value of the field. Can be null.
* @throws RuntimeException if the field is not present in the map
*/
T get(EntityField field);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy