|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IProductComponent
Interface for all product components.
| Method Summary | |
|---|---|
IConfigurableModelObject |
createPolicyComponent()
Creates a new policy component that is configured by this product component. |
IProductComponentGeneration |
getGenerationBase(Calendar effectiveDate)
Returns the generation that is effective on the given date or null if no
generation is effective on that date. |
String |
getId()
Returns the product component's id that uniquely identifies it in the repository it belongs to. |
String |
getKindId()
Returns the id of the product component kind that this product component belongs to. |
IProductComponentGeneration |
getLatestProductComponentGeneration()
Returns the latest product component generation of the provided product component or null if non available. |
IProductComponentLink<? extends 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. |
List<IProductComponentLink<? extends IProductComponent>> |
getLinks()
Returns a List of all the IProductComponentLinks from this product
component generation to other product components. |
IRuntimeRepository |
getRepository()
Returns the repository this product component belongs to. |
DateTime |
getValidFrom()
Returns the date from which this product component is valid. |
Date |
getValidFrom(TimeZone timeZone)
Returns the date from which this product component is valid as a Date. |
DateTime |
getValidTo()
Returns the date when this product component expires. |
String |
getVersionId()
Returns the version id that identifies this product component in its kind. |
boolean |
isChangingOverTime()
Returns true if this product component has product component generations. |
| Methods inherited from interface org.faktorips.runtime.IRuntimeObject |
|---|
getExtensionPropertyIds, getExtensionPropertyValue |
| Method Detail |
|---|
IRuntimeRepository getRepository()
null.
getRepository in interface IProductComponentLinkSourceIRuntimeRepository that was used to create this
IProductComponentLinkSourceString getId()
String getKindId()
String getVersionId()
DateTime getValidFrom()
Date getValidFrom(TimeZone timeZone)
Date. If this
product component supports generations this is the same valid from date as the first
generation.
timeZone - The time zone which is used to calculate the returned valid from date.
DateTime getValidTo()
null means no
end of the validity period.
IProductComponentGeneration getGenerationBase(Calendar effectiveDate)
null if no
generation is effective on that date.
UnsupportedOperationException - if this product component has no product component
generations.
NullPointerException - if effective date is null.IProductComponentGeneration getLatestProductComponentGeneration()
null if non available.
UnsupportedOperationException - if this product component has no product component
generations.IConfigurableModelObject createPolicyComponent()
IProductComponentLink<? extends IProductComponent> getLink(String linkName,
IProductComponent target)
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>> getLinks()
List of all the IProductComponentLinks from this product
component generation to other product components.
boolean isChangingOverTime()
true if this product component has product component generations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||