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 Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_ENTRYTYPEstatic java.lang.StringPROPERTY_IPS_OBJECT_IDstatic java.lang.StringPROPERTY_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 protectedTocEntryObject(java.lang.String ipsObjectId, java.lang.String ipsObjectQualifiedName, java.lang.String xmlResourceName, java.lang.String implementationClassName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddToXml(org.w3c.dom.Element entryElement)Adds this instance's property values to the xml element.booleanequals(java.lang.Object obj)java.lang.StringgetIpsObjectId()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 tablejava.lang.StringgetIpsObjectQualifiedName()Returns the qualified name of the object.inthashCode()java.lang.StringtoString()-
Methods inherited from class org.faktorips.runtime.internal.toc.TocEntry
getImplementationClassName, getXmlElementTag, getXmlResourceName, toXml
-
-
-
-
Field Detail
-
PROPERTY_ENTRYTYPE
public static final java.lang.String PROPERTY_ENTRYTYPE
- See Also:
- Constant Field Values
-
PROPERTY_IPS_OBJECT_ID
public static final java.lang.String PROPERTY_IPS_OBJECT_ID
- See Also:
- Constant Field Values
-
PROPERTY_IPS_OBJECT_QNAME
public static final java.lang.String PROPERTY_IPS_OBJECT_QNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIpsObjectId
public java.lang.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 java.lang.String getIpsObjectQualifiedName()
Returns the qualified name of the object.
-
addToXml
protected void addToXml(org.w3c.dom.Element entryElement)
Description copied from class:TocEntryAdds this instance's property values to the xml element.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-