interface @AssociationField

Abstract goes here...

Description

Description goes here...

Declaration

package org.qi4j.api.injection.scope;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.qi4j.api.injection.InjectionScope;

/**
* Annotation to denote the injection of an
* association into a Mixin field.
*/
@Retention( RetentionPolicy.RUNTIME )
@Target( { ElementType.FIELD } )
@Documented
@InjectionScope
public @interface AssociationField
{
    /** Name of the association.
     * If not set then name will be name of field.
     */
    String value() default "";
}

Example

Example(s) goes here...

Qi4j and the Qi4j logo are trademarks of Richard Öberg, Niclas Hedhman and the members of the Qi4j Core Team. See Qi4j licensing for more information.
Powered by SiteVisionexternal link.