public class ProductGroup
extends java.lang.Object
Constructor and Description |
---|
ProductGroup(java.util.Set<ProductGroupAttribute> productGroupAttributes,
java.lang.String groupName,
java.util.Set<Product> derivedProducts,
java.util.Set<ProductGroup> prerequisiteProductGroups,
java.util.Set<ProductGroup> excludeProductGroup,
java.util.Set<FixedProductDescription> fixedProducts,
java.util.Set<Need> needsSatisfied,
FixedProductDescription standardProduct,
ConsumerAgentAdoptionDecisionProcess overwriteDecisionProcess,
UnivariateDistribution productLifetimeDistribution)
A ProductGroup of identifier groupName consists of derivedProducts and fixedProducts which ProductAttributes are based
on the ProductGroup's productGroupAttributes.
|
ProductGroup(java.util.Set<ProductGroupAttribute> productGroupAttributes,
java.lang.String groupName,
java.util.Set<ProductGroup> prerequisiteProductGroups,
java.util.Set<ProductGroup> excludeProductGroup,
java.util.Set<FixedProductDescription> fixedProducts,
java.util.Set<Need> needsSatisfied,
FixedProductDescription standardProduct,
ConsumerAgentAdoptionDecisionProcess overwriteDecisionProcess,
UnivariateDistribution productLifetimeDistribution)
A ProductGroup of identifier groupName consists of derivedProducts and fixedProducts which ProductAttributes are based
on the ProductGroup's productGroupAttributes.
|
Modifier and Type | Method and Description |
---|---|
void |
addDerivedProduct(Product productToAdd) |
void |
addExcludeProductGroup(ProductGroup epgToAdd) |
void |
addPrerequisiteProductGroup(ProductGroup ppgToAdd) |
java.util.Set<Product> |
getDerivedProducts() |
java.util.Set<ProductGroup> |
getExcludeProductGroup() |
java.util.Set<FixedProductDescription> |
getFixedProducts() |
java.lang.String |
getGroupName() |
java.util.Set<Need> |
getNeedsSatisfied() |
ConsumerAgentAdoptionDecisionProcess |
getOverwriteDecisionProcess() |
java.util.Set<ProductGroup> |
getPrerequisiteProductGroups() |
java.util.Set<ProductGroupAttribute> |
getProductGroupAttributes() |
UnivariateDistribution |
getProductLifetimeDistribution() |
FixedProductDescription |
getStandardProduct() |
void |
setExcludeProductGroup(java.util.Set<ProductGroup> excludeProductGroup) |
void |
setPrerequisiteProductGroups(java.util.Set<ProductGroup> prerequisiteProductGroups) |
java.lang.String |
toString() |
public ProductGroup(java.util.Set<ProductGroupAttribute> productGroupAttributes, java.lang.String groupName, java.util.Set<Product> derivedProducts, java.util.Set<ProductGroup> prerequisiteProductGroups, java.util.Set<ProductGroup> excludeProductGroup, java.util.Set<FixedProductDescription> fixedProducts, java.util.Set<Need> needsSatisfied, FixedProductDescription standardProduct, ConsumerAgentAdoptionDecisionProcess overwriteDecisionProcess, UnivariateDistribution productLifetimeDistribution) throws java.lang.IllegalArgumentException
productGroupAttributes
- The productGroupAttributes of the ProductGroup the deriving products' ProductAttributes are based ongroupName
- A qualifier for the name of the group.derivedProducts
- A set of products already derived from this ProductGroupprerequisiteProductGroups
- The ProductGroups that need to be adopted in order for a Product of this ProductGroup can be adoptedexcludeProductGroup
- The ProductGroups that can't be adopted when a Product of this group is adoptedfixedProducts
- The FixedProduct(Descriptions) that belong to this ProductGroupneedsSatisfied
- The needs the adoption of a Product of this group satisfiedstandardProduct
- The Product that should be used as standardProduct of this ProductGroup (if needed by DecisionProcesses)overwriteDecisionProcess
- The decision process that should be used in place of the Agents' decision process for the adoption of products of this groupproductLifetimeDistribution
- The lifetimeDistribution products of this group should exhibit (if not already specified)java.lang.IllegalArgumentException
- Will be thrown when a FixedProduct(Description) belong to this group already has another group noted in itpublic ProductGroup(java.util.Set<ProductGroupAttribute> productGroupAttributes, java.lang.String groupName, java.util.Set<ProductGroup> prerequisiteProductGroups, java.util.Set<ProductGroup> excludeProductGroup, java.util.Set<FixedProductDescription> fixedProducts, java.util.Set<Need> needsSatisfied, FixedProductDescription standardProduct, ConsumerAgentAdoptionDecisionProcess overwriteDecisionProcess, UnivariateDistribution productLifetimeDistribution) throws java.lang.IllegalArgumentException
productGroupAttributes
- The productGroupAttributes of the ProductGroup the deriving products' ProductAttributes are based ongroupName
- A qualifier for the name of the group.prerequisiteProductGroups
- The ProductGroups that need to be adopted in order for a Product of this ProductGroup can be adoptedexcludeProductGroup
- The ProductGroups that can't be adopted when a Product of this group is adoptedfixedProducts
- The FixedProduct(Descriptions) that belong to this ProductGroupneedsSatisfied
- The needs the adoption of a Product of this group satisfiedstandardProduct
- The Product that should be used as standardProduct of this ProductGroup (if needed by DecisionProcesses)overwriteDecisionProcess
- The decision process that should be used in place of the Agents' decision process for the adoption of products of this groupproductLifetimeDistribution
- The lifetimeDistribution products of this group should exhibit (if not already specified)java.lang.IllegalArgumentException
- Will be thrown when a FixedProduct(Description) belong to this group already has another group noted in itpublic java.util.Set<ProductGroupAttribute> getProductGroupAttributes()
public java.lang.String getGroupName()
public java.util.Set<Product> getDerivedProducts()
public void addDerivedProduct(Product productToAdd)
public java.util.Set<ProductGroup> getPrerequisiteProductGroups()
public java.util.Set<ProductGroup> getExcludeProductGroup()
public java.util.Set<FixedProductDescription> getFixedProducts()
public void setPrerequisiteProductGroups(java.util.Set<ProductGroup> prerequisiteProductGroups)
public void setExcludeProductGroup(java.util.Set<ProductGroup> excludeProductGroup)
public ConsumerAgentAdoptionDecisionProcess getOverwriteDecisionProcess()
public FixedProductDescription getStandardProduct()
public java.util.Set<Need> getNeedsSatisfied()
public void addPrerequisiteProductGroup(ProductGroup ppgToAdd)
public void addExcludeProductGroup(ProductGroup epgToAdd)
public java.lang.String toString()
toString
in class java.lang.Object
public UnivariateDistribution getProductLifetimeDistribution()