@Immutable
public class DynamicAttributesCache
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DynamicAttributesCache(com.google.common.collect.Multimap<java.lang.String,Category> categoriesCache,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,CategoryAttribute>> attributesCache,
java.util.Date creationDate) |
Modifier and Type | Method and Description |
---|---|
CategoryAttribute |
getAttributeForMetaClass(MetaClass metaClass,
java.lang.String code) |
java.util.Collection<CategoryAttribute> |
getAttributesForMetaClass(MetaClass metaClass) |
java.util.Collection<Category> |
getCategoriesForMetaClass(MetaClass metaClass) |
java.util.Date |
getCreationDate() |
public DynamicAttributesCache(com.google.common.collect.Multimap<java.lang.String,Category> categoriesCache, java.util.Map<java.lang.String,java.util.Map<java.lang.String,CategoryAttribute>> attributesCache, java.util.Date creationDate)
public java.util.Collection<Category> getCategoriesForMetaClass(MetaClass metaClass)
public java.util.Collection<CategoryAttribute> getAttributesForMetaClass(MetaClass metaClass)
@Nullable public CategoryAttribute getAttributeForMetaClass(MetaClass metaClass, java.lang.String code)
public java.util.Date getCreationDate()