1 28 29 package com.caucho.es.wrapper; 30 31 import java.beans.IntrospectionException ; 32 33 class ESIndexedPropertyDescriptor extends ESPropertyDescriptor { 34 ESMethodDescriptor getter; 35 ESMethodDescriptor setter; 36 ESMethodDescriptor size; 37 38 public ESMethodDescriptor getESReadMethod() { return getter; } 39 public ESMethodDescriptor getESWriteMethod() { return setter; } 40 public ESMethodDescriptor getESSizeMethod() { return size; } 41 42 public ESIndexedPropertyDescriptor(String propertyName, Class beanClass) 43 throws IntrospectionException 44 { 45 super(propertyName, null, null, null); 46 } 47 48 public ESIndexedPropertyDescriptor(String propertyName, 49 ESMethodDescriptor getter, 50 ESMethodDescriptor setter, 51 ESMethodDescriptor size) 52 throws IntrospectionException 53 { 54 super(propertyName, null, null, null); 55 56 this.getter = getter; 57 this.setter = setter; 58 this.size = size; 59 } 60 } 61 62 63 | Popular Tags |