Skip to content
Snippets Groups Projects
Commit 9e6b4881 authored by tpylak's avatar tpylak
Browse files

LMS-791 minor: better javadoc

SVN: 10304
parent d454b4eb
No related branches found
No related tags found
No related merge requests found
...@@ -16,11 +16,13 @@ ...@@ -16,11 +16,13 @@
package ch.systemsx.cisd.openbis.generic.shared.dto.hibernate; package ch.systemsx.cisd.openbis.generic.shared.dto.hibernate;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.IndexedEmbedded; import org.hibernate.search.annotations.IndexedEmbedded;
/** /**
* Prefixes for indexed fields. Should be used everywhere where {@link IndexedEmbedded} annotation * Prefixes for indexed fields. Should be used everywhere where {@link IndexedEmbedded} or
* is used, in this way we can make search query syntax independent from bean field names. * {@link Field} annotation is used, in this way we can make search query syntax independent from
* bean field names.
* *
* @author Tomasz Pylak * @author Tomasz Pylak
*/ */
...@@ -52,7 +54,7 @@ public final class SearchFieldConstants ...@@ -52,7 +54,7 @@ public final class SearchFieldConstants
public static final String PREFIX_ATTACHMENT_FILE_NAME = "attachment name: "; public static final String PREFIX_ATTACHMENT_FILE_NAME = "attachment name: ";
public static final String DELETED = "deleted: "; public static final String DELETED = "deleted";
public static final String PERSON_LAST_NAME = "Last Name"; public static final String PERSON_LAST_NAME = "Last Name";
...@@ -68,6 +70,5 @@ public final class SearchFieldConstants ...@@ -68,6 +70,5 @@ public final class SearchFieldConstants
public static final String PREFIX_PROCEDURE = ""; public static final String PREFIX_PROCEDURE = "";
// intentionally empty, see class comment
public static final String PREFIX_EXPERIMENT_ATTACHMENTS = ""; public static final String PREFIX_EXPERIMENT_ATTACHMENTS = "";
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment