Class TocEntryObject

java.lang.Object
org.faktorips.runtime.internal.toc.TocEntry
org.faktorips.runtime.internal.toc.TocEntryObject
Direct Known Subclasses:
CustomTocEntryObject, EnumContentTocEntry, EnumXmlAdapterTocEntry, ModelTypeTocEntry, ProductCmptTocEntry, TableContentTocEntry, TestCaseTocEntry

public abstract class TocEntryObject extends TocEntry
A toc entry that represents a product component, a table, a test case or an enum content identified by the qualified name. Each entry gives access to the class implementing either the product component, the table, the test case or the enum content.
Author:
Jan Ortmann
  • Field Details

  • Constructor Details

    • TocEntryObject

      protected TocEntryObject(String ipsObjectId, String ipsObjectQualifiedName, String xmlResourceName, String implementationClassName)
  • Method Details

    • getIpsObjectId

      public String getIpsObjectId()
      Returns the id for the object (either the runtime id if the object is a product component or the qualified name if the object is a table
    • getIpsObjectQualifiedName

      public String getIpsObjectQualifiedName()
      Returns the qualified name of the object.
    • addToXml

      protected void addToXml(Element entryElement)
      Description copied from class: TocEntry
      Adds this instance's property values to the xml element.
      Overrides:
      addToXml in class TocEntry
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class TocEntry
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class TocEntry