| 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.type |
Classes that allow access to design time model information on policy and product component types.
|
| org.faktorips.runtime.util |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IProductComponentLink<T extends IProductComponent>
This class represents a link between two product components.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IProductComponent> |
IRuntimeRepository.getAllProductComponents(Class<T> productComponentType)
Returns all product components that are instances of the indicated class.
|
| Modifier and Type | Method and Description |
|---|---|
IProductComponent |
IRuntimeRepository.getExistingProductComponent(String id)
Returns the product component identified by the given id.
|
IProductComponent |
IConfigurableModelObject.getProductComponent()
Returns the product component this policy component is based on.
|
IProductComponent |
IProductComponentGeneration.getProductComponent()
Returns the product component this generation belongs to.
|
IProductComponent |
IRuntimeRepository.getProductComponent(String id)
Returns the product component identified by the given id.
|
IProductComponent |
IRuntimeRepository.getProductComponent(String kindId,
String versionId)
Returns the product component identified by the given KindId and versionId.
|
protected IProductComponent |
InMemoryRuntimeRepository.getProductComponentInternal(String id) |
protected IProductComponent |
InMemoryRuntimeRepository.getProductComponentInternal(String kindId,
String versionId) |
IProductComponent |
IProductComponent.getVariedBase()
Allows distinguishing variants not only by their product component type but also their varied
base.
|
| Modifier and Type | Method and Description |
|---|---|
IComputable<String,IProductComponent> |
ICacheFactory.createProductCmptCache(IComputable<String,IProductComponent> computable) |
List<IProductComponent> |
IRuntimeRepository.getAllProductComponents()
Returns all product components available in this repository.
|
List<IProductComponent> |
IRuntimeRepository.getAllProductComponents(String kindId)
Returns all product components that belong to the indicated product component kind.
|
IProductComponentLink<? extends IProductComponent> |
IProductComponentLinkSource.getLink(String linkName,
IProductComponent target)
Returns the
IProductComponentLink for the association with the given role name
to the given product component or null if no such association exists. |
List<IProductComponentLink<? extends IProductComponent>> |
IProductComponentLinkSource.getLinks()
Returns a
List of all the IProductComponentLinks from this product
component generation to other product components. |
| Modifier and Type | Method and Description |
|---|---|
IProductComponentGeneration |
IRuntimeRepository.getLatestProductComponentGeneration(IProductComponent productCmpt)
Returns the latest product component generation of the provided product component.
|
protected IProductComponentGeneration |
InMemoryRuntimeRepository.getLatestProductComponentGenerationInternal(IProductComponent productCmpt) |
IProductComponentLink<? extends IProductComponent> |
IProductComponentLinkSource.getLink(String linkName,
IProductComponent target)
Returns the
IProductComponentLink for the association with the given role name
to the given product component or null if no such association exists. |
IModelType |
IRuntimeRepository.getModelType(IProductComponent productComponent)
Deprecated.
|
int |
IRuntimeRepository.getNumberOfProductComponentGenerations(IProductComponent productCmpt)
Returns the number of product component generations of the provided product component.
|
protected int |
InMemoryRuntimeRepository.getNumberOfProductComponentGenerationsInternal(IProductComponent productCmpt) |
List<IProductComponentGeneration> |
IRuntimeRepository.getProductComponentGenerations(IProductComponent productCmpt)
Returns all product component generations for the given product component.
|
void |
InMemoryRuntimeRepository.getProductComponentGenerations(IProductComponent productCmpt,
List<IProductComponentGeneration> result) |
void |
InMemoryRuntimeRepository.putProductComponent(IProductComponent productCmpt)
Puts the product component into the repository.
|
void |
IConfigurableModelObject.setProductComponent(IProductComponent productComponent)
Sets the current product component.
|
| Modifier and Type | Method and Description |
|---|---|
IComputable<String,IProductComponent> |
ICacheFactory.createProductCmptCache(IComputable<String,IProductComponent> computable) |
void |
InMemoryRuntimeRepository.getAllProductComponents(List<IProductComponent> result) |
void |
InMemoryRuntimeRepository.getAllProductComponents(String kindId,
List<IProductComponent> result) |
| Constructor and Description |
|---|
FormulaExecutionException(IProductComponent productComponent,
String formula,
Object... parameters) |
| Modifier and Type | Class and Description |
|---|---|
class |
ProductComponentLink<T extends IProductComponent>
Class that represents a link/relation between product components.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ProductComponent
Base class for all product components.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IProductComponent> |
AbstractRuntimeRepository.getAllProductComponents(Class<T> productCmptClass) |
protected <T extends IProductComponent> |
AbstractClassLoadingRuntimeRepository.getAllProductComponentsInternal(Class<T> productCmptClass,
List<T> result)
Override the default implementation for better performance.
|
protected <T extends IProductComponent> |
AbstractRuntimeRepository.getAllProductComponentsInternal(Class<T> productCmptClass,
List<T> result)
Same as
AbstractRuntimeRepository.getAllProductComponents(Class) but only searches in own repository not in
referenced ones and adding result to parameter result |
| Modifier and Type | Method and Description |
|---|---|
protected IProductComponent |
AbstractClassLoadingRuntimeRepository.createProductCmpt(ProductCmptTocEntry tocEntry) |
protected abstract IProductComponent |
AbstractTocBasedRuntimeRepository.createProductCmpt(ProductCmptTocEntry tocEntry) |
IProductComponent |
AbstractRuntimeRepository.getExistingProductComponent(String id) |
protected IProductComponent |
AbstractTocBasedRuntimeRepository.getNotCachedProductComponent(String id) |
protected abstract IProductComponent |
AbstractCachingRuntimeRepository.getNotCachedProductComponent(String id) |
IProductComponent |
ProductConfiguration.getProductComponent()
Returns the product component that configures a policy component.
|
IProductComponent |
ProductComponentGeneration.getProductComponent() |
IProductComponent |
AbstractRuntimeRepository.getProductComponent(String id) |
IProductComponent |
AbstractRuntimeRepository.getProductComponent(String kindId,
String versionId) |
protected IProductComponent |
AbstractCachingRuntimeRepository.getProductComponentInternal(String id) |
protected abstract IProductComponent |
AbstractRuntimeRepository.getProductComponentInternal(String id)
Same as getProductComponent(String id) but searches only in this repository and not the ones,
this repository depends on.
|
protected IProductComponent |
AbstractTocBasedRuntimeRepository.getProductComponentInternal(String kindId,
String versionId) |
protected abstract IProductComponent |
AbstractRuntimeRepository.getProductComponentInternal(String kindId,
String versionId)
Same as getProductComponent(String kindId, String versionId) but searches only in this
repository and not the ones, this repository depends on.
|
IProductComponent |
ProductComponent.getVariedBase() |
| Modifier and Type | Method and Description |
|---|---|
IComputable<String,IProductComponent> |
AbstractCacheFactory.createProductCmptCache(IComputable<String,IProductComponent> computable) |
List<IProductComponent> |
AbstractRuntimeRepository.getAllProductComponents() |
List<IProductComponent> |
AbstractRuntimeRepository.getAllProductComponents(String kindId) |
IProductComponentLink<? extends IProductComponent> |
ProductComponentGeneration.getLink(String linkName,
IProductComponent target) |
IProductComponentLink<? extends IProductComponent> |
ProductComponent.getLink(String linkName,
IProductComponent target) |
List<IProductComponentLink<? extends IProductComponent>> |
ProductComponentGeneration.getLinks() |
List<IProductComponentLink<? extends IProductComponent>> |
ProductComponent.getLinks() |
| Modifier and Type | Method and Description |
|---|---|
IProductComponentGeneration |
AbstractRuntimeRepository.getLatestProductComponentGeneration(IProductComponent productCmpt) |
protected IProductComponentGeneration |
AbstractTocBasedRuntimeRepository.getLatestProductComponentGenerationInternal(IProductComponent productCmpt) |
protected abstract IProductComponentGeneration |
AbstractRuntimeRepository.getLatestProductComponentGenerationInternal(IProductComponent productCmpt) |
IProductComponentLink<? extends IProductComponent> |
ProductComponentGeneration.getLink(String linkName,
IProductComponent target) |
IProductComponentLink<? extends IProductComponent> |
ProductComponent.getLink(String linkName,
IProductComponent target) |
ProductCmptType |
AbstractRuntimeRepository.getModelType(IProductComponent productComponent) |
int |
AbstractRuntimeRepository.getNumberOfProductComponentGenerations(IProductComponent productCmpt) |
protected int |
AbstractTocBasedRuntimeRepository.getNumberOfProductComponentGenerationsInternal(IProductComponent productCmpt) |
protected abstract int |
AbstractRuntimeRepository.getNumberOfProductComponentGenerationsInternal(IProductComponent productCmpt) |
List<IProductComponentGeneration> |
AbstractRuntimeRepository.getProductComponentGenerations(IProductComponent productCmpt) |
void |
AbstractTocBasedRuntimeRepository.getProductComponentGenerations(IProductComponent productCmpt,
List<IProductComponentGeneration> result) |
abstract void |
AbstractRuntimeRepository.getProductComponentGenerations(IProductComponent productCmpt,
List<IProductComponentGeneration> result)
Same as getProductComponentGenerations() but searches only in this repository and not the
ones, this repository depends on.
|
void |
ProductConfiguration.setProductComponent(IProductComponent productCmpt)
Sets the new product component.
|
| Modifier and Type | Method and Description |
|---|---|
IComputable<String,IProductComponent> |
AbstractCacheFactory.createProductCmptCache(IComputable<String,IProductComponent> computable) |
void |
AbstractTocBasedRuntimeRepository.getAllProductComponents(List<IProductComponent> result) |
protected abstract void |
AbstractRuntimeRepository.getAllProductComponents(List<IProductComponent> result)
Same as getAllProductComponents() but searches only in this repository and not the ones, this
repository depends on.
|
void |
AbstractTocBasedRuntimeRepository.getAllProductComponents(String kindId,
List<IProductComponent> result) |
protected abstract void |
AbstractRuntimeRepository.getAllProductComponents(String kindId,
List<IProductComponent> result)
Same as getAllProductComponent(String kindId) but searches only in this repository and not
the ones, this repository depends on.
|
| Constructor and Description |
|---|
ProductConfiguration(IProductComponent productCmpt) |
| Modifier and Type | Method and Description |
|---|---|
static ProductCmptType |
IpsModel.getProductCmptType(IProductComponent productComponent) |
| Modifier and Type | Method and Description |
|---|---|
static ProductCmptType |
IpsModel.getProductCmptType(Class<? extends IProductComponent> productModelClass) |
| Modifier and Type | Method and Description |
|---|---|
<T extends IProductComponent> |
ProductAssociation.getLinks(IProductComponent prodCmpt,
Calendar effectiveDate)
Retrieves all
links for this association from a product
component. |
| Modifier and Type | Method and Description |
|---|---|
List<IProductComponent> |
ProductAssociation.getTargetObjects(IProductComponent productComponentSource,
Calendar effectiveDate)
Returns a list of the target(s) of the given product component's association identified by
this model type association.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ConstantPolicyAttribute.getDefaultValue(IProductComponent source,
Calendar effectiveDate) |
Object |
DefaultPolicyAttribute.getDefaultValue(IProductComponent source,
Calendar effectiveDate) |
abstract Object |
PolicyAttribute.getDefaultValue(IProductComponent source,
Calendar effectiveDate)
Returns the product configured default value of the attribute identified by this model type
attribute.
|
<T extends IProductComponent> |
ProductAssociation.getLinks(IProductComponent prodCmpt,
Calendar effectiveDate)
Retrieves all
links for this association from a product
component. |
protected Object |
Attribute.getRelevantProductObject(IProductComponent productComponent,
Calendar effectiveDate) |
protected static Object |
ModelElement.getRelevantProductObject(IProductComponent productComponent,
Calendar effectiveDate,
boolean changingOverTime)
If the
changingOverTime is false, the given product component is
returned. |
ITable<?> |
TableUsage.getTable(IProductComponent productComponent,
Calendar effectiveDate)
Returns the table the given product component references for this table usage.
|
List<IProductComponent> |
ProductAssociation.getTargetObjects(IProductComponent productComponentSource,
Calendar effectiveDate)
Returns a list of the target(s) of the given product component's association identified by
this model type association.
|
Object |
ProductAttribute.getValue(IProductComponent productComponent,
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<?> |
PolicyAttribute.getValueSet(IProductComponent source,
Calendar effectiveDate)
Returns the value set of the given model object's attribute identified by this model type
attribute.
|
org.faktorips.valueset.ValueSet<?> |
ConstantPolicyAttribute.getValueSet(IProductComponent source,
Calendar effectiveDate,
IValidationContext context) |
org.faktorips.valueset.ValueSet<?> |
DefaultPolicyAttribute.getValueSet(IProductComponent source,
Calendar effectiveDate,
IValidationContext context) |
abstract org.faktorips.valueset.ValueSet<?> |
PolicyAttribute.getValueSet(IProductComponent source,
Calendar effectiveDate,
IValidationContext context)
Returns the value set of the given model object's attribute identified by this model type
attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends IProductComponent> |
ProductComponentLinks.getTarget(int index,
Map<String,IProductComponentLink<T>> componentLink)
Returns value of type IProductComponent at the indicated index.
|
Copyright © 2023. All rights reserved.