是的,AttributeValidator是一个可行的办法。Alternetively,您还可以在AttributeManager或AttributeCreator使用条件值的设定。例如
如果属性类型是整数,然后 其他
我会用AttributeValidator检查什么记录有非整数值,然后AttributeSetter(将成为AttributeCreator),以该值设置为空。