org.hibernate.search.annotations
Annotation Type ProvidedId


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface ProvidedId

Objects whose identifier is provided externally and not part of the object state should be marked with this annotation

This annotation should not be used in conjunction with DocumentId

Author:
Navin Surtani (nsurtani@redhat.com)

Optional Element Summary
 FieldBridge bridge
           
 String name
           
 

name

public abstract String name
Default:
"providedId"

bridge

public abstract FieldBridge bridge
Default:
@org.hibernate.search.annotations.FieldBridge(impl=org.hibernate.search.bridge.builtin.StringBridge.class)


Copyright © 2006-2013 Red Hat, Inc. All Rights Reserved