Determines whether the value of the property should be persisted.
public boolean shouldPersistValue( Object component )
component
The component that defines the property.
Returns true if the property should be persisted; otherwise, returns false.
This method determines whether the state of the property is different from when the component was first instantiated. If a default value is specified in this PropertyInfo object, it is compared against the property's current value. If there is no default value, this method invokes and returns the value of the component's shouldPersist<PropertyName> method, if it exists. If both these routes fail, true is returned.