org.qi4j.api.injection.scope
Annotation Type State


@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER})
@Documented
@InjectionScope
public @interface State

Annotation to denote the injection of a property, association or StateHolder.


 @State Property propertyName;
 @State Association associationName;
 @State StateHolder state;
 @State EntityStateHolder entityState;
 


Optional Element Summary
 String value
          Name of the property or association.
 

value

public abstract String value
Name of the property or association. If not set then name will be name of field.

Returns:
the name
Default:
""