java.lang.Object
io.ebeaninternal.server.deploy.BeanNaturalKey
Natural key for a bean type.
-
Method Summary
Modifier and TypeMethodDescriptioncalculateKey(Map<String, Object> map) Return the cache key given the bind values.booleanReturn true if this is a single property natural key.intlength()booleanmatchMultiProperties(Set<String> expressionProperties) Return true if all the properties match our natural key.booleanmatchProperty(String propName) Return true if the property name is part of the natural key.booleanmatchSingleProperty(String propertyName) Return true if the given propertyName is our natural key property.
-
Method Details
-
length
public int length() -
matchProperty
Return true if the property name is part of the natural key. -
isSingleProperty
public boolean isSingleProperty()Return true if this is a single property natural key. -
matchSingleProperty
Return true if the given propertyName is our natural key property. -
matchMultiProperties
Return true if all the properties match our natural key. -
calculateKey
Return the cache key given the bind values.- Parameters:
map- The bind values for the properties.
-