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

io.permazen.annotation.ValuesList Maven / Gradle / Ivy

The newest version!

/*
 * Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
 */

package io.permazen.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Defines a predicate that matches certain combined values of a list of simple fields.
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ValuesList {

    /**
     * Get the matching criteria for each field in the list.
     *
     * 

* The ith {@link Values @Values} in the returned array corresponds to the ith field * in the list. In order for the list of fields to match, all of the fields in the list must match their * respective {@link Values @Values} annotation. * * @return list of field matching criteria */ Values[] value(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy