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.
Two different representations of a null value can be returned:
pValue = null
indicates there is no value in the cache for this property.pValue = RepositoryItemImpl.NULL_OBJECT
indicates that an explicit null value was already cached for this item.