/** * This returns a list of the fields that belong to this type. * The fields here do not include any fields from the super * types and simply provides a means of caching method data. * * @return returns the list of fields declared for the type */ public List<FieldDetail> getFields() { return detail.getFields(); }
/** * This returns a list of the fields that belong to this type. * The fields here do not include any fields from the super * types and simply provides a means of caching method data. * * @return returns the list of fields declared for the type */ public List<FieldDetail> getFields() { return detail.getFields(); }
/** * This returns a list of the fields that belong to this type. * The fields here do not include any fields from the super * types and simply provides a means of caching method data. * * @return returns the list of fields declared for the type */ public List<FieldDetail> getFields() { return detail.getFields(); }
/** * This is used to scan the declared fields within the specified * class. Each method will be check 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) { List<FieldDetail> fields = detail.getFields(); for(FieldDetail entry : fields) { Annotation[] list = entry.getAnnotations(); Field field = entry.getField(); for(Annotation label : list) { scan(field, label, list); } } }
/** * This is used to scan the declared fields within the specified * class. Each method will be check 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) { List<FieldDetail> fields = detail.getFields(); for(FieldDetail entry : fields) { Annotation[] list = entry.getAnnotations(); Field field = entry.getField(); for(Annotation label : list) { scan(field, label, list); } } }
/** * This is used to scan the declared fields within the specified * class. Each method will be check 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) { List<FieldDetail> fields = detail.getFields(); for(FieldDetail entry : fields) { Annotation[] list = entry.getAnnotations(); Field field = entry.getField(); for(Annotation label : list) { scan(field, label, list); } } }
/** * This is used to scan all the fields of the class in order to * determine if it should have a default annotation. If the field * 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 fields scanned * @param access this is the default access type for the class */ private void extract(Detail detail, DefaultType access) throws Exception { List<FieldDetail> fields = detail.getFields(); if(access == FIELD) { for(FieldDetail entry : fields) { Annotation[] list = entry.getAnnotations(); Field field = entry.getField(); Class real = field.getType(); if(!isStatic(field) && !isTransient(field)) { process(field, real, list); } } } }
/** * This is used to scan all the fields of the class in order to * determine if it should have a default annotation. If the field * 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 fields scanned * @param access this is the default access type for the class */ private void extract(Detail detail, DefaultType access) throws Exception { List<FieldDetail> fields = detail.getFields(); if(access == FIELD) { for(FieldDetail entry : fields) { Annotation[] list = entry.getAnnotations(); Field field = entry.getField(); Class real = field.getType(); if(!isStatic(field) && !isTransient(field)) { process(field, real, list); } } } }
/** * This is used to scan all the fields of the class in order to * determine if it should have a default annotation. If the field * 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 fields scanned * @param access this is the default access type for the class */ private void extract(Detail detail, DefaultType access) throws Exception { List<FieldDetail> fields = detail.getFields(); if(access == FIELD) { for(FieldDetail entry : fields) { Annotation[] list = entry.getAnnotations(); Field field = entry.getField(); Class real = field.getType(); if(!isStatic(field) && !isTransient(field)) { process(field, real, list); } } } }