org.faktorips.runtime.internal
Class RuntimeObject

java.lang.Object
  extended by org.faktorips.runtime.internal.RuntimeObject
All Implemented Interfaces:
IRuntimeObject
Direct Known Subclasses:
ProductComponent, ProductComponentGeneration, ProductComponentLink

public class RuntimeObject
extends Object
implements IRuntimeObject

Baseclass for all runtime objects


Constructor Summary
RuntimeObject()
           
 
Method Summary
 Set<String> getExtensionPropertyIds()
           
 Object getExtensionPropertyValue(String propertyId)
           
protected  void initExtensionPropertiesFromXml(Element cmptElement)
           
protected  void writeExtensionPropertiesToXml(Element element)
           
protected  void writeExtensionPropertiesToXml(Element element, Map<String,String> extPropertyMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeObject

public RuntimeObject()
Method Detail

initExtensionPropertiesFromXml

protected void initExtensionPropertiesFromXml(Element cmptElement)

writeExtensionPropertiesToXml

protected void writeExtensionPropertiesToXml(Element element)

writeExtensionPropertiesToXml

protected void writeExtensionPropertiesToXml(Element element,
                                             Map<String,String> extPropertyMap)

getExtensionPropertyIds

public Set<String> getExtensionPropertyIds()
Specified by:
getExtensionPropertyIds in interface IRuntimeObject
Returns:
a set of the extension property ids defined for this element.

getExtensionPropertyValue

public Object getExtensionPropertyValue(String propertyId)
Specified by:
getExtensionPropertyValue in interface IRuntimeObject
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.


Copyright © 2015. All rights reserved.