Class ProductSpecification
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ProductSpecification
A ProductSpecification is a detailed description of a tangible or intangible object made available externally in the form of a ProductOffering to customers or other parties playing a party role.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBundledProductSpecificationItem(BundledProductSpecification bundledProductSpecificationItem) addExternalIdentifierItem(ExternalIdentifier externalIdentifierItem) addProductSpecCharacteristicItem(ProductSpecCharacteristic productSpecCharacteristicItem) addProductSpecTypeItem(ProductSpecType productSpecTypeItem) addServiceSpecificationItem(ServiceSpecificationRef serviceSpecificationItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) bundledProductSpecification(List<BundledProductSpecification> bundledProductSpecification) description(String description) booleanexternalIdentifier(List<ExternalIdentifier> externalIdentifier) When sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity namegetBrand()The manufacturer or trademark of the specification@Valid List<BundledProductSpecification>A type of ProductSpecification that belongs to a grouping of ProductSpecifications made available to the market.A narrative that explains in detail what the product specification is@Valid List<ExternalIdentifier>Get externalIdentifiergetHref()Reference of the product specificationgetId()Unique identifier of the product specification@Valid DateDate and time of the last updateUsed to indicate the current lifecycle statusgetName()Name of the product specificationAn identification number assigned to uniquely identity the specification@Valid List<ProductSpecCharacteristic>A characteristic quality or distinctive feature of a ProductSpecification.@Valid List<ProductSpecType>Represents the product specification type@Valid List<ServiceSpecificationRef>ServiceSpecification(s) required to realize a ProductSpecification.@Valid UsageSpecificationRefGet usageSpecification@Valid TimePeriodGet validForVersion of the product specificationinthashCode()isBundle determines whether a productSpecification represents a single productSpecification (false), or a bundle of productSpecification (true).lastUpdate(Date lastUpdate) lifecycleStatus(String lifecycleStatus) productNumber(String productNumber) productSpecCharacteristic(List<ProductSpecCharacteristic> productSpecCharacteristic) productSpecType(List<ProductSpecType> productSpecType) serviceSpecification(List<ServiceSpecificationRef> serviceSpecification) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidvoidsetBundledProductSpecification(List<BundledProductSpecification> bundledProductSpecification) voidsetDescription(String description) voidsetExternalIdentifier(List<ExternalIdentifier> externalIdentifier) voidvoidvoidsetIsBundle(Boolean isBundle) voidsetLastUpdate(Date lastUpdate) voidsetLifecycleStatus(String lifecycleStatus) voidvoidsetProductNumber(String productNumber) voidsetProductSpecCharacteristic(List<ProductSpecCharacteristic> productSpecCharacteristic) voidsetProductSpecType(List<ProductSpecType> productSpecType) voidsetServiceSpecification(List<ServiceSpecificationRef> serviceSpecification) voidsetUsageSpecification(UsageSpecificationRef usageSpecification) voidsetValidFor(TimePeriod validFor) voidsetVersion(String version) toString()usageSpecification(UsageSpecificationRef usageSpecification) validFor(TimePeriod validFor)
-
Constructor Details
-
ProductSpecification
public ProductSpecification()
-
-
Method Details
-
id
-
getId
Unique identifier of the product specification- Returns:
- id
-
setId
-
href
-
getHref
Reference of the product specification- Returns:
- href
-
setHref
-
version
-
getVersion
Version of the product specification- Returns:
- version
-
setVersion
-
name
-
getName
Name of the product specification- Returns:
- name
-
setName
-
brand
-
getBrand
The manufacturer or trademark of the specification- Returns:
- brand
-
setBrand
-
description
-
getDescription
A narrative that explains in detail what the product specification is- Returns:
- description
-
setDescription
-
isBundle
-
isIsBundle
isBundle determines whether a productSpecification represents a single productSpecification (false), or a bundle of productSpecification (true).- Returns:
- isBundle
-
setIsBundle
-
lastUpdate
-
getLastUpdate
Date and time of the last update- Returns:
- lastUpdate
-
setLastUpdate
-
lifecycleStatus
-
getLifecycleStatus
Used to indicate the current lifecycle status- Returns:
- lifecycleStatus
-
setLifecycleStatus
-
productNumber
-
getProductNumber
An identification number assigned to uniquely identity the specification- Returns:
- productNumber
-
setProductNumber
-
bundledProductSpecification
public ProductSpecification bundledProductSpecification(List<BundledProductSpecification> bundledProductSpecification) -
addBundledProductSpecificationItem
public ProductSpecification addBundledProductSpecificationItem(BundledProductSpecification bundledProductSpecificationItem) -
getBundledProductSpecification
A type of ProductSpecification that belongs to a grouping of ProductSpecifications made available to the market. It inherits of all attributes of ProductSpecification.- Returns:
- bundledProductSpecification
-
setBundledProductSpecification
public void setBundledProductSpecification(List<BundledProductSpecification> bundledProductSpecification) -
productSpecCharacteristic
public ProductSpecification productSpecCharacteristic(List<ProductSpecCharacteristic> productSpecCharacteristic) -
addProductSpecCharacteristicItem
public ProductSpecification addProductSpecCharacteristicItem(ProductSpecCharacteristic productSpecCharacteristicItem) -
getProductSpecCharacteristic
A characteristic quality or distinctive feature of a ProductSpecification. The characteristic can be take on a discrete value, such as color, can take on a range of values, (for example, sensitivity of 100-240 mV), or can be derived from a formula (for example, usage time (hrs) = 30 - talk time *3). Certain characteristics, such as color, may be configured during the ordering or some other process.- Returns:
- productSpecCharacteristic
-
setProductSpecCharacteristic
-
serviceSpecification
public ProductSpecification serviceSpecification(List<ServiceSpecificationRef> serviceSpecification) -
addServiceSpecificationItem
public ProductSpecification addServiceSpecificationItem(ServiceSpecificationRef serviceSpecificationItem) -
getServiceSpecification
ServiceSpecification(s) required to realize a ProductSpecification.- Returns:
- serviceSpecification
-
setServiceSpecification
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
usageSpecification
-
getUsageSpecification
Get usageSpecification- Returns:
- usageSpecification
-
setUsageSpecification
-
productSpecType
-
addProductSpecTypeItem
-
getProductSpecType
Represents the product specification type- Returns:
- productSpecType
-
setProductSpecType
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
externalIdentifier
-
addExternalIdentifierItem
-
getExternalIdentifier
Get externalIdentifier- Returns:
- externalIdentifier
-
setExternalIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-