DefinedProduct
extends SemanticObject
in package
implements
IDefinedProduct
AbstractYes
Table of Contents
Interfaces
Properties
Methods
- addAllergenCharacteristic() : void
- addCatalogItem() : void
- addCertification() : void
- addClaim() : void
- addNatureOrigin() : void
- addNutrientCharacteristic() : void
- addPartOrigin() : void
- addPhysicalCharacteristic() : void
- getAlcoholPercentage() : float
- getAllergenCharacteristics() : array<string|int, mixed>
- getCatalogItems() : array<string|int, mixed>
- getCertifications() : array<string|int, mixed>
- getClaims() : array<string|int, mixed>
- getDescription() : string
- getGeographicalOrigin() : ISKOSConcept
- getLifetime() : string
- getName() : string
- getNatureOrigin() : array<string|int, mixed>
- getNutrientCharacteristics() : array<string|int, mixed>
- getPartOrigin() : array<string|int, mixed>
- getPhysicalCharacteristics() : array<string|int, mixed>
- getProductType() : ISKOSConcept
- getQuantity() : IQuantity
- getUsageOrStorageConditions() : string
- removeAllergenCharacteristic() : void
- removeCertification() : void
- removeClaim() : void
- removeNatureOrigin() : void
- removeNutrientCharacteristic() : void
- removePartOrigin() : void
- removePhysicalCharacteristic() : void
- setAlcoholPercentage() : void
- setDescription() : void
- setGeographicalOrigin() : void
- setLifetime() : void
- setName() : void
- setProductType() : void
- setQuantity() : void
- setUsageOrStorageConditions() : void
- __construct() : mixed
Properties
$connector
protected
IConnector
$connector
Methods
addAllergenCharacteristic()
public
addAllergenCharacteristic(IAllergenCharacteristic $allergenCharacteristic) : void
Parameters
- $allergenCharacteristic : IAllergenCharacteristic
addCatalogItem()
public
addCatalogItem(ICatalogItem $catalogItem) : void
Parameters
- $catalogItem : ICatalogItem
addCertification()
public
addCertification(ISKOSConcept $certification) : void
Parameters
- $certification : ISKOSConcept
addClaim()
public
addClaim(ISKOSConcept $claim) : void
Parameters
- $claim : ISKOSConcept
addNatureOrigin()
public
addNatureOrigin(ISKOSConcept $natureOrigin) : void
Parameters
- $natureOrigin : ISKOSConcept
addNutrientCharacteristic()
public
addNutrientCharacteristic(INutrientCharacteristic $nutrientCharacteristic) : void
Parameters
- $nutrientCharacteristic : INutrientCharacteristic
addPartOrigin()
public
addPartOrigin(ISKOSConcept $partOrigin) : void
Parameters
- $partOrigin : ISKOSConcept
addPhysicalCharacteristic()
public
addPhysicalCharacteristic(IPhysicalCharacteristic $physicalCharacteristic) : void
Parameters
- $physicalCharacteristic : IPhysicalCharacteristic
getAlcoholPercentage()
public
getAlcoholPercentage() : float
Return values
floatgetAllergenCharacteristics()
public
getAllergenCharacteristics() : array<string|int, mixed>
Return values
array<string|int, mixed>getCatalogItems()
public
getCatalogItems() : array<string|int, mixed>
Return values
array<string|int, mixed>getCertifications()
public
getCertifications() : array<string|int, mixed>
Return values
array<string|int, mixed>getClaims()
public
getClaims() : array<string|int, mixed>
Return values
array<string|int, mixed>getDescription()
public
getDescription() : string
Return values
stringgetGeographicalOrigin()
public
getGeographicalOrigin() : ISKOSConcept
Return values
ISKOSConceptgetLifetime()
public
getLifetime() : string
Return values
stringgetName()
public
getName() : string
Return values
stringgetNatureOrigin()
public
getNatureOrigin() : array<string|int, mixed>
Return values
array<string|int, mixed>getNutrientCharacteristics()
public
getNutrientCharacteristics() : array<string|int, mixed>
Return values
array<string|int, mixed>getPartOrigin()
public
getPartOrigin() : array<string|int, mixed>
Return values
array<string|int, mixed>getPhysicalCharacteristics()
public
getPhysicalCharacteristics() : array<string|int, mixed>
Return values
array<string|int, mixed>getProductType()
public
getProductType() : ISKOSConcept
Return values
ISKOSConceptgetQuantity()
public
getQuantity() : IQuantity
Return values
IQuantitygetUsageOrStorageConditions()
public
getUsageOrStorageConditions() : string
Return values
stringremoveAllergenCharacteristic()
public
removeAllergenCharacteristic(IAllergenCharacteristic $allergenCharacteristic) : void
Parameters
- $allergenCharacteristic : IAllergenCharacteristic
removeCertification()
public
removeCertification(ISKOSConcept $certification) : void
Parameters
- $certification : ISKOSConcept
removeClaim()
public
removeClaim(ISKOSConcept $claim) : void
Parameters
- $claim : ISKOSConcept
removeNatureOrigin()
public
removeNatureOrigin(ISKOSConcept $natureOrigin) : void
Parameters
- $natureOrigin : ISKOSConcept
removeNutrientCharacteristic()
public
removeNutrientCharacteristic(INutrientCharacteristic $nutrientCharacteristic) : void
Parameters
- $nutrientCharacteristic : INutrientCharacteristic
removePartOrigin()
public
removePartOrigin(ISKOSConcept $partOrigin) : void
Parameters
- $partOrigin : ISKOSConcept
removePhysicalCharacteristic()
public
removePhysicalCharacteristic(IPhysicalCharacteristic $physicalCharacteristic) : void
Parameters
- $physicalCharacteristic : IPhysicalCharacteristic
setAlcoholPercentage()
public
setAlcoholPercentage(float $alcoholPercentage) : void
Parameters
- $alcoholPercentage : float
setDescription()
public
setDescription(string $description) : void
Parameters
- $description : string
setGeographicalOrigin()
public
setGeographicalOrigin(ISKOSConcept $geographicalOrigin) : void
Parameters
- $geographicalOrigin : ISKOSConcept
setLifetime()
public
setLifetime(string $lifetime) : void
Parameters
- $lifetime : string
setName()
public
setName(string $name) : void
Parameters
- $name : string
setProductType()
public
setProductType(ISKOSConcept $productType) : void
Parameters
- $productType : ISKOSConcept
setQuantity()
public
setQuantity(IQuantity $quantity) : void
Parameters
- $quantity : IQuantity
setUsageOrStorageConditions()
public
setUsageOrStorageConditions(string $usageOrStorageConditions) : void
Parameters
- $usageOrStorageConditions : string
__construct()
protected
__construct(IConnector $connector[, string $semanticId = null ][, Resource $resource = null ][, string $semanticType = null ][, Semanticable $other = null ][, string $name = null ][, string $description = null ][, ISKOSConcept $productType = null ][, IQuantity $quantity = null ][, float $alcoholPercentage = null ][, string $lifetime = null ][, array<string|int, mixed> $claims = null ][, string $usageOrStorageConditions = null ][, array<string|int, mixed> $allergenCharacteristics = null ][, array<string|int, mixed> $nutrientCharacteristics = null ][, array<string|int, mixed> $physicalCharacteristics = null ][, ISKOSConcept $geographicalOrigin = null ][, array<string|int, mixed> $catalogItems = null ][, array<string|int, mixed> $certifications = null ][, array<string|int, mixed> $natureOrigin = null ][, array<string|int, mixed> $partOrigin = null ][, bool $doNotStore = false ]) : mixed
Parameters
- $connector : IConnector
- $semanticId : string = null
- $resource : Resource = null
- $semanticType : string = null
- $other : Semanticable = null
- $name : string = null
- $description : string = null
- $productType : ISKOSConcept = null
- $quantity : IQuantity = null
- $alcoholPercentage : float = null
- $lifetime : string = null
- $claims : array<string|int, mixed> = null
- $usageOrStorageConditions : string = null
- $allergenCharacteristics : array<string|int, mixed> = null
- $nutrientCharacteristics : array<string|int, mixed> = null
- $physicalCharacteristics : array<string|int, mixed> = null
- $geographicalOrigin : ISKOSConcept = null
- $catalogItems : array<string|int, mixed> = null
- $certifications : array<string|int, mixed> = null
- $natureOrigin : array<string|int, mixed> = null
- $partOrigin : array<string|int, mixed> = null
- $doNotStore : bool = false