OptaPlanner core 6.1.0.Beta2

org.optaplanner.core.impl.domain.entity.descriptor
Class EntityDescriptor

java.lang.Object
  extended by org.optaplanner.core.impl.domain.entity.descriptor.EntityDescriptor

public class EntityDescriptor
extends Object


Constructor Summary
EntityDescriptor(SolutionDescriptor solutionDescriptor, Class<?> entityClass)
           
 
Method Summary
 void addVariableListenersToMap(Map<GenuineVariableDescriptor,List<VariableListener>> variableListenerMap)
           
 void afterAnnotationsProcessed(DescriptorPolicy descriptorPolicy)
           
 int countUninitializedVariables(Object entity)
           
 List<Object> extractEntities(Solution solution)
           
 SelectionSorter getDecreasingDifficultySorter()
           
 Class<?> getEntityClass()
           
 SelectionFilter getMovableEntitySelectionFilter()
           
 Collection<String> getPlanningVariableNameSet()
           
 long getProblemScale(Solution solution, Object entity)
           
 PropertyDescriptor getPropertyDescriptor(String propertyName)
           
 ShadowVariableDescriptor getShadowVariableDescriptor(String propertyName)
           
 SolutionDescriptor getSolutionDescriptor()
           
 GenuineVariableDescriptor getVariableDescriptor(String propertyName)
           
 Collection<GenuineVariableDescriptor> getVariableDescriptors()
           
 boolean hasGenuineVariableDescriptor()
           
 boolean hasMovableEntitySelectionFilter()
           
 boolean hasShadowVariableDescriptor(String propertyName)
           
 boolean hasVariableDescriptor(String propertyName)
           
 boolean isInitialized(Object entity)
           
 boolean matchesEntity(Object entity)
           
 void processAnnotations(DescriptorPolicy descriptorPolicy)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityDescriptor

public EntityDescriptor(SolutionDescriptor solutionDescriptor,
                        Class<?> entityClass)
Method Detail

processAnnotations

public void processAnnotations(DescriptorPolicy descriptorPolicy)

afterAnnotationsProcessed

public void afterAnnotationsProcessed(DescriptorPolicy descriptorPolicy)

getSolutionDescriptor

public SolutionDescriptor getSolutionDescriptor()

getEntityClass

public Class<?> getEntityClass()

matchesEntity

public boolean matchesEntity(Object entity)

hasMovableEntitySelectionFilter

public boolean hasMovableEntitySelectionFilter()

getMovableEntitySelectionFilter

public SelectionFilter getMovableEntitySelectionFilter()

getDecreasingDifficultySorter

public SelectionSorter getDecreasingDifficultySorter()

getPropertyDescriptor

public PropertyDescriptor getPropertyDescriptor(String propertyName)

getPlanningVariableNameSet

public Collection<String> getPlanningVariableNameSet()

getVariableDescriptors

public Collection<GenuineVariableDescriptor> getVariableDescriptors()

hasVariableDescriptor

public boolean hasVariableDescriptor(String propertyName)

getVariableDescriptor

public GenuineVariableDescriptor getVariableDescriptor(String propertyName)

hasGenuineVariableDescriptor

public boolean hasGenuineVariableDescriptor()

hasShadowVariableDescriptor

public boolean hasShadowVariableDescriptor(String propertyName)

getShadowVariableDescriptor

public ShadowVariableDescriptor getShadowVariableDescriptor(String propertyName)

addVariableListenersToMap

public void addVariableListenersToMap(Map<GenuineVariableDescriptor,List<VariableListener>> variableListenerMap)

extractEntities

public List<Object> extractEntities(Solution solution)

getProblemScale

public long getProblemScale(Solution solution,
                            Object entity)

countUninitializedVariables

public int countUninitializedVariables(Object entity)

isInitialized

public boolean isInitialized(Object entity)

toString

public String toString()
Overrides:
toString in class Object

OptaPlanner core 6.1.0.Beta2

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.