Class PossibleAttributeValue
java.lang.Object
de.hybris.platform.classification.impl.PossibleAttributeValue
Value class to hold a row of the result of
ClassificationDao.findPossibleAttributeValues(de.hybris.platform.category.model.CategoryModel, java.util.Collection, java.util.Map)
.-
Constructor Summary
ConstructorsConstructorDescriptionPossibleAttributeValue(ClassAttributeAssignmentModel assignment, Object value, ClassificationAttributeUnitModel unit, Long count) Initializes the object with all values. -
Method Summary
-
Constructor Details
-
PossibleAttributeValue
public PossibleAttributeValue(ClassAttributeAssignmentModel assignment, Object value, ClassificationAttributeUnitModel unit, Long count) Initializes the object with all values.- Parameters:
assignment- the class attribute assigmentvalue- the actual valueunit- the unit (may be null)count- the number of occurences of this value
-
-
Method Details
-
getAssignment
-
getValue
-
getUnit
Gets the unit (might be null). -
getCount
The number of occurrences of this value.- Returns:
- the number of occurrences of this value
-