org.faktorips.runtime
Interface IRuntimeObject

All Known Subinterfaces:
IProductComponent, IProductComponentGeneration, IProductComponentLink<T>
All Known Implementing Classes:
ProductComponent, ProductComponentGeneration, ProductComponentLink, RuntimeObject

public interface IRuntimeObject

Base class for runtime objects offering access to extension properties.

Author:
Daniel Hohenberger

Method Summary
 Set<String> getExtensionPropertyIds()
           
 Object getExtensionPropertyValue(String propertyId)
           
 

Method Detail

getExtensionPropertyIds

Set<String> getExtensionPropertyIds()
Returns:
a set of the extension property ids defined for this element.

getExtensionPropertyValue

Object getExtensionPropertyValue(String propertyId)
Parameters:
propertyId - the id of the desired extension property.
Returns:
the value of the extension property defined by the given propertyId or null if the extension property's isNull attribute is true.
Throws:
IllegalArgumentException - if no such property exists.


Copyright © 2015. All rights reserved.