Class UcProductModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.usageconsumptionservices.model.UcProductModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UcProductComponentModel
Deprecated, for removal: This API element is subject to removal in a future version.
Generated model class for type UcProduct first defined at extension usageconsumptionservices.
- 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 model type code constant.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofUcProduct.externalIdentifiersattribute defined at extensionusageconsumptionservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofUcProduct.idattribute defined at extensionusageconsumptionservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofUcProduct.nameattribute defined at extensionusageconsumptionservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofUcProduct.usedByattribute defined at extensionusageconsumptionservices.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.UcProductModel(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 parametersUcProductModel(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 theUcProduct.externalIdentifiersattribute defined at extensionusageconsumptionservices.getId()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theUcProduct.idattribute defined at extensionusageconsumptionservices.getName()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theUcProduct.nameattribute defined at extensionusageconsumptionservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theUcProduct.nameattribute defined at extensionusageconsumptionservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theUcProduct.usedByattribute defined at extensionusageconsumptionservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofUcProduct.externalIdentifiersattribute defined at extensionusageconsumptionservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofUcProduct.idattribute defined at extensionusageconsumptionservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofUcProduct.nameattribute defined at extensionusageconsumptionservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofUcProduct.nameattribute defined at extensionusageconsumptionservices.voidsetUsedBy(Set<UcPartyRoleModel> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofUcProduct.usedByattribute defined at extensionusageconsumptionservices.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:
-
ID
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofUcProduct.idattribute defined at extensionusageconsumptionservices.- See Also:
-
NAME
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofUcProduct.nameattribute defined at extensionusageconsumptionservices.- See Also:
-
EXTERNALIDENTIFIERS
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofUcProduct.externalIdentifiersattribute defined at extensionusageconsumptionservices.- See Also:
-
USEDBY
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofUcProduct.usedByattribute defined at extensionusageconsumptionservices.- See Also:
-
-
Constructor Details
-
UcProductModel
public UcProductModel()Deprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for generic creation. -
UcProductModel
public UcProductModel(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
-
UcProductModel
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
-
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 theUcProduct.externalIdentifiersattribute defined at extensionusageconsumptionservices. 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 theUcProduct.idattribute defined at extensionusageconsumptionservices.- Returns:
- the id
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theUcProduct.nameattribute defined at extensionusageconsumptionservices.- Returns:
- the name
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theUcProduct.nameattribute defined at extensionusageconsumptionservices.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getUsedBy
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theUcProduct.usedByattribute defined at extensionusageconsumptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the usedBy - Uc party roles representing the party roles of this product
-
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 ofUcProduct.externalIdentifiersattribute defined at extensionusageconsumptionservices.- Parameters:
value- the externalIdentifiers
-
setId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofUcProduct.idattribute defined at extensionusageconsumptionservices.- Parameters:
value- the id
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofUcProduct.nameattribute defined at extensionusageconsumptionservices.- Parameters:
value- the name
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofUcProduct.nameattribute defined at extensionusageconsumptionservices.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setUsedBy
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofUcProduct.usedByattribute defined at extensionusageconsumptionservices.- Parameters:
value- the usedBy - Uc party roles representing the party roles of this product
-