The package includes a subclass of PropertyAccessorImpl named GenerativePropertyAccessor. This is an abstract class that adds the ability to generate multiple property names and associated values for a single property tag in the indexing definition file. For example, the PriceListMapPropertyAccessor subclass of GenerativePropertyAccessor generates, for a single price property in the definition file, a separate price value for each price list.

You can write your own subclass of GenerativePropertyAccessor. Your subclass must implement the getPropertyNamesAndValues method. This method returns a Map in which each key is a property name, and the corresponding Map value contains the value to be associated with the property name.

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices