When the getPropertyValue(Item, pValue)
method gets called for a user-defined property descriptor, it is given the currently cached value in the variable pValue
. If you have previously stored a value for this property in the cache, it is given to you here. Your implementation may just choose to return that value.
There are two different possible representations of a null value that might be returned:
If
pValue = null
, that indicates that there was no value in the cache for this property.If
pValue = RepositoryItemImpl.NULL_OBJECT
, this indicates that we have previously cached an explicit null value for this item.