| Package | Description |
|---|---|
| org.faktorips.runtime | |
| org.faktorips.runtime.internal |
| 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) |
| 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> |
IProductComponent.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. |
IProductComponentLink<? extends IProductComponent> |
IProductComponentGeneration.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>> |
IProductComponent.getLinks()
Returns a
List of all the IProductComponentLinks from this product
component generation to other product components. |
List<IProductComponentLink<? extends IProductComponent>> |
IProductComponentGeneration.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> |
IProductComponent.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. |
IProductComponentLink<? extends IProductComponent> |
IProductComponentGeneration.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)
Returns the
IModelType containing the meta information for the given product
component. |
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 proudct component.
|
void |
InMemoryRuntimeRepository.getProductComponentGenerations(IProductComponent productCmpt,
List<IProductComponentGeneration> result) |
void |
InMemoryRuntimeRepository.putProductComponent(IProductComponent productCmpt)
Puts the product component into the repository.
|
| 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) |
| 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 abstract IProductComponent |
AbstractTocBasedRuntimeRepository.createProductCmpt(ProductCmptTocEntry tocEntry) |
protected IProductComponent |
AbstractClassLoadingRuntimeRepository.createProductCmpt(ProductCmptTocEntry tocEntry) |
IProductComponent |
AbstractRuntimeRepository.getExistingProductComponent(String id) |
protected IProductComponent |
AbstractTocBasedRuntimeRepository.getNotCachedProductComponent(String id) |
protected abstract IProductComponent |
AbstractCachingRuntimeRepository.getNotCachedProductComponent(String id) |
IProductComponent |
ProductComponentGeneration.getProductComponent() |
IProductComponent |
ProductConfiguration.getProductComponent()
Returns the product component that configures a policy component.
|
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.
|
| 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) |
IModelType |
AbstractRuntimeRepository.getModelType(IProductComponent modelObject) |
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.
|
protected void |
ProductComponentGeneration.writeReferenceToXml(Element element,
IProductComponentLink<? extends IProductComponent> link) |
| Constructor and Description |
|---|
ProductConfiguration(IProductComponent productCmpt) |
Copyright © 2014. All rights reserved.