Uses of Interface
org.faktorips.runtime.IProductComponent
-
Packages that use IProductComponent Package Description org.faktorips.runtime org.faktorips.runtime.internal org.faktorips.runtime.model Contains classes that allow access to design time model information about Faktor-IPS objects.org.faktorips.runtime.model.annotation Annotations in Faktor-IPS generated classes that contain information about the design time model.org.faktorips.runtime.model.type Classes that allow access to design time model information on policy and product component types.org.faktorips.runtime.util -
-
Uses of IProductComponent in org.faktorips.runtime
Classes in org.faktorips.runtime with type parameters of type IProductComponent Modifier and Type Interface Description interfaceIProductComponentLink<T extends IProductComponent>This class represents a link between two product components.Methods in org.faktorips.runtime with type parameters of type IProductComponent Modifier and Type Method Description <T extends IProductComponent>
java.util.List<T>IRuntimeRepository. getAllProductComponents(java.lang.Class<T> productComponentType)Returns all product components that are instances of the indicated class.Methods in org.faktorips.runtime that return IProductComponent Modifier and Type Method Description IProductComponentIRuntimeRepository. getExistingProductComponent(java.lang.String id)Returns the product component identified by the given id.IProductComponentIConfigurableModelObject. getProductComponent()Returns the product component this policy component is based on.IProductComponentIProductComponentGeneration. getProductComponent()Returns the product component this generation belongs to.IProductComponentIRuntimeRepository. getProductComponent(java.lang.String id)Returns the product component identified by the given id.IProductComponentIRuntimeRepository. getProductComponent(java.lang.String kindId, java.lang.String versionId)Returns the product component identified by the given KindId and versionId.protected IProductComponentInMemoryRuntimeRepository. getProductComponentInternal(java.lang.String id)protected IProductComponentInMemoryRuntimeRepository. getProductComponentInternal(java.lang.String kindId, java.lang.String versionId)IProductComponentIProductComponent. getVariedBase()Allows distinguishing variants not only by their product component type but also their varied base.Methods in org.faktorips.runtime that return types with arguments of type IProductComponent Modifier and Type Method Description IComputable<java.lang.String,IProductComponent>ICacheFactory. createProductCmptCache(IComputable<java.lang.String,IProductComponent> computable)java.util.List<IProductComponent>IRuntimeRepository. getAllProductComponents()Returns all product components available in this repository.java.util.List<IProductComponent>IRuntimeRepository. getAllProductComponents(java.lang.String kindId)Returns all product components that belong to the indicated product component kind.IProductComponentLink<? extends IProductComponent>IProductComponentLinkSource. getLink(java.lang.String linkName, IProductComponent target)Returns theIProductComponentLinkfor the association with the given role name to the given product component ornullif no such association exists.java.util.List<IProductComponentLink<? extends IProductComponent>>IProductComponentLinkSource. getLinks()Returns aListof all theIProductComponentLinks from this product component generation to other product components.Methods in org.faktorips.runtime with parameters of type IProductComponent Modifier and Type Method Description IProductComponentGenerationIRuntimeRepository. getLatestProductComponentGeneration(IProductComponent productCmpt)Returns the latest product component generation of the provided product component.protected IProductComponentGenerationInMemoryRuntimeRepository. getLatestProductComponentGenerationInternal(IProductComponent productCmpt)IProductComponentLink<? extends IProductComponent>IProductComponentLinkSource. getLink(java.lang.String linkName, IProductComponent target)Returns theIProductComponentLinkfor the association with the given role name to the given product component ornullif no such association exists.ProductCmptTypeIRuntimeRepository. getModelType(IProductComponent productComponent)Deprecated.intIRuntimeRepository. getNumberOfProductComponentGenerations(IProductComponent productCmpt)Returns the number of product component generations of the provided product component.protected intInMemoryRuntimeRepository. getNumberOfProductComponentGenerationsInternal(IProductComponent productCmpt)voidInMemoryRuntimeRepository. getProductComponentGenerations(IProductComponent productCmpt, java.util.List<IProductComponentGeneration> result)java.util.List<IProductComponentGeneration>IRuntimeRepository. getProductComponentGenerations(IProductComponent productCmpt)Returns all product component generations for the given product component.voidInMemoryRuntimeRepository. putProductComponent(IProductComponent productCmpt)Puts the product component into the repository.voidIConfigurableModelObject. setProductComponent(IProductComponent productComponent)Sets the current product component.Method parameters in org.faktorips.runtime with type arguments of type IProductComponent Modifier and Type Method Description IComputable<java.lang.String,IProductComponent>ICacheFactory. createProductCmptCache(IComputable<java.lang.String,IProductComponent> computable)voidInMemoryRuntimeRepository. getAllProductComponents(java.lang.String kindId, java.util.List<IProductComponent> result)voidInMemoryRuntimeRepository. getAllProductComponents(java.util.List<IProductComponent> result)Constructors in org.faktorips.runtime with parameters of type IProductComponent Constructor Description FormulaExecutionException(IProductComponent productComponent, java.lang.String formula, java.lang.Object... parameters) -
Uses of IProductComponent in org.faktorips.runtime.internal
Classes in org.faktorips.runtime.internal with type parameters of type IProductComponent Modifier and Type Class Description classProductComponentLink<T extends IProductComponent>Class that represents a link/relation between product components.Classes in org.faktorips.runtime.internal that implement IProductComponent Modifier and Type Class Description classProductComponentBase class for all product components.Methods in org.faktorips.runtime.internal with type parameters of type IProductComponent Modifier and Type Method Description <T extends IProductComponent>
java.util.List<T>AbstractRuntimeRepository. getAllProductComponents(java.lang.Class<T> productCmptClass)protected <T extends IProductComponent>
voidAbstractClassLoadingRuntimeRepository. getAllProductComponentsInternal(java.lang.Class<T> productCmptClass, java.util.List<T> result)Override the default implementation for better performance.protected <T extends IProductComponent>
voidAbstractRuntimeRepository. getAllProductComponentsInternal(java.lang.Class<T> productCmptClass, java.util.List<T> result)Same asAbstractRuntimeRepository.getAllProductComponents(Class)but only searches in own repository not in referenced ones and adding result to parameter resultMethods in org.faktorips.runtime.internal that return IProductComponent Modifier and Type Method Description protected IProductComponentAbstractClassLoadingRuntimeRepository. createProductCmpt(ProductCmptTocEntry tocEntry)protected abstract IProductComponentAbstractTocBasedRuntimeRepository. createProductCmpt(ProductCmptTocEntry tocEntry)IProductComponentAbstractRuntimeRepository. getExistingProductComponent(java.lang.String id)protected abstract IProductComponentAbstractCachingRuntimeRepository. getNotCachedProductComponent(java.lang.String id)protected IProductComponentAbstractTocBasedRuntimeRepository. getNotCachedProductComponent(java.lang.String id)IProductComponentAbstractRuntimeRepository. getProductComponent(java.lang.String id)IProductComponentAbstractRuntimeRepository. getProductComponent(java.lang.String kindId, java.lang.String versionId)IProductComponentProductComponentGeneration. getProductComponent()IProductComponentProductConfiguration. getProductComponent()Returns the product component that configures a policy component.protected IProductComponentAbstractCachingRuntimeRepository. getProductComponentInternal(java.lang.String id)protected abstract IProductComponentAbstractRuntimeRepository. getProductComponentInternal(java.lang.String id)Same as getProductComponent(String id) but searches only in this repository and not the ones this repository depends on.protected abstract IProductComponentAbstractRuntimeRepository. getProductComponentInternal(java.lang.String kindId, java.lang.String versionId)Same as getProductComponent(String kindId, String versionId) but searches only in this repository and not the ones this repository depends on.protected IProductComponentAbstractTocBasedRuntimeRepository. getProductComponentInternal(java.lang.String kindId, java.lang.String versionId)IProductComponentProductComponent. getVariedBase()Methods in org.faktorips.runtime.internal that return types with arguments of type IProductComponent Modifier and Type Method Description IComputable<java.lang.String,IProductComponent>AbstractCacheFactory. createProductCmptCache(IComputable<java.lang.String,IProductComponent> computable)java.util.List<IProductComponent>AbstractRuntimeRepository. getAllProductComponents()java.util.List<IProductComponent>AbstractRuntimeRepository. getAllProductComponents(java.lang.String kindId)IProductComponentLink<? extends IProductComponent>ProductComponent. getLink(java.lang.String linkName, IProductComponent target)IProductComponentLink<? extends IProductComponent>ProductComponentGeneration. getLink(java.lang.String linkName, IProductComponent target)java.util.List<IProductComponentLink<? extends IProductComponent>>ProductComponent. getLinks()java.util.List<IProductComponentLink<? extends IProductComponent>>ProductComponentGeneration. getLinks()Methods in org.faktorips.runtime.internal with parameters of type IProductComponent Modifier and Type Method Description IProductComponentGenerationAbstractRuntimeRepository. getLatestProductComponentGeneration(IProductComponent productCmpt)protected abstract IProductComponentGenerationAbstractRuntimeRepository. getLatestProductComponentGenerationInternal(IProductComponent productCmpt)protected IProductComponentGenerationAbstractTocBasedRuntimeRepository. getLatestProductComponentGenerationInternal(IProductComponent productCmpt)IProductComponentLink<? extends IProductComponent>ProductComponent. getLink(java.lang.String linkName, IProductComponent target)IProductComponentLink<? extends IProductComponent>ProductComponentGeneration. getLink(java.lang.String linkName, IProductComponent target)ProductCmptTypeAbstractRuntimeRepository. getModelType(IProductComponent productComponent)intAbstractRuntimeRepository. getNumberOfProductComponentGenerations(IProductComponent productCmpt)protected abstract intAbstractRuntimeRepository. getNumberOfProductComponentGenerationsInternal(IProductComponent productCmpt)protected intAbstractTocBasedRuntimeRepository. getNumberOfProductComponentGenerationsInternal(IProductComponent productCmpt)java.util.List<IProductComponentGeneration>AbstractRuntimeRepository. getProductComponentGenerations(IProductComponent productCmpt)abstract voidAbstractRuntimeRepository. getProductComponentGenerations(IProductComponent productCmpt, java.util.List<IProductComponentGeneration> result)Same as getProductComponentGenerations() but searches only in this repository and not the ones this repository depends on.voidAbstractTocBasedRuntimeRepository. getProductComponentGenerations(IProductComponent productCmpt, java.util.List<IProductComponentGeneration> result)voidProductConfiguration. setProductComponent(IProductComponent productCmpt)Sets the new product component.Method parameters in org.faktorips.runtime.internal with type arguments of type IProductComponent Modifier and Type Method Description IComputable<java.lang.String,IProductComponent>AbstractCacheFactory. createProductCmptCache(IComputable<java.lang.String,IProductComponent> computable)protected abstract voidAbstractRuntimeRepository. getAllProductComponents(java.lang.String kindId, java.util.List<IProductComponent> result)Same as getAllProductComponent(String kindId) but searches only in this repository and not the ones this repository depends on.protected abstract voidAbstractRuntimeRepository. getAllProductComponents(java.util.List<IProductComponent> result)Same as getAllProductComponents() but searches only in this repository and not the ones this repository depends on.voidAbstractTocBasedRuntimeRepository. getAllProductComponents(java.lang.String kindId, java.util.List<IProductComponent> result)voidAbstractTocBasedRuntimeRepository. getAllProductComponents(java.util.List<IProductComponent> result)Constructors in org.faktorips.runtime.internal with parameters of type IProductComponent Constructor Description ProductConfiguration(IProductComponent productCmpt) -
Uses of IProductComponent in org.faktorips.runtime.model
Methods in org.faktorips.runtime.model with parameters of type IProductComponent Modifier and Type Method Description static ProductCmptTypeIpsModel. getProductCmptType(IProductComponent productComponent)Method parameters in org.faktorips.runtime.model with type arguments of type IProductComponent Modifier and Type Method Description static ProductCmptTypeIpsModel. getProductCmptType(java.lang.Class<? extends IProductComponent> productModelClass) -
Uses of IProductComponent in org.faktorips.runtime.model.annotation
Methods in org.faktorips.runtime.model.annotation that return types with arguments of type IProductComponent Modifier and Type Method Description java.lang.Class<? extends IProductComponent>value()Declaration class of the product component type that configures this policy component type. -
Uses of IProductComponent in org.faktorips.runtime.model.type
Methods in org.faktorips.runtime.model.type with type parameters of type IProductComponent Modifier and Type Method Description <S extends IProductComponent>
SProductAssociation. addTargetObject(S source, java.util.Calendar effectiveDate, IProductComponent target, CardinalityRange cardinality)Adds the target object with the given cardinality to this association in the source object.<S extends IProductComponent>
SProductAssociation. addTargetObjects(S source, java.util.Calendar effectiveDate, java.util.Collection<IProductComponent> targets)Adds the target objects to this association in the source object.<S extends IProductComponent>
SProductAssociation. addTargetObjects(S source, java.util.Calendar effectiveDate, IProductComponent... targets)Adds the target objects to this association in the source object.<T extends IProductComponent>
java.util.Collection<IProductComponentLink<T>>ProductAssociation. getLinks(IProductComponent prodCmpt, java.util.Calendar effectiveDate)Retrieves alllinksfor this association from a product component.<S extends IProductComponent>
SProductAssociation. removeTargetObjects(S source, java.util.Calendar effectiveDate, java.util.List<IProductComponent> targetsToRemove)Removes the target object from this association in the source object.<S extends IProductComponent>
SProductAssociation. removeTargetObjects(S source, java.util.Calendar effectiveDate, IProductComponent... targetsToRemove)Removes the target object from this association in the source object.Methods in org.faktorips.runtime.model.type that return types with arguments of type IProductComponent Modifier and Type Method Description java.util.List<IProductComponent>ProductAssociation. getTargetObjects(IProductComponent productComponentSource, java.util.Calendar effectiveDate)Returns a list of the target(s) of the given product component's association identified by this model type association.Methods in org.faktorips.runtime.model.type with parameters of type IProductComponent Modifier and Type Method Description <S extends IProductComponent>
SProductAssociation. addTargetObject(S source, java.util.Calendar effectiveDate, IProductComponent target, CardinalityRange cardinality)Adds the target object with the given cardinality to this association in the source object.<S extends IProductComponent>
SProductAssociation. addTargetObjects(S source, java.util.Calendar effectiveDate, IProductComponent... targets)Adds the target objects to this association in the source object.java.lang.ObjectConstantPolicyAttribute. getDefaultValue(IProductComponent source, java.util.Calendar effectiveDate)java.lang.ObjectDefaultPolicyAttribute. getDefaultValue(IProductComponent source, java.util.Calendar effectiveDate)abstract java.lang.ObjectPolicyAttribute. getDefaultValue(IProductComponent source, java.util.Calendar effectiveDate)Returns the product configured default value of the attribute identified by this model type attribute.<T extends IProductComponent>
java.util.Collection<IProductComponentLink<T>>ProductAssociation. getLinks(IProductComponent prodCmpt, java.util.Calendar effectiveDate)Retrieves alllinksfor this association from a product component.protected java.lang.ObjectAttribute. getRelevantProductObject(IProductComponent productComponent, java.util.Calendar effectiveDate)protected static java.lang.ObjectModelElement. getRelevantProductObject(IProductComponent productComponent, java.util.Calendar effectiveDate, boolean changingOverTime)If thechangingOverTimeisfalse, the given product component is returned.ITable<?>TableUsage. getTable(IProductComponent productComponent, java.util.Calendar effectiveDate)Returns the table the given product component references for this table usage.java.util.List<IProductComponent>ProductAssociation. getTargetObjects(IProductComponent productComponentSource, java.util.Calendar effectiveDate)Returns a list of the target(s) of the given product component's association identified by this model type association.java.lang.ObjectProductAttribute. getValue(IProductComponent productComponent, java.util.Calendar effectiveDate)Returns the value of this attribute in the given product component (or its generation identified by the effectiveDate, if the attribute is changeable over time).org.faktorips.valueset.ValueSet<?>ConstantPolicyAttribute. getValueSet(IProductComponent source, java.util.Calendar effectiveDate, IValidationContext context)org.faktorips.valueset.ValueSet<?>DefaultPolicyAttribute. getValueSet(IProductComponent source, java.util.Calendar effectiveDate, IValidationContext context)org.faktorips.valueset.ValueSet<?>PolicyAttribute. getValueSet(IProductComponent source, java.util.Calendar effectiveDate)Returns the value set of the given model object's attribute identified by this model type attribute.abstract org.faktorips.valueset.ValueSet<?>PolicyAttribute. getValueSet(IProductComponent source, java.util.Calendar effectiveDate, IValidationContext context)Returns the value set of the given model object's attribute identified by this model type attribute.<S extends IProductComponent>
SProductAssociation. removeTargetObjects(S source, java.util.Calendar effectiveDate, IProductComponent... targetsToRemove)Removes the target object from this association in the source object.voidConstantPolicyAttribute. setDefaultValue(IProductComponent source, java.util.Calendar effectiveDate, java.lang.Object defaultValue)voidDefaultPolicyAttribute. setDefaultValue(IProductComponent source, java.util.Calendar effectiveDate, java.lang.Object defaultValue)abstract voidPolicyAttribute. setDefaultValue(IProductComponent target, java.util.Calendar effectiveDate, java.lang.Object defaultValue)Sets the product configured default value of the attribute identified by this model type attribute.voidConstantPolicyAttribute. setValueSet(IProductComponent source, java.util.Calendar effectiveDate, org.faktorips.valueset.ValueSet<?> valueSet)voidDefaultPolicyAttribute. setValueSet(IProductComponent source, java.util.Calendar effectiveDate, org.faktorips.valueset.ValueSet<?> valueSet)abstract voidPolicyAttribute. setValueSet(IProductComponent target, java.util.Calendar effectiveDate, org.faktorips.valueset.ValueSet<?> valueSet)Sets the product configured set of allowed values of the attribute identified by this model type attribute.Method parameters in org.faktorips.runtime.model.type with type arguments of type IProductComponent Modifier and Type Method Description <S extends IProductComponent>
SProductAssociation. addTargetObjects(S source, java.util.Calendar effectiveDate, java.util.Collection<IProductComponent> targets)Adds the target objects to this association in the source object.<S extends IProductComponent>
SProductAssociation. removeTargetObjects(S source, java.util.Calendar effectiveDate, java.util.List<IProductComponent> targetsToRemove)Removes the target object from this association in the source object. -
Uses of IProductComponent in org.faktorips.runtime.util
Methods in org.faktorips.runtime.util with type parameters of type IProductComponent Modifier and Type Method Description static <T extends IProductComponent>
TProductComponentLinks. getTarget(int index, java.util.Map<java.lang.String,IProductComponentLink<T>> componentLink)Returns value of type IProductComponent at the indicated index.
-