Class PmProductModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.partyservices.model.PmProductModel
- All Implemented Interfaces:
Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Generated model class for type PmProduct first defined at extension partyservices.
- 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 relationPmProductInvolvementRole2PmProductRelationdefining source attributeinvolvementRolesin extensionpartyservices.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 ofPmProduct.externalIdentifiersattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmProduct.idattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmProduct.involvementRolesattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmProduct.nameattribute defined at extensionpartyservices.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.PmProductModel(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 contextPmProductModel(String _id) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPmProductModel(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 TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmProduct.externalIdentifiersattribute defined at extensionpartyservices.getId()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmProduct.idattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmProduct.involvementRolesattribute defined at extensionpartyservices.getName()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmProduct.nameattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmProduct.nameattribute defined at extensionpartyservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmProduct.externalIdentifiersattribute defined at extensionpartyservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmProduct.idattribute defined at extensionpartyservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmProduct.involvementRolesattribute defined at extensionpartyservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmProduct.nameattribute defined at extensionpartyservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmProduct.nameattribute defined at extensionpartyservices.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:
-
_PMPRODUCTINVOLVEMENTROLE2PMPRODUCTRELATION
Deprecated, for removal: This API element is subject to removal in a future version.Generated relation code constant for relationPmProductInvolvementRole2PmProductRelationdefining source attributeinvolvementRolesin extensionpartyservices.- See Also:
-
ID
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmProduct.idattribute defined at extensionpartyservices.- See Also:
-
NAME
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmProduct.nameattribute defined at extensionpartyservices.- See Also:
-
EXTERNALIDENTIFIERS
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmProduct.externalIdentifiersattribute defined at extensionpartyservices.- See Also:
-
INVOLVEMENTROLES
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmProduct.involvementRolesattribute defined at extensionpartyservices.- See Also:
-
-
Constructor Details
-
PmProductModel
public PmProductModel()Deprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for generic creation. -
PmProductModel
public PmProductModel(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
-
PmProductModel
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 typePmProductat extensionpartyservices
-
PmProductModel
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 typePmProductat extensionpartyservices_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 thePmProduct.externalIdentifiersattribute defined at extensionpartyservices. 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 thePmProduct.idattribute defined at extensionpartyservices.- Returns:
- the id - The unique identifier of the product
-
getInvolvementRoles
@Accessor(qualifier="involvementRoles", type=GETTER) public Set<PmProductInvolvementRoleModel> getInvolvementRoles()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmProduct.involvementRolesattribute defined at extensionpartyservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the involvementRoles - The product involvement roles
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmProduct.nameattribute defined at extensionpartyservices.- Returns:
- the name - The name of the product
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmProduct.nameattribute defined at extensionpartyservices.- Parameters:
loc- the value localization key- Returns:
- the name - The name of the product
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
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 ofPmProduct.externalIdentifiersattribute defined at extensionpartyservices.- Parameters:
value- the externalIdentifiers
-
setId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmProduct.idattribute defined at extensionpartyservices.- Parameters:
value- the id - The unique identifier of the product
-
setInvolvementRoles
@Accessor(qualifier="involvementRoles", type=SETTER) public void setInvolvementRoles(Set<PmProductInvolvementRoleModel> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmProduct.involvementRolesattribute defined at extensionpartyservices.- Parameters:
value- the involvementRoles - The product involvement roles
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmProduct.nameattribute defined at extensionpartyservices.- Parameters:
value- the name - The name of the product
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmProduct.nameattribute defined at extensionpartyservices.- Parameters:
value- the name - The name of the productloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-