Class CsticValueModelImpl

    • Constructor Detail

      • CsticValueModelImpl

        public CsticValueModelImpl()
    • Method Detail

      • isNumeric

        public boolean isNumeric()
        Specified by:
        isNumeric in interface CsticValueModel
        Returns:
        Characteristic value is of numeric type
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface CsticValueModel
        Returns:
        the characteristic value name
      • setName

        public void setName​(java.lang.String name)
        Specified by:
        setName in interface CsticValueModel
        Parameters:
        name - characteristic value name
      • getLanguageDependentName

        public java.lang.String getLanguageDependentName()
        Specified by:
        getLanguageDependentName in interface CsticValueModel
        Returns:
        the language dependent characteristic value name
      • setLanguageDependentName

        public void setLanguageDependentName​(java.lang.String languageDependentName)
        Specified by:
        setLanguageDependentName in interface CsticValueModel
        Parameters:
        languageDependentName - language dependent characteristic value name
      • isDomainValue

        public boolean isDomainValue()
        Specified by:
        isDomainValue in interface CsticValueModel
        Returns:
        true if the value is a domain value
      • setDomainValue

        public void setDomainValue​(boolean domainValue)
        Specified by:
        setDomainValue in interface CsticValueModel
        Parameters:
        domainValue - flag indicating whether this value is a domain value
      • toString

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getAuthor

        public java.lang.String getAuthor()
        Specified by:
        getAuthor in interface CsticValueModel
        Returns:
        the characteristic value author
      • setAuthor

        public void setAuthor​(java.lang.String author)
        Specified by:
        setAuthor in interface CsticValueModel
        Parameters:
        author - characteristic value author
      • isSelectable

        public boolean isSelectable()
        Specified by:
        isSelectable in interface CsticValueModel
        Returns:
        true if the value is selectable
      • setSelectable

        public void setSelectable​(boolean selectable)
        Specified by:
        setSelectable in interface CsticValueModel
        Parameters:
        selectable - Flag indicating whether this value is selectable. Not supported in all provider implementations, we don't set in the current SSC implementation.
      • getAuthorExternal

        public java.lang.String getAuthorExternal()
        Specified by:
        getAuthorExternal in interface CsticValueModel
        Returns:
        the external characteristic value author - engine representation
      • setAuthorExternal

        public void setAuthorExternal​(java.lang.String authorExternal)
        Specified by:
        setAuthorExternal in interface CsticValueModel
        Parameters:
        authorExternal - external characteristic value author - engine representation
      • setDeltaPrice

        public void setDeltaPrice​(PriceModel deltaPrice)
        Specified by:
        setDeltaPrice in interface CsticValueModel
        Parameters:
        deltaPrice - delta price for this option, compared to the selected option
      • setValuePrice

        public void setValuePrice​(PriceModel valuePrice)
        Specified by:
        setValuePrice in interface CsticValueModel
        Parameters:
        valuePrice - absolute value price for this option
      • setNumeric

        public void setNumeric​(boolean b)
        Specified by:
        setNumeric in interface CsticValueModel
        Parameters:
        b - Characteristic value is of numeric type
      • getLongText

        public java.lang.String getLongText()
        Description copied from interface: CsticValueModel
        Get the long text description for a cstic value, which will be displayed under the cstic name in the UI
        Specified by:
        getLongText in interface CsticValueModel
        Returns:
        The long text value
      • setLongText

        public void setLongText​(java.lang.String longText)
        Description copied from interface: CsticValueModel
        Set the long text, which will be displayed under the Cstic value name in the UI
        Specified by:
        setLongText in interface CsticValueModel
        Parameters:
        longText - Description for the cstic