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 Detail

      • CustomTocEntryObject

        protected CustomTocEntryObject​(java.lang.String ipsObjectQualifiedName,
                                       java.lang.String xmlResourceName,
                                       java.lang.String implementationClassName)
    • 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