Class 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
  • Constructor Details

    • CustomTocEntryObject

      protected CustomTocEntryObject(String ipsObjectQualifiedName, String xmlResourceName, String implementationClassName)
  • Method Details

    • 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 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 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