org.drools.planner.api.domain.variable
Annotation Type ValueRangeFromPlanningEntityProperty


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ValueRangeFromPlanningEntityProperty

Specifies that the planning value range for a planning variable is defined by a property on the planning entity.

It is specified on a getter of a java bean property which already has a PlanningVariable annotation.


Required Element Summary
 String propertyName
          The property name for which exists a getter on the planning entity that returns a Collection.
 

Element Detail

propertyName

public abstract String propertyName
The property name for which exists a getter on the planning entity that returns a Collection.

Returns:
never null


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.