Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » annotations » [javadoc | source]
org.hibernate.search.annotations
public class: DocumentId [javadoc | source]
org.hibernate.search.annotations.DocumentId
Declare a field as the document id. If set to a property, the property will be used TODO: If set to a class, the class itself will be passed to the FieldBridge Note that @{link org.hibernate.search.bridge.FieldBridge#get} must return the Entity id
Method from org.hibernate.search.annotations.DocumentId Summary:
name
Method from org.hibernate.search.annotations.DocumentId Detail:
 String name()