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

com.nedap.archie.rminfo.Invariant Maven / Gradle / Ivy

The newest version!
package com.nedap.archie.rminfo;

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

/**
 * This annotation defines a method as being an invariant, which means it will be checked during validation
 * automatically. The method must be of a boolean return type, and not have any parameters
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Invariant {
    /** the name of the Invariant */
    String value();
    boolean ignored() default false;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy