Class TmaPricingLogicAlgorithmSpecModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaPricingLogicAlgorithmSpecModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TmaOneTimePlaSpecModel,TmaRecurringPlaSpecModel,TmaUsagePlaSpecModel
Generated model class for type TmaPricingLogicAlgorithmSpec first defined at extension tuadatacommonsservices.
The specification of the Pricing Logic Algorithms. This entity represents the interface of the black box algorithms and has been designed to model flexible interface definition in order to provide maximal reuse for existing rating algorithms.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.approvalStatusattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.externalIdsattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.idattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.offlineDateattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.onlineDateattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.pricingLogicAlgorithmsattribute defined at extensiontuadatacommonsservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.TmaPricingLogicAlgorithmSpecModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextDeprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaPricingLogicAlgorithmSpecModel(String _id, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTmaPricingLogicAlgorithmSpec.approvalStatusattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.getDescription(Locale loc) Generated method - Getter of theTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaPricingLogicAlgorithmSpec.externalIdsattribute defined at extensiontuadatacommonsservices.getId()Generated method - Getter of theTmaPricingLogicAlgorithmSpec.idattribute defined at extensiontuadatacommonsservices.getName()Generated method - Getter of theTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaPricingLogicAlgorithmSpec.offlineDateattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaPricingLogicAlgorithmSpec.onlineDateattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaPricingLogicAlgorithmSpec.pricingLogicAlgorithmsattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaPricingLogicAlgorithmSpec.approvalStatusattribute defined at extensiontuadatacommonsservices.voidsetDescription(String value) Generated method - Setter ofTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.voidsetDescription(String value, Locale loc) Generated method - Setter ofTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaPricingLogicAlgorithmSpec.externalIdsattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaPricingLogicAlgorithmSpec.idattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.voidsetOfflineDate(Date value) Generated method - Setter ofTmaPricingLogicAlgorithmSpec.offlineDateattribute defined at extensiontuadatacommonsservices.voidsetOnlineDate(Date value) Generated method - Setter ofTmaPricingLogicAlgorithmSpec.onlineDateattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaPricingLogicAlgorithmSpec.pricingLogicAlgorithmsattribute defined at extensiontuadatacommonsservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
ID
Generated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.idattribute defined at extensiontuadatacommonsservices.- See Also:
-
NAME
Generated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.- See Also:
-
APPROVALSTATUS
Generated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.approvalStatusattribute defined at extensiontuadatacommonsservices.- See Also:
-
ONLINEDATE
Generated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.onlineDateattribute defined at extensiontuadatacommonsservices.- See Also:
-
OFFLINEDATE
Generated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.offlineDateattribute defined at extensiontuadatacommonsservices.- See Also:
-
PRICINGLOGICALGORITHMS
Generated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.pricingLogicAlgorithmsattribute defined at extensiontuadatacommonsservices.- See Also:
-
EXTERNALIDS
Generated constant - Attribute key ofTmaPricingLogicAlgorithmSpec.externalIdsattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
TmaPricingLogicAlgorithmSpecModel
public TmaPricingLogicAlgorithmSpecModel()Generated constructor - Default constructor for generic creation. -
TmaPricingLogicAlgorithmSpecModel
public TmaPricingLogicAlgorithmSpecModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TmaPricingLogicAlgorithmSpecModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_id- initial attribute declared by typeTmaPricingLogicAlgorithmSpecat extensiontuadatacommonsservices
-
TmaPricingLogicAlgorithmSpecModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaPricingLogicAlgorithmSpecModel(String _id, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeTmaPricingLogicAlgorithmSpecat extensiontuadatacommonsservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getApprovalStatus
Generated method - Getter of theTmaPricingLogicAlgorithmSpec.approvalStatusattribute defined at extensiontuadatacommonsservices.- Returns:
- the approvalStatus - The approval status of the Pricing Logic Algorithm Specification.
-
getDescription
Generated method - Getter of theTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.- Returns:
- the description - The description of the Pricing Logic Algorithm Specification.
-
getDescription
Generated method - Getter of theTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.- Parameters:
loc- the value localization key- Returns:
- the description - The description of the Pricing Logic Algorithm Specification.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getExternalIds
@Accessor(qualifier="externalIds", type=GETTER) public Set<TmaExternalIdentifierModel> getExternalIds()Generated method - Getter of theTmaPricingLogicAlgorithmSpec.externalIdsattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalIds - The external identifiers of the pricing logic algorithm specification.
-
getId
Generated method - Getter of theTmaPricingLogicAlgorithmSpec.idattribute defined at extensiontuadatacommonsservices.- Returns:
- the id - The unique identifier of the Pricing Logic Algorithm Specification.
-
getName
Generated method - Getter of theTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.- Returns:
- the name - The name of the Pricing Logic Algorithm Specification.
-
getName
Generated method - Getter of theTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.- Parameters:
loc- the value localization key- Returns:
- the name - The name of the Pricing Logic Algorithm Specification.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getOfflineDate
Generated method - Getter of theTmaPricingLogicAlgorithmSpec.offlineDateattribute defined at extensiontuadatacommonsservices.- Returns:
- the offlineDate - The date until the Pricing Logic Algorithm Specification is active.
-
getOnlineDate
Generated method - Getter of theTmaPricingLogicAlgorithmSpec.onlineDateattribute defined at extensiontuadatacommonsservices.- Returns:
- the onlineDate - The date from which the the Pricing Logic Algorithm Specification is active.
-
getPricingLogicAlgorithms
@Accessor(qualifier="pricingLogicAlgorithms", type=GETTER) public Set<TmaPricingLogicAlgorithmModel> getPricingLogicAlgorithms()Generated method - Getter of theTmaPricingLogicAlgorithmSpec.pricingLogicAlgorithmsattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the pricingLogicAlgorithms - The instantiations of this rating template.
-
setApprovalStatus
@Accessor(qualifier="approvalStatus", type=SETTER) public void setApprovalStatus(ArticleApprovalStatus value) Generated method - Setter ofTmaPricingLogicAlgorithmSpec.approvalStatusattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the approvalStatus - The approval status of the Pricing Logic Algorithm Specification.
-
setDescription
Generated method - Setter ofTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the description - The description of the Pricing Logic Algorithm Specification.
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofTmaPricingLogicAlgorithmSpec.descriptionattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the description - The description of the Pricing Logic Algorithm Specification.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setExternalIds
@Accessor(qualifier="externalIds", type=SETTER) public void setExternalIds(Set<TmaExternalIdentifierModel> value) Generated method - Setter ofTmaPricingLogicAlgorithmSpec.externalIdsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the externalIds - The external identifiers of the pricing logic algorithm specification.
-
setId
Generated method - Setter ofTmaPricingLogicAlgorithmSpec.idattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the id - The unique identifier of the Pricing Logic Algorithm Specification.
-
setName
Generated method - Setter ofTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the name - The name of the Pricing Logic Algorithm Specification.
-
setName
Generated method - Setter ofTmaPricingLogicAlgorithmSpec.nameattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the name - The name of the Pricing Logic Algorithm Specification.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setOfflineDate
Generated method - Setter ofTmaPricingLogicAlgorithmSpec.offlineDateattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the offlineDate - The date until the Pricing Logic Algorithm Specification is active.
-
setOnlineDate
Generated method - Setter ofTmaPricingLogicAlgorithmSpec.onlineDateattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the onlineDate - The date from which the the Pricing Logic Algorithm Specification is active.
-
setPricingLogicAlgorithms
@Accessor(qualifier="pricingLogicAlgorithms", type=SETTER) public void setPricingLogicAlgorithms(Set<TmaPricingLogicAlgorithmModel> value) Generated method - Setter ofTmaPricingLogicAlgorithmSpec.pricingLogicAlgorithmsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the pricingLogicAlgorithms - The instantiations of this rating template.
-