org.springframework.datastore.keyvalue.mapping
Class KeyValue
java.lang.Object
org.springframework.datastore.keyvalue.mapping.KeyValue
public class KeyValue
- extends Object
A KeyValue is a used to define the key used for a particular value
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyValue
public KeyValue()
KeyValue
public KeyValue(String key)
getKey
public String getKey()
setKey
public void setKey(String key)
isIndex
public boolean isIndex()
- Returns:
- Whether this property is index
setIndex
public void setIndex(boolean index)
- Whether this property is index
- Parameters:
index
- Sets whether to index the property or not
getFetchStrategy
public javax.persistence.FetchType getFetchStrategy()
setFetchStrategy
public void setFetchStrategy(javax.persistence.FetchType fetchStrategy)