![JAR search and dependency download from the Maven repository](/logo.png)
panda.bean.handler.AbstractPropertyHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.bean.handler;
import java.lang.reflect.Type;
import panda.bean.PropertyHandler;
/**
*
* @param class type
*/
public abstract class AbstractPropertyHandler implements PropertyHandler {
/**
* get read property names
* @return property names
*/
public String[] getReadPropertyNames() {
return getReadPropertyNames(null);
}
/**
* get write property names
* @return property names
*/
public String[] getWritePropertyNames() {
return getWritePropertyNames(null);
}
/**
* get property type
* @param propertyName property name
* @return property type
*/
public Type getPropertyType(String propertyName) {
return getPropertyType(null, propertyName);
}
/**
* is the property readable
* @param propertyName property name
* @return property type
*/
public boolean canReadProperty(String propertyName) {
return canReadProperty(null, propertyName);
}
/**
* is the property writable
* @param propertyName property name
* @return property writable
*/
public boolean canWriteProperty(String propertyName) {
return canWriteProperty(null, propertyName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy