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

com.redhat.lightblue.migrator.facade.ModelMixIn Maven / Gradle / Ivy

There is a newer version: 2.56.1
Show newest version
package com.redhat.lightblue.migrator.facade;

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

/**
 * Use ModelMixIn(clazz=Model.class, includeMethods={"apiMethod1","apiMethod2"})
 * to exclude certain fields from the serialized json before consistency checking.
 *
 *
 * @author ykoer
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ModelMixIn {
    /**
     * The MixIn interface/class for a model object.
     * @return
     */
    Class clazz();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy