public class FromSolutionPropertyValueRangeDescriptor extends AbstractFromPropertyValueRangeDescriptor implements EntityIndependentValueRangeDescriptor
collectionWrapping, countable, memberAccessoraddNullInValueRange, variableDescriptor| Constructor and Description |
|---|
FromSolutionPropertyValueRangeDescriptor(GenuineVariableDescriptor variableDescriptor,
boolean addNullInValueRange,
MemberAccessor memberAccessor) |
| Modifier and Type | Method and Description |
|---|---|
ValueRange<?> |
extractValueRange(Solution solution)
As specified by
ValueRangeDescriptor.extractValueRange(Solution, Object). |
ValueRange<?> |
extractValueRange(Solution solution,
Object entity) |
boolean |
isEntityIndependent()
If this method return true, this instance is safe to cast to
EntityIndependentValueRangeDescriptor,
otherwise it requires an entity to determine the ValueRange. |
isCountable, readValueRangedoNullInValueRangeWrapping, getVariableDescriptor, mightContainEntity, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVariableDescriptor, isCountable, mightContainEntitypublic FromSolutionPropertyValueRangeDescriptor(GenuineVariableDescriptor variableDescriptor, boolean addNullInValueRange, MemberAccessor memberAccessor)
public boolean isEntityIndependent()
ValueRangeDescriptorEntityIndependentValueRangeDescriptor,
otherwise it requires an entity to determine the ValueRange.isEntityIndependent in interface ValueRangeDescriptorValueRange is the same for all entities of the same solutionpublic ValueRange<?> extractValueRange(Solution solution, Object entity)
extractValueRange in interface ValueRangeDescriptorsolution - never nullentity - never null. To avoid this parameter,
use EntityIndependentValueRangeDescriptor.extractValueRange(Solution) instead.public ValueRange<?> extractValueRange(Solution solution)
EntityIndependentValueRangeDescriptorValueRangeDescriptor.extractValueRange(Solution, Object).extractValueRange in interface EntityIndependentValueRangeDescriptorsolution - never nullValueRangeDescriptor.extractValueRange(Solution, Object)Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.