Class VendorModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.ordersplitting.model.VendorModel
- All Implemented Interfaces:
Serializable
Generated model class for type Vendor first defined at extension basecommerce.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCategory2VendorRelationdefining source attributecategoriesin extensionmarketplaceservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofVendor.activeattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.averageRatingattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.catalogattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.categoriesattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.codeattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofVendor.communicationRatingattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.deliveryRatingattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.logoattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.nameattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofVendor.reviewCountattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.satisfactionRatingattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.userGroupsattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.vendorUsersattribute defined at extensionmarketplaceservices.static final StringGenerated constant - Attribute key ofVendor.warehousesattribute defined at extensionbasecommerce.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.Generated constructor - Default constructor for creation with existing contextVendorModel(String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersVendorModel(String _code, 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 TypeMethodDescriptionGenerated method - Getter of theVendor.averageRatingattribute defined at extensionmarketplaceservices.Generated method - Getter of theVendor.catalogattribute defined at extensionmarketplaceservices.Generated method - Getter of theVendor.categoriesattribute defined at extensionmarketplaceservices.getCode()Generated method - Getter of theVendor.codeattribute defined at extensionbasecommerce.Generated method - Getter of theVendor.communicationRatingattribute defined at extensionmarketplaceservices.Generated method - Getter of theVendor.deliveryRatingattribute defined at extensionmarketplaceservices.getLogo()Generated method - Getter of theVendor.logoattribute defined at extensionmarketplaceservices.getName()Generated method - Getter of theVendor.nameattribute defined at extensionbasecommerce.Generated method - Getter of theVendor.nameattribute defined at extensionbasecommerce.Generated method - Getter of theVendor.reviewCountattribute defined at extensionmarketplaceservices.Generated method - Getter of theVendor.satisfactionRatingattribute defined at extensionmarketplaceservices.Generated method - Getter of theVendor.userGroupsattribute defined at extensionmarketplaceservices.Generated method - Getter of theVendor.vendorUsersattribute defined at extensionmarketplaceservices.Generated method - Getter of theVendor.warehousesattribute defined at extensionbasecommerce.booleanisActive()Generated method - Getter of theVendor.activeattribute defined at extensionmarketplaceservices.voidsetActive(boolean value) Generated method - Setter ofVendor.activeattribute defined at extensionmarketplaceservices.voidsetAverageRating(Double value) Generated method - Setter ofVendor.averageRatingattribute defined at extensionmarketplaceservices.voidsetCatalog(CatalogModel value) Generated method - Setter ofVendor.catalogattribute defined at extensionmarketplaceservices.voidsetCategories(Collection<CategoryModel> value) Generated method - Setter ofVendor.categoriesattribute defined at extensionmarketplaceservices.voidGenerated method - Initial setter ofVendor.codeattribute defined at extensionbasecommerce.voidsetCommunicationRating(Double value) Generated method - Setter ofVendor.communicationRatingattribute defined at extensionmarketplaceservices.voidsetDeliveryRating(Double value) Generated method - Setter ofVendor.deliveryRatingattribute defined at extensionmarketplaceservices.voidsetLogo(MediaContainerModel value) Generated method - Setter ofVendor.logoattribute defined at extensionmarketplaceservices.voidGenerated method - Setter ofVendor.nameattribute defined at extensionbasecommerce.voidGenerated method - Setter ofVendor.nameattribute defined at extensionbasecommerce.voidsetReviewCount(Long value) Generated method - Setter ofVendor.reviewCountattribute defined at extensionmarketplaceservices.voidsetSatisfactionRating(Double value) Generated method - Setter ofVendor.satisfactionRatingattribute defined at extensionmarketplaceservices.voidsetUserGroups(Collection<UserGroupModel> value) Generated method - Setter ofVendor.userGroupsattribute defined at extensionmarketplaceservices.voidsetVendorUsers(Collection<VendorUserModel> value) Generated method - Setter ofVendor.vendorUsersattribute defined at extensionmarketplaceservices.voidsetWarehouses(Set<WarehouseModel> value) Generated method - Setter ofVendor.warehousesattribute defined at extensionbasecommerce.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:
-
_CATEGORY2VENDORRELATION
Generated relation code constant for relationCategory2VendorRelationdefining source attributecategoriesin extensionmarketplaceservices.- See Also:
-
NAME
Generated constant - Attribute key ofVendor.nameattribute defined at extensionbasecommerce.- See Also:
-
CODE
Generated constant - Attribute key ofVendor.codeattribute defined at extensionbasecommerce.- See Also:
-
WAREHOUSES
Generated constant - Attribute key ofVendor.warehousesattribute defined at extensionbasecommerce.- See Also:
-
ACTIVE
Generated constant - Attribute key ofVendor.activeattribute defined at extensionmarketplaceservices.- See Also:
-
CATALOG
Generated constant - Attribute key ofVendor.catalogattribute defined at extensionmarketplaceservices.- See Also:
-
LOGO
Generated constant - Attribute key ofVendor.logoattribute defined at extensionmarketplaceservices.- See Also:
-
SATISFACTIONRATING
Generated constant - Attribute key ofVendor.satisfactionRatingattribute defined at extensionmarketplaceservices.- See Also:
-
DELIVERYRATING
Generated constant - Attribute key ofVendor.deliveryRatingattribute defined at extensionmarketplaceservices.- See Also:
-
COMMUNICATIONRATING
Generated constant - Attribute key ofVendor.communicationRatingattribute defined at extensionmarketplaceservices.- See Also:
-
AVERAGERATING
Generated constant - Attribute key ofVendor.averageRatingattribute defined at extensionmarketplaceservices.- See Also:
-
REVIEWCOUNT
Generated constant - Attribute key ofVendor.reviewCountattribute defined at extensionmarketplaceservices.- See Also:
-
CATEGORIES
Generated constant - Attribute key ofVendor.categoriesattribute defined at extensionmarketplaceservices.- See Also:
-
VENDORUSERS
Generated constant - Attribute key ofVendor.vendorUsersattribute defined at extensionmarketplaceservices.- See Also:
-
USERGROUPS
Generated constant - Attribute key ofVendor.userGroupsattribute defined at extensionmarketplaceservices.- See Also:
-
-
Constructor Details
-
VendorModel
public VendorModel()Generated constructor - Default constructor for generic creation. -
VendorModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
VendorModel
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:
_code- initial attribute declared by typeVendorat extensionbasecommerce
-
VendorModel
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:
_code- initial attribute declared by typeVendorat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAverageRating
Generated method - Getter of theVendor.averageRatingattribute defined at extensionmarketplaceservices.- Returns:
- the averageRating - Average rating
-
getCatalog
Generated method - Getter of theVendor.catalogattribute defined at extensionmarketplaceservices.- Returns:
- the catalog
-
getCategories
Generated method - Getter of theVendor.categoriesattribute defined at extensionmarketplaceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the categories - Super Categories
-
getCode
Generated method - Getter of theVendor.codeattribute defined at extensionbasecommerce.- Returns:
- the code
-
getCommunicationRating
Generated method - Getter of theVendor.communicationRatingattribute defined at extensionmarketplaceservices.- Returns:
- the communicationRating - Communication effectiveness
-
getDeliveryRating
Generated method - Getter of theVendor.deliveryRatingattribute defined at extensionmarketplaceservices.- Returns:
- the deliveryRating - Delivery speed
-
getLogo
Generated method - Getter of theVendor.logoattribute defined at extensionmarketplaceservices.- Returns:
- the logo
-
getName
Generated method - Getter of theVendor.nameattribute defined at extensionbasecommerce.- Returns:
- the name
-
getName
Generated method - Getter of theVendor.nameattribute defined at extensionbasecommerce.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getReviewCount
Generated method - Getter of theVendor.reviewCountattribute defined at extensionmarketplaceservices.- Returns:
- the reviewCount - Number of Reviews
-
getSatisfactionRating
Generated method - Getter of theVendor.satisfactionRatingattribute defined at extensionmarketplaceservices.- Returns:
- the satisfactionRating - Satisfaction level
-
getUserGroups
Generated method - Getter of theVendor.userGroupsattribute defined at extensionmarketplaceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the userGroups - UserGroups
-
getVendorUsers
Generated method - Getter of theVendor.vendorUsersattribute defined at extensionmarketplaceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the vendorUsers - VendorUser
-
getWarehouses
Generated method - Getter of theVendor.warehousesattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the warehouses
-
isActive
Generated method - Getter of theVendor.activeattribute defined at extensionmarketplaceservices.- Returns:
- the active
-
setActive
Generated method - Setter ofVendor.activeattribute defined at extensionmarketplaceservices.- Parameters:
value- the active
-
setAverageRating
Generated method - Setter ofVendor.averageRatingattribute defined at extensionmarketplaceservices.- Parameters:
value- the averageRating - Average rating
-
setCatalog
Generated method - Setter ofVendor.catalogattribute defined at extensionmarketplaceservices.- Parameters:
value- the catalog
-
setCategories
@Accessor(qualifier="categories", type=SETTER) public void setCategories(Collection<CategoryModel> value) Generated method - Setter ofVendor.categoriesattribute defined at extensionmarketplaceservices.- Parameters:
value- the categories - Super Categories
-
setCode
Generated method - Initial setter ofVendor.codeattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the code
-
setCommunicationRating
@Accessor(qualifier="communicationRating", type=SETTER) public void setCommunicationRating(Double value) Generated method - Setter ofVendor.communicationRatingattribute defined at extensionmarketplaceservices.- Parameters:
value- the communicationRating - Communication effectiveness
-
setDeliveryRating
Generated method - Setter ofVendor.deliveryRatingattribute defined at extensionmarketplaceservices.- Parameters:
value- the deliveryRating - Delivery speed
-
setLogo
Generated method - Setter ofVendor.logoattribute defined at extensionmarketplaceservices.- Parameters:
value- the logo
-
setName
Generated method - Setter ofVendor.nameattribute defined at extensionbasecommerce.- Parameters:
value- the name
-
setName
Generated method - Setter ofVendor.nameattribute defined at extensionbasecommerce.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setReviewCount
Generated method - Setter ofVendor.reviewCountattribute defined at extensionmarketplaceservices.- Parameters:
value- the reviewCount - Number of Reviews
-
setSatisfactionRating
@Accessor(qualifier="satisfactionRating", type=SETTER) public void setSatisfactionRating(Double value) Generated method - Setter ofVendor.satisfactionRatingattribute defined at extensionmarketplaceservices.- Parameters:
value- the satisfactionRating - Satisfaction level
-
setUserGroups
@Accessor(qualifier="userGroups", type=SETTER) public void setUserGroups(Collection<UserGroupModel> value) Generated method - Setter ofVendor.userGroupsattribute defined at extensionmarketplaceservices.- Parameters:
value- the userGroups - UserGroups
-
setVendorUsers
@Accessor(qualifier="vendorUsers", type=SETTER) public void setVendorUsers(Collection<VendorUserModel> value) Generated method - Setter ofVendor.vendorUsersattribute defined at extensionmarketplaceservices.- Parameters:
value- the vendorUsers - VendorUser
-
setWarehouses
Generated method - Setter ofVendor.warehousesattribute defined at extensionbasecommerce.- Parameters:
value- the warehouses
-