Package de.hybris.platform.europe1.model
Class PriceRowModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.europe1.model.PDTRowModel
-
- de.hybris.platform.europe1.model.PriceRowModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SubscriptionPricePlanModel
public class PriceRowModel extends PDTRowModel
Generated model class for type PriceRow first defined at extension europe1.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_PRODUCT2OWNEUROPE1PRICESGenerated relation code constant for relationProduct2OwnEurope1Pricesdefining source attributeproductin extensioneurope1.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofPriceRow.catalogVersionattribute defined at extensioneurope1.static java.lang.StringCHANNELGenerated constant - Attribute key ofPriceRow.channelattribute defined at extensioneurope1.static java.lang.StringCURRENCYGenerated constant - Attribute key ofPriceRow.currencyattribute defined at extensioneurope1.static java.lang.StringGIVEAWAYPRICEGenerated constant - Attribute key ofPriceRow.giveAwayPriceattribute defined at extensioneurope1.static java.lang.StringMATCHVALUEGenerated constant - Attribute key ofPriceRow.matchValueattribute defined at extensioneurope1.static java.lang.StringMINQTDGenerated constant - Attribute key ofPriceRow.minqtdattribute defined at extensioneurope1.static java.lang.StringNETGenerated constant - Attribute key ofPriceRow.netattribute defined at extensioneurope1.static java.lang.StringPRICEGenerated constant - Attribute key ofPriceRow.priceattribute defined at extensioneurope1.static java.lang.StringSAPCONDITIONIDGenerated constant - Attribute key ofPriceRow.sapConditionIdattribute defined at extensionsapmodel.static java.lang.StringSEQUENCEIDGenerated constant - Attribute key ofPriceRow.sequenceIdattribute defined at extensionacceleratorservices.static java.lang.StringUNITGenerated constant - Attribute key ofPriceRow.unitattribute defined at extensioneurope1.static java.lang.StringUNITFACTORGenerated constant - Attribute key ofPriceRow.unitFactorattribute defined at extensioneurope1.-
Fields inherited from class de.hybris.platform.europe1.model.PDTRowModel
DATERANGE, ENDTIME, PG, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, STARTTIME, UG, USER, USERMATCHQUALIFIER
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description PriceRowModel()Generated constructor - Default constructor for generic creation.PriceRowModel(CurrencyModel _currency, ItemModel _owner, ProductPriceGroup _pg, java.lang.Double _price, ProductModel _product, java.lang.String _productId, UnitModel _unit)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPriceRowModel(CurrencyModel _currency, java.lang.Double _price, UnitModel _unit)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPriceRowModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogVersionModelgetCatalogVersion()Generated method - Getter of thePriceRow.catalogVersionattribute defined at extensioneurope1.PriceRowChannelgetChannel()Generated method - Getter of thePriceRow.channelattribute defined at extensioneurope1.CurrencyModelgetCurrency()Generated method - Getter of thePriceRow.currencyattribute defined at extensioneurope1.java.lang.BooleangetGiveAwayPrice()Generated method - Getter of thePriceRow.giveAwayPriceattribute defined at extensioneurope1.java.lang.IntegergetMatchValue()Generated method - Getter of thePriceRow.matchValueattribute defined at extensioneurope1.java.lang.LonggetMinqtd()Generated method - Getter of thePriceRow.minqtdattribute defined at extensioneurope1.java.lang.BooleangetNet()Generated method - Getter of thePriceRow.netattribute defined at extensioneurope1.java.lang.DoublegetPrice()Generated method - Getter of thePriceRow.priceattribute defined at extensioneurope1.java.lang.StringgetSapConditionId()Generated method - Getter of thePriceRow.sapConditionIdattribute defined at extensionsapmodel.java.lang.LonggetSequenceId()Generated method - Getter of thePriceRow.sequenceIdattribute defined at extensionacceleratorservices.UnitModelgetUnit()Generated method - Getter of thePriceRow.unitattribute defined at extensioneurope1.java.lang.IntegergetUnitFactor()Generated method - Getter of thePriceRow.unitFactorattribute defined at extensioneurope1.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Setter ofPriceRow.catalogVersionattribute defined at extensioneurope1.voidsetChannel(PriceRowChannel value)Generated method - Setter ofPriceRow.channelattribute defined at extensioneurope1.voidsetCurrency(CurrencyModel value)Generated method - Setter ofPriceRow.currencyattribute defined at extensioneurope1.voidsetGiveAwayPrice(java.lang.Boolean value)Generated method - Setter ofPriceRow.giveAwayPriceattribute defined at extensioneurope1.voidsetMatchValue(java.lang.Integer value)Generated method - Setter ofPriceRow.matchValueattribute defined at extensioneurope1.voidsetMinqtd(java.lang.Long value)Generated method - Setter ofPriceRow.minqtdattribute defined at extensioneurope1.voidsetNet(java.lang.Boolean value)Generated method - Setter ofPriceRow.netattribute defined at extensioneurope1.voidsetPg(HybrisEnumValue value)Generated method - Initial setter ofPDTRow.pgattribute defined at extensioneurope1and redeclared at extensioneurope1.voidsetPrice(java.lang.Double value)Generated method - Setter ofPriceRow.priceattribute defined at extensioneurope1.voidsetProduct(ProductModel value)Generated method - Initial setter ofPDTRow.productattribute defined at extensioneurope1and redeclared at extensioneurope1.voidsetSapConditionId(java.lang.String value)Generated method - Setter ofPriceRow.sapConditionIdattribute defined at extensionsapmodel.voidsetSequenceId(java.lang.Long value)Generated method - Setter ofPriceRow.sequenceIdattribute defined at extensionacceleratorservices.voidsetUnit(UnitModel value)Generated method - Setter ofPriceRow.unitattribute defined at extensioneurope1.voidsetUnitFactor(java.lang.Integer value)Generated method - Setter ofPriceRow.unitFactorattribute defined at extensioneurope1.-
Methods inherited from class de.hybris.platform.europe1.model.PDTRowModel
getDateRange, getEndTime, getPg, getProduct, getProductId, getProductMatchQualifier, getStartTime, getUg, getUser, getUserMatchQualifier, setDateRange, setEndTime, setProductId, setProductMatchQualifier, setStartTime, setUg, setUser, setUserMatchQualifier
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_PRODUCT2OWNEUROPE1PRICES
public static final java.lang.String _PRODUCT2OWNEUROPE1PRICES
Generated relation code constant for relationProduct2OwnEurope1Pricesdefining source attributeproductin extensioneurope1.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofPriceRow.catalogVersionattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
MATCHVALUE
public static final java.lang.String MATCHVALUE
Generated constant - Attribute key ofPriceRow.matchValueattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofPriceRow.currencyattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
MINQTD
public static final java.lang.String MINQTD
Generated constant - Attribute key ofPriceRow.minqtdattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
NET
public static final java.lang.String NET
Generated constant - Attribute key ofPriceRow.netattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
PRICE
public static final java.lang.String PRICE
Generated constant - Attribute key ofPriceRow.priceattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
Generated constant - Attribute key ofPriceRow.unitattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
UNITFACTOR
public static final java.lang.String UNITFACTOR
Generated constant - Attribute key ofPriceRow.unitFactorattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
GIVEAWAYPRICE
public static final java.lang.String GIVEAWAYPRICE
Generated constant - Attribute key ofPriceRow.giveAwayPriceattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
CHANNEL
public static final java.lang.String CHANNEL
Generated constant - Attribute key ofPriceRow.channelattribute defined at extensioneurope1.- See Also:
- Constant Field Values
-
SAPCONDITIONID
public static final java.lang.String SAPCONDITIONID
Generated constant - Attribute key ofPriceRow.sapConditionIdattribute defined at extensionsapmodel.- See Also:
- Constant Field Values
-
SEQUENCEID
public static final java.lang.String SEQUENCEID
Generated constant - Attribute key ofPriceRow.sequenceIdattribute defined at extensionacceleratorservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PriceRowModel
public PriceRowModel()
Generated constructor - Default constructor for generic creation.
-
PriceRowModel
public PriceRowModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PriceRowModel
@Deprecated(since="4.1.1", forRemoval=true) public PriceRowModel(CurrencyModel _currency, java.lang.Double _price, UnitModel _unit)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:
_currency- initial attribute declared by typePriceRowat extensioneurope1_price- initial attribute declared by typePriceRowat extensioneurope1_unit- initial attribute declared by typePriceRowat extensioneurope1
-
PriceRowModel
@Deprecated(since="4.1.1", forRemoval=true) public PriceRowModel(CurrencyModel _currency, ItemModel _owner, ProductPriceGroup _pg, java.lang.Double _price, ProductModel _product, java.lang.String _productId, UnitModel _unit)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:
_currency- initial attribute declared by typePriceRowat extensioneurope1_owner- initial attribute declared by typeItemat extensioncore_pg- initial attribute declared by typePriceRowat extensioneurope1_price- initial attribute declared by typePriceRowat extensioneurope1_product- initial attribute declared by typePriceRowat extensioneurope1_productId- initial attribute declared by typePDTRowat extensioneurope1_unit- initial attribute declared by typePriceRowat extensioneurope1
-
-
Method Detail
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of thePriceRow.catalogVersionattribute defined at extensioneurope1.- Returns:
- the catalogVersion
-
getChannel
@Accessor(qualifier="channel", type=GETTER) public PriceRowChannel getChannel()
Generated method - Getter of thePriceRow.channelattribute defined at extensioneurope1.- Returns:
- the channel
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of thePriceRow.currencyattribute defined at extensioneurope1.- Returns:
- the currency
-
getGiveAwayPrice
@Accessor(qualifier="giveAwayPrice", type=GETTER) public java.lang.Boolean getGiveAwayPrice()
Generated method - Getter of thePriceRow.giveAwayPriceattribute defined at extensioneurope1.- Returns:
- the giveAwayPrice
-
getMatchValue
@Accessor(qualifier="matchValue", type=GETTER) public java.lang.Integer getMatchValue()
Generated method - Getter of thePriceRow.matchValueattribute defined at extensioneurope1.- Returns:
- the matchValue
-
getMinqtd
@Accessor(qualifier="minqtd", type=GETTER) public java.lang.Long getMinqtd()
Generated method - Getter of thePriceRow.minqtdattribute defined at extensioneurope1.- Returns:
- the minqtd
-
getNet
@Accessor(qualifier="net", type=GETTER) public java.lang.Boolean getNet()
Generated method - Getter of thePriceRow.netattribute defined at extensioneurope1.- Returns:
- the net
-
getPrice
@Accessor(qualifier="price", type=GETTER) public java.lang.Double getPrice()
Generated method - Getter of thePriceRow.priceattribute defined at extensioneurope1.- Returns:
- the price
-
getSapConditionId
@Accessor(qualifier="sapConditionId", type=GETTER) public java.lang.String getSapConditionId()
Generated method - Getter of thePriceRow.sapConditionIdattribute defined at extensionsapmodel.- Returns:
- the sapConditionId - Unique identifier of Price Condition.
-
getSequenceId
@Accessor(qualifier="sequenceId", type=GETTER) public java.lang.Long getSequenceId()
Generated method - Getter of thePriceRow.sequenceIdattribute defined at extensionacceleratorservices.- Returns:
- the sequenceId - Attribute is used in batch import process for avoiding multiple imports.
-
getUnit
@Accessor(qualifier="unit", type=GETTER) public UnitModel getUnit()
Generated method - Getter of thePriceRow.unitattribute defined at extensioneurope1.- Returns:
- the unit
-
getUnitFactor
@Accessor(qualifier="unitFactor", type=GETTER) public java.lang.Integer getUnitFactor()
Generated method - Getter of thePriceRow.unitFactorattribute defined at extensioneurope1.- Returns:
- the unitFactor
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofPriceRow.catalogVersionattribute defined at extensioneurope1.- Parameters:
value- the catalogVersion
-
setChannel
@Accessor(qualifier="channel", type=SETTER) public void setChannel(PriceRowChannel value)
Generated method - Setter ofPriceRow.channelattribute defined at extensioneurope1.- Parameters:
value- the channel
-
setCurrency
@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
Generated method - Setter ofPriceRow.currencyattribute defined at extensioneurope1.- Parameters:
value- the currency
-
setGiveAwayPrice
@Accessor(qualifier="giveAwayPrice", type=SETTER) public void setGiveAwayPrice(java.lang.Boolean value)
Generated method - Setter ofPriceRow.giveAwayPriceattribute defined at extensioneurope1.- Parameters:
value- the giveAwayPrice
-
setMatchValue
@Accessor(qualifier="matchValue", type=SETTER) public void setMatchValue(java.lang.Integer value)
Generated method - Setter ofPriceRow.matchValueattribute defined at extensioneurope1.- Parameters:
value- the matchValue
-
setMinqtd
@Accessor(qualifier="minqtd", type=SETTER) public void setMinqtd(java.lang.Long value)
Generated method - Setter ofPriceRow.minqtdattribute defined at extensioneurope1.- Parameters:
value- the minqtd
-
setNet
@Accessor(qualifier="net", type=SETTER) public void setNet(java.lang.Boolean value)
Generated method - Setter ofPriceRow.netattribute defined at extensioneurope1.- Parameters:
value- the net
-
setPg
@Accessor(qualifier="pg", type=SETTER) public void setPg(HybrisEnumValue value)
Generated method - Initial setter ofPDTRow.pgattribute defined at extensioneurope1and redeclared at extensioneurope1. Can only be used at creation of model - before first save. Will only accept values of typeProductPriceGroup.- Overrides:
setPgin classPDTRowModel- Parameters:
value- the pg
-
setPrice
@Accessor(qualifier="price", type=SETTER) public void setPrice(java.lang.Double value)
Generated method - Setter ofPriceRow.priceattribute defined at extensioneurope1.- Parameters:
value- the price
-
setProduct
@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
Generated method - Initial setter ofPDTRow.productattribute defined at extensioneurope1and redeclared at extensioneurope1. Can only be used at creation of model - before first save. Will only accept values of typeProductModel.- Overrides:
setProductin classPDTRowModel- Parameters:
value- the product
-
setSapConditionId
@Accessor(qualifier="sapConditionId", type=SETTER) public void setSapConditionId(java.lang.String value)
Generated method - Setter ofPriceRow.sapConditionIdattribute defined at extensionsapmodel.- Parameters:
value- the sapConditionId - Unique identifier of Price Condition.
-
setSequenceId
@Accessor(qualifier="sequenceId", type=SETTER) public void setSequenceId(java.lang.Long value)
Generated method - Setter ofPriceRow.sequenceIdattribute defined at extensionacceleratorservices.- Parameters:
value- the sequenceId - Attribute is used in batch import process for avoiding multiple imports.
-
setUnit
@Accessor(qualifier="unit", type=SETTER) public void setUnit(UnitModel value)
Generated method - Setter ofPriceRow.unitattribute defined at extensioneurope1.- Parameters:
value- the unit
-
-