All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.springframework.data.cassandra.repository.MapId Maven / Gradle / Ivy

There is a newer version: 4.3.4
Show newest version
package org.springframework.data.cassandra.repository;

import java.io.Serializable;
import java.util.Map;

/**
 * Interface that represents the id of a persistent entity, where the keys correspond to the entity's JavaBean
 * properties.
 * 
 * @author Matthew T. Adams
 */
public interface MapId extends Serializable, Map {

	/**
	 * Builder method that adds the value for the named property, then returns this.
	 * 
	 * @param name The property name containing the value.
	 * @param value The property value.
	 * @return this
	 */
	MapId with(String name, Serializable value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy