Class SpiProductTermModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.subscribedproductservices.model.SpiProductTermModel
- All Implemented Interfaces:
Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Generated model class for type SpiProductTerm first defined at extension subscribedproductservices.
- 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 StringDeprecated, for removal: This API element is subject to removal in a future version.Generated relation code constant for relationSpiProduct2SpiProductTermRelationdefining source attributeproductsin extensionsubscribedproductservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated model type code constant.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.amountattribute defined at extensionsubscribedproductservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.endDateattribute defined at extensionsubscribedproductservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.externalIdentifiersattribute defined at extensionsubscribedproductservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.idattribute defined at extensionsubscribedproductservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.productsattribute defined at extensionsubscribedproductservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.startDateattribute defined at extensionsubscribedproductservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.unitsattribute defined at extensionsubscribedproductservices.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
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for generic creation.SpiProductTermModel(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 parametersSpiProductTermModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.amountattribute defined at extensionsubscribedproductservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.getDescription(Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.endDateattribute defined at extensionsubscribedproductservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.externalIdentifiersattribute defined at extensionsubscribedproductservices.getId()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.idattribute defined at extensionsubscribedproductservices.getName()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.productsattribute defined at extensionsubscribedproductservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.startDateattribute defined at extensionsubscribedproductservices.getUnits()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.unitsattribute defined at extensionsubscribedproductservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.amountattribute defined at extensionsubscribedproductservices.voidsetDescription(String value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.voidsetDescription(String value, Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.voidsetEndDate(Date value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.endDateattribute defined at extensionsubscribedproductservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.externalIdentifiersattribute defined at extensionsubscribedproductservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.idattribute defined at extensionsubscribedproductservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.voidsetProducts(Set<SpiProductModel> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.productsattribute defined at extensionsubscribedproductservices.voidsetStartDate(Date value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.startDateattribute defined at extensionsubscribedproductservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.unitsattribute defined at extensionsubscribedproductservices.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
Deprecated, for removal: This API element is subject to removal in a future version.Generated model type code constant.- See Also:
-
_SPIPRODUCT2SPIPRODUCTTERMRELATION
Deprecated, for removal: This API element is subject to removal in a future version.Generated relation code constant for relationSpiProduct2SpiProductTermRelationdefining source attributeproductsin extensionsubscribedproductservices.- See Also:
-
ID
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.idattribute defined at extensionsubscribedproductservices.- See Also:
-
NAME
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.- See Also:
-
DESCRIPTION
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.- See Also:
-
AMOUNT
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.amountattribute defined at extensionsubscribedproductservices.- See Also:
-
UNITS
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.unitsattribute defined at extensionsubscribedproductservices.- See Also:
-
STARTDATE
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.startDateattribute defined at extensionsubscribedproductservices.- See Also:
-
ENDDATE
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.endDateattribute defined at extensionsubscribedproductservices.- See Also:
-
EXTERNALIDENTIFIERS
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.externalIdentifiersattribute defined at extensionsubscribedproductservices.- See Also:
-
PRODUCTS
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofSpiProductTerm.productsattribute defined at extensionsubscribedproductservices.- See Also:
-
-
Constructor Details
-
SpiProductTermModel
public SpiProductTermModel()Deprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for generic creation. -
SpiProductTermModel
public SpiProductTermModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SpiProductTermModel
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
-
getAmount
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.amountattribute defined at extensionsubscribedproductservices.- Returns:
- the amount
-
getDescription
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.- Returns:
- the description
-
getDescription
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getEndDate
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.endDateattribute defined at extensionsubscribedproductservices.- Returns:
- the endDate
-
getExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.externalIdentifiersattribute defined at extensionsubscribedproductservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalIdentifiers
-
getId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.idattribute defined at extensionsubscribedproductservices.- Returns:
- the id
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.- Returns:
- the name
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getProducts
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.productsattribute defined at extensionsubscribedproductservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the products - The Spi Products for which those Spi Product Terms are valid.
-
getStartDate
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.startDateattribute defined at extensionsubscribedproductservices.- Returns:
- the startDate
-
getUnits
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSpiProductTerm.unitsattribute defined at extensionsubscribedproductservices.- Returns:
- the units
-
setAmount
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.amountattribute defined at extensionsubscribedproductservices.- Parameters:
value- the amount
-
setDescription
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.descriptionattribute defined at extensionsubscribedproductservices.- Parameters:
value- the descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setEndDate
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.endDateattribute defined at extensionsubscribedproductservices.- Parameters:
value- the endDate
-
setExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.externalIdentifiersattribute defined at extensionsubscribedproductservices.- Parameters:
value- the externalIdentifiers
-
setId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.idattribute defined at extensionsubscribedproductservices.- Parameters:
value- the id
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.- Parameters:
value- the name
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.nameattribute defined at extensionsubscribedproductservices.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setProducts
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.productsattribute defined at extensionsubscribedproductservices.- Parameters:
value- the products - The Spi Products for which those Spi Product Terms are valid.
-
setStartDate
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.startDateattribute defined at extensionsubscribedproductservices.- Parameters:
value- the startDate
-
setUnits
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSpiProductTerm.unitsattribute defined at extensionsubscribedproductservices.- Parameters:
value- the units
-