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)
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 © 2011 Hibernate. All Rights Reserved.