public class ComputedAttributeRegistryImpl extends java.lang.Object implements ComputedAttributeRegistry
| Constructor and Description |
|---|
ComputedAttributeRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(MetaComputedAttribute attr) |
MetaComputedAttribute |
get(io.crnk.meta.model.MetaDataObject meta,
java.lang.String name) |
java.util.Set<java.lang.String> |
getForType(java.lang.Class<?> entityType) |
void |
init(JpaQueryFactoryContext context) |
void |
register(java.lang.Class<?> targetClass,
java.lang.String name,
java.lang.Object expressionFactory,
java.lang.reflect.Type type) |
public void init(JpaQueryFactoryContext context)
public java.lang.Object get(MetaComputedAttribute attr)
public MetaComputedAttribute get(io.crnk.meta.model.MetaDataObject meta, java.lang.String name)
public void register(java.lang.Class<?> targetClass,
java.lang.String name,
java.lang.Object expressionFactory,
java.lang.reflect.Type type)
public java.util.Set<java.lang.String> getForType(java.lang.Class<?> entityType)
getForType in interface ComputedAttributeRegistryentityType - for whom to get the computed attributes.