Interface CsticValueModel
- All Known Implementing Classes:
CsticValueModelImpl
Represents the characteristic value model.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIndicating that this value was defaulted.static final StringIndicating that this value was assigned manually by the user.static final StringIndicating that this value was automatically assigned by the configuration engine.static final StringIndicating that this value was assigned by the user, either manually, or via constraints.static final Stringvalue indicating that this cstic is selected, in case of yes/no decissions -
Method Summary
Modifier and TypeMethodDescriptiondefault StringGet the long text description for a cstic value, which will be displayed under the cstic name in the UIdefault Set<ProductConfigMessage>getName()booleanbooleanbooleanvoidvoidsetAuthorExternal(String authorExternal) voidsetDeltaPrice(PriceModel deltaPrice) voidsetDomainValue(boolean domainValue) voidsetLanguageDependentName(String languageDependentName) default voidsetLongText(String longText) Set the long text, which will be displayed under the Cstic value name in the UIdefault voidsetMessages(Set<ProductConfigMessage> messages) voidvoidsetNumeric(boolean b) voidsetSelectable(boolean selectable) voidsetValuePrice(PriceModel valuePrice)
-
Field Details
-
TRUE
value indicating that this cstic is selected, in case of yes/no decissions- See Also:
-
AUTHOR_SYSTEM
Indicating that this value was automatically assigned by the configuration engine.- See Also:
-
AUTHOR_USER
Indicating that this value was assigned by the user, either manually, or via constraints.- See Also:
-
AUTHOR_EXTERNAL_USER
Indicating that this value was assigned manually by the user.- See Also:
-
AUTHOR_EXTERNAL_DEFAULT
Indicating that this value was defaulted.- See Also:
-
-
Method Details
-
getName
String getName()- Returns:
- the characteristic value name
-
setName
- Parameters:
name- characteristic value name
-
getLanguageDependentName
String getLanguageDependentName()- Returns:
- the language dependent characteristic value name
-
setLanguageDependentName
- 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
- 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
- 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
- Parameters:
deltaPrice- delta price for this option, compared to the selected option
-
getValuePrice
PriceModel getValuePrice()- Returns:
- the absolute value price for this option
-
setValuePrice
- 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
- Returns:
- messages valid for this characteristic value
-
setMessages
- Parameters:
messages- valid for this characteristic value
-
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
Set the long text, which will be displayed under the Cstic value name in the UI- Parameters:
longText- Description for the cstic
-