/** * This returns a list of the methods that belong to this type. * The methods here do not include any methods from the super * types and simply provides a means of caching method data. * * @return returns the list of methods declared for the type */ public List<MethodDetail> getMethods() { return detail.getMethods(); }
/** * This returns a list of the methods that belong to this type. * The methods here do not include any methods from the super * types and simply provides a means of caching method data. * * @return returns the list of methods declared for the type */ public List<MethodDetail> getMethods() { return detail.getMethods(); }
/** * This returns a list of the methods that belong to this type. * The methods here do not include any methods from the super * types and simply provides a means of caching method data. * * @return returns the list of methods declared for the type */ public List<MethodDetail> getMethods() { return detail.getMethods(); }
/** * This is used to scan the specified class for methods so that * the persister callback annotations can be collected. These * annotations help object implementations to validate the data * that is injected into the instance during deserialization. * * @param detail this is a detail from within the class hierarchy */ private void method(Detail detail) throws Exception { List<MethodDetail> list = detail.getMethods(); for(MethodDetail entry : list) { method(entry); } }
/** * This is used to scan the specified class for methods so that * the persister callback annotations can be collected. These * annotations help object implementations to validate the data * that is injected into the instance during deserialization. * * @param detail this is a detail from within the class hierarchy */ private void method(Detail detail) throws Exception { List<MethodDetail> list = detail.getMethods(); for(MethodDetail entry : list) { method(entry); } }
/** * This is used to scan the specified class for methods so that * the persister callback annotations can be collected. These * annotations help object implementations to validate the data * that is injected into the instance during deserialization. * * @param detail this is a detail from within the class hierarchy */ private void method(Detail detail) throws Exception { List<MethodDetail> list = detail.getMethods(); for(MethodDetail entry : list) { method(entry); } }
/** * This is used to scan the declared methods within the specified * class. Each method will be checked to determine if it contains * an XML element and can be used as a <code>Contact</code> for * an entity within the object. * * @param detail this is one of the super classes for the object */ private void extract(Detail detail) throws Exception { List<MethodDetail> methods = detail.getMethods(); for(MethodDetail entry: methods) { Annotation[] list = entry.getAnnotations(); Method method = entry.getMethod(); for(Annotation label : list) { scan(method, label, list); } } }
/** * This is used to scan the declared methods within the specified * class. Each method will be checked to determine if it contains * an XML element and can be used as a <code>Contact</code> for * an entity within the object. * * @param detail this is one of the super classes for the object */ private void extract(Detail detail) throws Exception { List<MethodDetail> methods = detail.getMethods(); for(MethodDetail entry: methods) { Annotation[] list = entry.getAnnotations(); Method method = entry.getMethod(); for(Annotation label : list) { scan(method, label, list); } } }
/** * This is used to scan the declared methods within the specified * class. Each method will be checked to determine if it contains * an XML element and can be used as a <code>Contact</code> for * an entity within the object. * * @param detail this is one of the super classes for the object */ private void extract(Detail detail) throws Exception { List<MethodDetail> methods = detail.getMethods(); for(MethodDetail entry: methods) { Annotation[] list = entry.getAnnotations(); Method method = entry.getMethod(); for(Annotation label : list) { scan(method, label, list); } } }
/** * This is used to scan all the methods of the class in order to * determine if it should have a default annotation. If the method * should have a default XML annotation then it is added to the * list of contacts to be used to form the class schema. * * @param detail this is the detail to have its methods scanned * @param access this is the default access type for the class */ private void extract(Detail detail, DefaultType access) throws Exception { List<MethodDetail> methods = detail.getMethods(); if(access == PROPERTY) { for(MethodDetail entry : methods) { Annotation[] list = entry.getAnnotations(); Method method = entry.getMethod(); Class value = factory.getType(method); if(value != null) { process(method, list); } } } }
/** * This is used to scan all the methods of the class in order to * determine if it should have a default annotation. If the method * should have a default XML annotation then it is added to the * list of contacts to be used to form the class schema. * * @param detail this is the detail to have its methods scanned * @param access this is the default access type for the class */ private void extract(Detail detail, DefaultType access) throws Exception { List<MethodDetail> methods = detail.getMethods(); if(access == PROPERTY) { for(MethodDetail entry : methods) { Annotation[] list = entry.getAnnotations(); Method method = entry.getMethod(); Class value = factory.getType(method); if(value != null) { process(method, list); } } } }
/** * This is used to scan all the methods of the class in order to * determine if it should have a default annotation. If the method * should have a default XML annotation then it is added to the * list of contacts to be used to form the class schema. * * @param detail this is the detail to have its methods scanned * @param access this is the default access type for the class */ private void extract(Detail detail, DefaultType access) throws Exception { List<MethodDetail> methods = detail.getMethods(); if(access == PROPERTY) { for(MethodDetail entry : methods) { Annotation[] list = entry.getAnnotations(); Method method = entry.getMethod(); Class value = factory.getType(method); if(value != null) { process(method, list); } } } }