org.skife.lucene.graph
Interface NameMapper

All Known Implementing Classes:
SimpleNameMapper

public interface NameMapper

Used for class names as "org.example.model.Wombat" is much less convenient than "wombat". For bean properties, property names are used. This is simply for translating the names of the roots of train wrecks, the "wombat" in "wombat.name: George" for example


Method Summary
 java.lang.String build(java.lang.Object entity)
          Return the string to be used as the root of the property chain field names for entity
 

Method Detail

build

public java.lang.String build(java.lang.Object entity)
Return the string to be used as the root of the property chain field names for entity



Copyright © 2004 Brian McCallister. All Rights Reserved.