1 5 package com.jofti.introspect; 6 7 import java.util.List ; 8 import java.util.Map ; 9 import java.util.Set ; 10 11 import com.jofti.config.IndexConfig; 12 import com.jofti.exception.JoftiException; 13 14 23 public interface ClassIntrospector { 24 25 30 public void parseConfig(IndexConfig config) throws JoftiException; 31 32 40 public int getDimension(String className, String propertyName) throws JoftiException; 41 42 43 public int getDimension(Class clazz, String propertyName) throws JoftiException; 44 45 51 public int getKeyDimension(Class className); 52 53 57 public Map getKeyDimensions(); 58 59 63 public Map getDimensions(); 64 65 72 public Map getAttributeValues(Object obj)throws JoftiException; 73 74 78 public Set getPrimitiveClasses(); 79 80 88 public Class getClassForAttribute(Class className, String attribute) throws JoftiException; 89 90 91 public List getParsedObjectsForClass(Class clazz); 92 93 public Object [] getMethodsForAttribute(Class clazz,String attribute) throws JoftiException; 94 95 public Object getResultFromMethods(Object obj, Object [] methods) throws JoftiException; 96 97 public Map getResultValuesFromObject(Map temp, Object obj,Map methodMap); 98 99 public Class boxPrimitive(Class clazz); 100 101 } 102 | Popular Tags |