All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sirius.search.annotations.NestedObject Maven / Gradle / Ivy

Go to download

Provides a thin layer above Elasticsearch (Fluent Query API, Automatic Mapping, Utilities)

The newest version!
/*
 * Made with all the love in the world
 * by scireum in Remshalden, Germany
 *
 * Copyright by scireum GmbH
 * http://www.scireum.de - [email protected]
 */

package sirius.search.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Allows the nesting of objects and therefore better structuring.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface NestedObject {
    /**
     * Contains the class that should be nested
     *
     * @return the class used to map the nested data
     */
    Class value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy