1 16 17 package org.springframework.beans; 18 19 import java.util.Map ; 20 21 30 public interface PropertyAccessor { 31 32 36 String NESTED_PROPERTY_SEPARATOR = "."; 37 char NESTED_PROPERTY_SEPARATOR_CHAR = '.'; 38 39 43 String PROPERTY_KEY_PREFIX = "["; 44 char PROPERTY_KEY_PREFIX_CHAR = '['; 45 46 50 String PROPERTY_KEY_SUFFIX = "]"; 51 char PROPERTY_KEY_SUFFIX_CHAR = ']'; 52 53 54 61 boolean isReadableProperty(String propertyName); 62 63 70 boolean isWritableProperty(String propertyName); 71 72 85 Class getPropertyType(String propertyName) throws BeansException; 86 87 97 Object getPropertyValue(String propertyName) throws BeansException; 98 99 109 void setPropertyValue(String propertyName, Object value) throws BeansException; 110 111 119 void setPropertyValue(PropertyValue pv) throws BeansException; 120 121 135 void setPropertyValues(Map map) throws BeansException; 136 137 156 void setPropertyValues(PropertyValues pvs) throws BeansException; 157 158 177 void setPropertyValues(PropertyValues pvs, boolean ignoreUnknown) 178 throws BeansException; 179 180 199 void setPropertyValues(PropertyValues pvs, boolean ignoreUnknown, boolean ignoreInvalid) 200 throws BeansException; 201 202 } 203 | Popular Tags |