add compatible with JavaBean