Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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`
`java.lang.String` | `name`

### name

    public abstract java.lang.String name

  Default:
    "providedId"

### bridge

    public abstract FieldBridge bridge

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2006-2010 Hibernate. All Rights Reserved.