Class FeatureValue

java.lang.Object
de.hybris.platform.classification.features.FeatureValue

public class FeatureValue extends Object
A single feature value of a Feature. It contains a value, a description and - if the jalo item is a TypedFeature - a ClassificationAttributeUnitModel . This class is the representation of FeatureValue.
  • Constructor Details

    • FeatureValue

      public FeatureValue(Object value)
      Initializes this featurevalue with an object.
      Parameters:
      value - the value
      Throws:
      IllegalArgumentException - if the value is null
    • FeatureValue

      public FeatureValue(Object value, String description, ClassificationAttributeUnitModel unitmodel)
      Initializes this featurevalue with an object.
      Parameters:
      value - the value
      description - a descrition text, can be null
      unitmodel - an unitmodel, can be null
      Throws:
      IllegalArgumentException - if the value is null
    • FeatureValue

      public FeatureValue(Object value, String description, ClassificationAttributeUnitModel unitmodel, PK productFeaturePK)
      Initializes this featurevalue with an object.
      Parameters:
      value - the value
      description - a descrition text, can be null
      unitmodel - an unitmodel, can be null
      productFeaturePK - the product feature pk
      Throws:
      IllegalArgumentException - if the value is null
  • Method Details