public class NameProductIdGenerator extends Object implements ProductIdGenerator
ProductIdGenerator
that sets the Product identifier equal to the product name.
This generator will cause a second submission of the same named Product
to override the previous record inside the Solr index.Constructor and Description |
---|
NameProductIdGenerator() |
public String generateId(Product product)
generateId
in interface ProductIdGenerator
Copyright © 1999-2015 Apache OODT. All Rights Reserved.