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 Key

    @Retention(value=RUNTIME)
    @Target(value=METHOD)
    @Documented
    public @interface Key

Marks a method as a key constructor for a given type. A key is an object that uniquely identify a given object type and a given set of parameters The key object must implement equals / hashcode so that 2 keys are equals iif the given target object types are the same, the set of parameters are the same. @Factory currently works for @FullTextFilterDef.impl classes

Author:
  Emmanuel Bernard
See Also:
  `Factory`

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.