Class FeatureValue

    • Constructor Detail

      • FeatureValue

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

        public FeatureValue​(java.lang.Object value,
                            java.lang.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:
        java.lang.IllegalArgumentException - if the value is null
      • FeatureValue

        public FeatureValue​(java.lang.Object value,
                            java.lang.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:
        java.lang.IllegalArgumentException - if the value is null
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setValue

        public void setValue​(java.lang.Object value)
      • getValue

        public java.lang.Object getValue()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getDescription

        public java.lang.String getDescription()
      • getProductFeaturePk

        public PK getProductFeaturePk()
      • setProductFeaturePk

        public void setProductFeaturePk​(PK productFeaturePK)