Annotation Type DiffIgnore


  • @Target({METHOD,FIELD,TYPE})
    @Retention(RUNTIME)
    public @interface DiffIgnore
    Use DiffIgnore annotation to mark certain properties or classes as ignored by JaVers.

    Property level

    Add DiffIgnore to fields or getters (depending on selected MappingStyle) to mark them as ignored. When used on the property level, DiffIgnore is equivalent to the javax.persistence.Transient annotation.

    Class level

    Add DiffIgnore to classes to mark them as ignored.
    When a class is ignored, all properties (found in other classes) with this class type are ignored.

    Warning: DiffIgnore can't be mixed with DiffInclude in the same class.
    See Also:
    DiffInclude