ExtenderInfo.shouldPersistValue

Overview | Methods | This Package | All Packages

ExtenderInfo.shouldPersistValue

Determines whether the value of the extender property should be persisted.

Syntax

public boolean shouldPersistValue( Object extender, Object extendee )

Parameters

extender

The object providing the extender property.

extendee

The object receiving the extender property.

Return Value

Returns true if the extender property should be persisted; otherwise, returns false.

Remarks

This method determines whether the state of the extender property is different from when the extendee object was first instantiated. If a default value is specified in this ExtenderInfo object, it is compared against the current value. If there is no default value, this method invokes and returns the value of the extender object's shouldPersist<ExtenderName> method, if it exists. If both these routes fail, true is returned.