Class TuaProductPriceModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.tuadatamodel.model.TuaProductPriceModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TuaComponentProdPriceModel,TuaCompositeProdPriceModel
Generated model class for type TuaProductPrice first defined at extension tuadatamodel.
- 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 relation code constant for relationTuaCompositeProdPrice2TuaProductPriceRelationdefining source attributecompositeProdPricein extensiontuadatamodel.static final StringGenerated relation code constant for relationTuaProduct2TuaProductPriceRelationdefining source attributeproductin extensiontuadatamodel.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTuaProductPrice.billingAccountattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.compositeProdPriceattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.endDateattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.externalIdentifiersattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.idattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.nameattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.productattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.productOfferingPriceattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.startDateattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductPrice.tmaProductOfferingPriceattribute 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.TuaProductPriceModel(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 parametersTuaProductPriceModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTuaProductPrice.billingAccountattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaProductPrice.compositeProdPriceattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.getDescription(Locale loc) Generated method - Getter of theTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaProductPrice.endDateattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaProductPrice.externalIdentifiersattribute defined at extensiontuadatamodel.getId()Generated method - Getter of theTuaProductPrice.idattribute defined at extensiontuadatamodel.getName()Generated method - Getter of theTuaProductPrice.nameattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaProductPrice.nameattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaProductPrice.productattribute defined at extensiontuadatamodel.Deprecated, for removal: This API element is subject to removal in a future version.since 2302Generated method - Getter of theTuaProductPrice.startDateattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaProductPrice.tmaProductOfferingPriceattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTuaProductPrice.billingAccountattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductPrice.compositeProdPriceattribute defined at extensiontuadatamodel.voidsetDescription(String value) Generated method - Setter ofTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.voidsetDescription(String value, Locale loc) Generated method - Setter ofTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.voidsetEndDate(Date value) Generated method - Setter ofTuaProductPrice.endDateattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductPrice.externalIdentifiersattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductPrice.idattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductPrice.nameattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductPrice.nameattribute defined at extensiontuadatamodel.voidsetProduct(TuaProductModel value) Generated method - Setter ofTuaProductPrice.productattribute defined at extensiontuadatamodel.voidDeprecated, for removal: This API element is subject to removal in a future version.since 2302voidsetStartDate(Date value) Generated method - Setter ofTuaProductPrice.startDateattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductPrice.tmaProductOfferingPriceattribute 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:
-
_TUAPRODUCT2TUAPRODUCTPRICERELATION
Generated relation code constant for relationTuaProduct2TuaProductPriceRelationdefining source attributeproductin extensiontuadatamodel.- See Also:
-
_TUACOMPOSITEPRODPRICE2TUAPRODUCTPRICERELATION
Generated relation code constant for relationTuaCompositeProdPrice2TuaProductPriceRelationdefining source attributecompositeProdPricein extensiontuadatamodel.- See Also:
-
ID
Generated constant - Attribute key ofTuaProductPrice.idattribute defined at extensiontuadatamodel.- See Also:
-
NAME
Generated constant - Attribute key ofTuaProductPrice.nameattribute defined at extensiontuadatamodel.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.- See Also:
-
BILLINGACCOUNT
Generated constant - Attribute key ofTuaProductPrice.billingAccountattribute defined at extensiontuadatamodel.- See Also:
-
PRODUCTOFFERINGPRICE
Generated constant - Attribute key ofTuaProductPrice.productOfferingPriceattribute defined at extensiontuadatamodel.- See Also:
-
STARTDATE
Generated constant - Attribute key ofTuaProductPrice.startDateattribute defined at extensiontuadatamodel.- See Also:
-
ENDDATE
Generated constant - Attribute key ofTuaProductPrice.endDateattribute defined at extensiontuadatamodel.- See Also:
-
EXTERNALIDENTIFIERS
Generated constant - Attribute key ofTuaProductPrice.externalIdentifiersattribute defined at extensiontuadatamodel.- See Also:
-
PRODUCT
Generated constant - Attribute key ofTuaProductPrice.productattribute defined at extensiontuadatamodel.- See Also:
-
COMPOSITEPRODPRICE
Generated constant - Attribute key ofTuaProductPrice.compositeProdPriceattribute defined at extensiontuadatamodel.- See Also:
-
TMAPRODUCTOFFERINGPRICE
Generated constant - Attribute key ofTuaProductPrice.tmaProductOfferingPriceattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
TuaProductPriceModel
public TuaProductPriceModel()Generated constructor - Default constructor for generic creation. -
TuaProductPriceModel
public TuaProductPriceModel(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
-
TuaProductPriceModel
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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getBillingAccount
@Accessor(qualifier="billingAccount", type=GETTER) public TuaBillingAccountModel getBillingAccount()Generated method - Getter of theTuaProductPrice.billingAccountattribute defined at extensiontuadatamodel.- Returns:
- the billingAccount
-
getCompositeProdPrice
@Accessor(qualifier="compositeProdPrice", type=GETTER) public TuaCompositeProdPriceModel getCompositeProdPrice()Generated method - Getter of theTuaProductPrice.compositeProdPriceattribute defined at extensiontuadatamodel.- Returns:
- the compositeProdPrice - The composite product price representing the parent of that product price.
-
getDescription
Generated method - Getter of theTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.- Returns:
- the description
-
getDescription
Generated method - Getter of theTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getEndDate
Generated method - Getter of theTuaProductPrice.endDateattribute defined at extensiontuadatamodel.- Returns:
- the endDate
-
getExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()Generated method - Getter of theTuaProductPrice.externalIdentifiersattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalIdentifiers
-
getId
Generated method - Getter of theTuaProductPrice.idattribute defined at extensiontuadatamodel.- Returns:
- the id
-
getName
Generated method - Getter of theTuaProductPrice.nameattribute defined at extensiontuadatamodel.- Returns:
- the name
-
getName
Generated method - Getter of theTuaProductPrice.nameattribute defined at extensiontuadatamodel.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getProduct
Generated method - Getter of theTuaProductPrice.productattribute defined at extensiontuadatamodel.- Returns:
- the product - The product for which that product price is valid.
-
getProductOfferingPrice
@Deprecated(since="2302", forRemoval=true) @Accessor(qualifier="productOfferingPrice", type=GETTER) public TuaProductOfferingPriceModel getProductOfferingPrice()Deprecated, for removal: This API element is subject to removal in a future version.since 2302Generated method - Getter of theTuaProductPrice.productOfferingPriceattribute defined at extensiontuadatamodel.- Returns:
- the productOfferingPrice - deprecated since 2302. Use instead tmaProductOfferingPrice attribute to refer the POP from the Product Catalog.
-
getStartDate
Generated method - Getter of theTuaProductPrice.startDateattribute defined at extensiontuadatamodel.- Returns:
- the startDate
-
getTmaProductOfferingPrice
@Accessor(qualifier="tmaProductOfferingPrice", type=GETTER) public TmaProductOfferingPriceModel getTmaProductOfferingPrice()Generated method - Getter of theTuaProductPrice.tmaProductOfferingPriceattribute defined at extensiontuadatacommonsservices.- Returns:
- the tmaProductOfferingPrice
-
setBillingAccount
@Accessor(qualifier="billingAccount", type=SETTER) public void setBillingAccount(TuaBillingAccountModel value) Generated method - Setter ofTuaProductPrice.billingAccountattribute defined at extensiontuadatamodel.- Parameters:
value- the billingAccount
-
setCompositeProdPrice
@Accessor(qualifier="compositeProdPrice", type=SETTER) public void setCompositeProdPrice(TuaCompositeProdPriceModel value) Generated method - Setter ofTuaProductPrice.compositeProdPriceattribute defined at extensiontuadatamodel.- Parameters:
value- the compositeProdPrice - The composite product price representing the parent of that product price.
-
setDescription
Generated method - Setter ofTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofTuaProductPrice.descriptionattribute defined at extensiontuadatamodel.- Parameters:
value- the descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setEndDate
Generated method - Setter ofTuaProductPrice.endDateattribute defined at extensiontuadatamodel.- Parameters:
value- the endDate
-
setExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value) Generated method - Setter ofTuaProductPrice.externalIdentifiersattribute defined at extensiontuadatamodel.- Parameters:
value- the externalIdentifiers
-
setId
Generated method - Setter ofTuaProductPrice.idattribute defined at extensiontuadatamodel.- Parameters:
value- the id
-
setName
Generated method - Setter ofTuaProductPrice.nameattribute defined at extensiontuadatamodel.- Parameters:
value- the name
-
setName
Generated method - Setter ofTuaProductPrice.nameattribute defined at extensiontuadatamodel.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setProduct
Generated method - Setter ofTuaProductPrice.productattribute defined at extensiontuadatamodel.- Parameters:
value- the product - The product for which that product price is valid.
-
setProductOfferingPrice
@Deprecated(since="2302", forRemoval=true) @Accessor(qualifier="productOfferingPrice", type=SETTER) public void setProductOfferingPrice(TuaProductOfferingPriceModel value) Deprecated, for removal: This API element is subject to removal in a future version.since 2302Generated method - Setter ofTuaProductPrice.productOfferingPriceattribute defined at extensiontuadatamodel.- Parameters:
value- the productOfferingPrice - deprecated since 2302. Use instead tmaProductOfferingPrice attribute to refer the POP from the Product Catalog.
-
setStartDate
Generated method - Setter ofTuaProductPrice.startDateattribute defined at extensiontuadatamodel.- Parameters:
value- the startDate
-
setTmaProductOfferingPrice
@Accessor(qualifier="tmaProductOfferingPrice", type=SETTER) public void setTmaProductOfferingPrice(TmaProductOfferingPriceModel value) Generated method - Setter ofTuaProductPrice.tmaProductOfferingPriceattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the tmaProductOfferingPrice
-