org.faktorips.runtime
Interface IClRepositoryObject

All Known Subinterfaces:
IProductComponentLink<T>, IXmlPersistenceSupport
All Known Implementing Classes:
ProductComponent, ProductComponentGeneration, ProductComponentLink

public interface IClRepositoryObject

Objects that are loaded by the class loader repository need to implement this interface. The class loader repository can by means of this interface assume that the object provided by the repository knows how to initialize itself. SW 09.2011: With the implementation of product variants an extension interface ( IXmlPersistenceSupport) was created. IXmlPersistenceSupport is not published as should be this interface. Sadly this cannot be undone as it is extended by IProductComponentLink and generated code relies on it.

Author:
Peter Erzberger

Method Summary
 void initFromXml(Element element)
          Initializes this object with the data stored in the XML element.
 

Method Detail

initFromXml

void initFromXml(Element element)
Initializes this object with the data stored in the XML element.

Throws:
NullPointerException - if element is null.


Copyright © 2015. All rights reserved.