Class CustomTocEntryObject<T>
- java.lang.Object
-
- org.faktorips.runtime.internal.toc.TocEntry
-
- org.faktorips.runtime.internal.toc.TocEntryObject
-
- org.faktorips.runtime.internal.toc.CustomTocEntryObject<T>
-
public abstract class CustomTocEntryObject<T> extends TocEntryObject
A TOC entry for a custom type of runtime object. The runtime object corresponds to a IpsObjectType at design time.- Author:
- schwering
-
-
Field Summary
-
Fields inherited from class org.faktorips.runtime.internal.toc.TocEntryObject
PROPERTY_ENTRYTYPE, PROPERTY_IPS_OBJECT_ID, PROPERTY_IPS_OBJECT_QNAME
-
Fields inherited from class org.faktorips.runtime.internal.toc.TocEntry
PROPERTY_IMPLEMENTATION_CLASS, PROPERTY_XML_RESOURCE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCustomTocEntryObject(java.lang.String ipsObjectQualifiedName, java.lang.String xmlResourceName, java.lang.String implementationClassName)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TcreateRuntimeObject(IRuntimeRepository repository)Returns the object identified by this TOC entry.abstract java.lang.StringgetIpsObjectTypeId()Returns the Id of the IpsObjectType for which this TOC entry was created.abstract java.lang.Class<T>getRuntimeObjectClass()The class of the objects referenced by this TOC entry.-
Methods inherited from class org.faktorips.runtime.internal.toc.TocEntryObject
addToXml, equals, getIpsObjectId, getIpsObjectQualifiedName, hashCode, toString
-
Methods inherited from class org.faktorips.runtime.internal.toc.TocEntry
getImplementationClassName, getXmlElementTag, getXmlResourceName, toXml
-
-
-
-
Method Detail
-
createRuntimeObject
public abstract T createRuntimeObject(IRuntimeRepository repository)
Returns the object identified by this TOC entry.- Parameters:
repository- the repository used to find the object- Returns:
- the object identified by this TOC entry
-
getRuntimeObjectClass
public abstract java.lang.Class<T> getRuntimeObjectClass()
The class of the objects referenced by this TOC entry.- Returns:
- the class of the objects referenced by this TOC entry
-
getIpsObjectTypeId
public abstract java.lang.String getIpsObjectTypeId()
Returns the Id of the IpsObjectType for which this TOC entry was created.- Returns:
- the Id of the IpsObjectType for which this TOC entry was created
-
-