org.meta2project.storage.cache
Class AnnotationCache

java.lang.Object
  extended by org.meta2project.storage.cache.AnnotationCache

public class AnnotationCache
extends java.lang.Object

Author:
Anton Malykh

Constructor Summary
AnnotationCache(DBCache cache)
           
 
Method Summary
 java.lang.String getAnnotation(CachedAnnotated annotated, java.lang.String name)
           
 java.util.List<java.lang.String> getAnnotationNames(CachedAnnotated annotated)
           
 void putAnnotation(CachedAnnotated annotated, java.lang.String name, java.lang.String value)
           
 void removeAnnotated(CachedAnnotated annotated)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationCache

public AnnotationCache(DBCache cache)
Method Detail

getAnnotationNames

public java.util.List<java.lang.String> getAnnotationNames(CachedAnnotated annotated)

getAnnotation

public java.lang.String getAnnotation(CachedAnnotated annotated,
                                      java.lang.String name)

putAnnotation

public void putAnnotation(CachedAnnotated annotated,
                          java.lang.String name,
                          java.lang.String value)

removeAnnotated

public void removeAnnotated(CachedAnnotated annotated)