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

com.tobedevoured.modelcitizen.annotation.NewInstance Maven / Gradle / Ivy

Go to download

Model Citizen is an annotation based model factory for Java. A Model is mapped by a Blueprint using annotated fields. Blueprints contain default values and references to other blueprinted models. The ModelFactory can create Models based on registered Blueprints. A Model already created can be passed into the ModelFactory as a Reference Model, which will be used as the basis for the new Model.

There is a newer version: 0.8.3
Show newest version
package com.tobedevoured.modelcitizen.annotation;

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

/**
 * Callback when ModelFactory creates a new instance of the Model. Used in
 * conjunction with (@link ConstructorCallback}
 * @deprecated No longer required, {@link ConstructorCallback} is automatically detected
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Deprecated
public @interface NewInstance {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy