public class EntityDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static List<Class<? extends Annotation>> |
VARIABLE_ANNOTATION_CLASSES |
Constructor and Description |
---|
EntityDescriptor(SolutionDescriptor solutionDescriptor,
Class<?> entityClass) |
public static final List<Class<? extends Annotation>> VARIABLE_ANNOTATION_CLASSES
public EntityDescriptor(SolutionDescriptor solutionDescriptor, Class<?> entityClass)
public void processAnnotations(DescriptorPolicy descriptorPolicy)
public void linkInheritedEntityDescriptors(DescriptorPolicy descriptorPolicy)
public void linkShadowSources(DescriptorPolicy descriptorPolicy)
public SolutionDescriptor getSolutionDescriptor()
public Class<?> getEntityClass()
public boolean matchesEntity(Object entity)
public boolean hasMovableEntitySelectionFilter()
public SelectionFilter getMovableEntitySelectionFilter()
public SelectionSorter getDecreasingDifficultySorter()
public boolean hasAnyDeclaredGenuineVariableDescriptor()
public Collection<String> getGenuineVariableNameSet()
public Map<String,GenuineVariableDescriptor> getGenuineVariableDescriptorMap()
public Collection<GenuineVariableDescriptor> getGenuineVariableDescriptors()
public List<GenuineVariableDescriptor> getGenuineVariableDescriptorList()
public boolean hasGenuineVariableDescriptor(String variableName)
public GenuineVariableDescriptor getGenuineVariableDescriptor(String variableName)
public Map<String,ShadowVariableDescriptor> getShadowVariableDescriptorMap()
public Collection<ShadowVariableDescriptor> getShadowVariableDescriptors()
public boolean hasShadowVariableDescriptor(String variableName)
public ShadowVariableDescriptor getShadowVariableDescriptor(String variableName)
public Map<String,VariableDescriptor> getVariableDescriptorMap()
public Collection<VariableDescriptor> getVariableDescriptors()
public boolean hasVariableDescriptor(String variableName)
public VariableDescriptor getVariableDescriptor(String variableName)
public Collection<GenuineVariableDescriptor> getDeclaredGenuineVariableDescriptors()
public Collection<ShadowVariableDescriptor> getDeclaredShadowVariableDescriptors()
public Collection<VariableDescriptor> getDeclaredVariableDescriptors()
public String buildInvalidVariableNameExceptionMessage(String variableName)
public boolean hasAnyChainedGenuineVariables()
public long getGenuineVariableCount()
public int countUninitializedVariables(Object entity)
public boolean isInitialized(Object entity)
public int countReinitializableVariables(ScoreDirector scoreDirector, Object entity)
public boolean isMovable(ScoreDirector scoreDirector, Object entity)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.