All Superinterfaces:
BaseModel, Cloneable
All Known Implementing Classes:
CsticValueModelImpl

public interface CsticValueModel extends BaseModel
Represents the characteristic value model.
  • Field Details

    • TRUE

      static final String TRUE
      value indicating that this cstic is selected, in case of yes/no decissions
      See Also:
    • AUTHOR_SYSTEM

      static final String AUTHOR_SYSTEM
      Indicating that this value was automatically assigned by the configuration engine.
      See Also:
    • AUTHOR_USER

      static final String AUTHOR_USER
      Indicating that this value was assigned by the user, either manually, or via constraints.
      See Also:
    • AUTHOR_EXTERNAL_USER

      static final String AUTHOR_EXTERNAL_USER
      Indicating that this value was assigned manually by the user.
      See Also:
    • AUTHOR_EXTERNAL_DEFAULT

      static final String AUTHOR_EXTERNAL_DEFAULT
      Indicating that this value was defaulted.
      See Also:
  • Method Details

    • getName

      String getName()
      Returns:
      the characteristic value name
    • setName

      void setName(String name)
      Parameters:
      name - characteristic value name
    • getLanguageDependentName

      String getLanguageDependentName()
      Returns:
      the language dependent characteristic value name
    • setLanguageDependentName

      void setLanguageDependentName(String languageDependentName)
      Parameters:
      languageDependentName - language dependent characteristic value name
    • isDomainValue

      boolean isDomainValue()
      Returns:
      true if the value is a domain value
    • setDomainValue

      void setDomainValue(boolean domainValue)
      Parameters:
      domainValue - flag indicating whether this value is a domain value
    • setAuthor

      void setAuthor(String author)
      Parameters:
      author - characteristic value author
    • getAuthor

      String getAuthor()
      Returns:
      the characteristic value author
    • isSelectable

      boolean isSelectable()
      Returns:
      true if the value is selectable
    • setSelectable

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

      void setAuthorExternal(String authorExternal)
      Parameters:
      authorExternal - external characteristic value author - engine representation
    • getAuthorExternal

      String getAuthorExternal()
      Returns:
      the external characteristic value author - engine representation
    • getDeltaPrice

      PriceModel getDeltaPrice()
      Returns:
      the delta price for this option, compared to the selected option
    • setDeltaPrice

      void setDeltaPrice(PriceModel deltaPrice)
      Parameters:
      deltaPrice - delta price for this option, compared to the selected option
    • getValuePrice

      PriceModel getValuePrice()
      Returns:
      the absolute value price for this option
    • setValuePrice

      void setValuePrice(PriceModel valuePrice)
      Parameters:
      valuePrice - absolute value price for this option
    • setNumeric

      void setNumeric(boolean b)
      Parameters:
      b - Characteristic value is of numeric type
    • isNumeric

      boolean isNumeric()
      Returns:
      Characteristic value is of numeric type
    • getMessages

      default Set<ProductConfigMessage> getMessages()
      Returns:
      messages valid for this characteristic value
    • setMessages

      default void setMessages(Set<ProductConfigMessage> messages)
      Parameters:
      messages - valid for this characteristic value
    • getLongText

      default String getLongText()
      Get the long text description for a cstic value, which will be displayed under the cstic name in the UI
      Returns:
      The long text value
    • setLongText

      default void setLongText(String longText)
      Set the long text, which will be displayed under the Cstic value name in the UI
      Parameters:
      longText - Description for the cstic