Class PossibleAttributeValue
- java.lang.Object
-
- de.hybris.platform.classification.impl.PossibleAttributeValue
-
public class PossibleAttributeValue extends java.lang.ObjectValue class to hold a row of the result ofClassificationDao.findPossibleAttributeValues(de.hybris.platform.category.model.CategoryModel, java.util.Collection, java.util.Map).
-
-
Constructor Summary
Constructors Constructor Description PossibleAttributeValue(ClassAttributeAssignmentModel assignment, java.lang.Object value, ClassificationAttributeUnitModel unit, java.lang.Long count)Initializes the object with all values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassAttributeAssignmentModelgetAssignment()java.lang.LonggetCount()The number of occurrences of this value.ClassificationAttributeUnitModelgetUnit()Gets the unit (might be null).java.lang.ObjectgetValue()
-
-
-
Constructor Detail
-
PossibleAttributeValue
public PossibleAttributeValue(ClassAttributeAssignmentModel assignment, java.lang.Object value, ClassificationAttributeUnitModel unit, java.lang.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 Detail
-
getAssignment
public ClassAttributeAssignmentModel getAssignment()
-
getValue
public java.lang.Object getValue()
-
getUnit
public ClassificationAttributeUnitModel getUnit()
Gets the unit (might be null).
-
getCount
public java.lang.Long getCount()
The number of occurrences of this value.- Returns:
- the number of occurrences of this value
-
-