Class GenerationTocEntry
java.lang.Object
org.faktorips.runtime.internal.toc.TocEntry
org.faktorips.runtime.internal.toc.GenerationTocEntry
A toc entry that refers to an ips object generation.
- Author:
- Jan Ortmann
-
Field Summary
FieldsFields inherited from class org.faktorips.runtime.internal.toc.TocEntry
PROPERTY_IMPLEMENTATION_CLASS, PROPERTY_XML_RESOURCE -
Constructor Summary
ConstructorsConstructorDescriptionGenerationTocEntry(ProductCmptTocEntry parent, DateTime validFrom, String className, String xmlResourceName) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds this instance's property values to the xml element.static final GenerationTocEntrycreateFromXml(ProductCmptTocEntry parent, Element element) final longReturns the point in time this generation is valid from in the given time zone.protected StringGetting the xml element tag for this toc entrytoString()Methods inherited from class org.faktorips.runtime.internal.toc.TocEntry
equals, getImplementationClassName, hashCode, toXml
-
Field Details
-
XML_TAG
- See Also:
-
PROPERTY_VALID_FROM
- See Also:
-
-
Constructor Details
-
GenerationTocEntry
public GenerationTocEntry(ProductCmptTocEntry parent, DateTime validFrom, String className, String xmlResourceName)
-
-
Method Details
-
createFromXml
-
getXmlResourceName
- Overrides:
getXmlResourceNamein classTocEntry
-
getParent
-
getValidFrom
-
getValidFromInMillisec
Returns the point in time this generation is valid from in the given time zone. This method never returnsnull.- Throws:
NullPointerException- if zone isnull.
-
addToXml
Description copied from class:TocEntryAdds this instance's property values to the xml element. -
toString
-
getXmlElementTag
Description copied from class:TocEntryGetting the xml element tag for this toc entry- Specified by:
getXmlElementTagin classTocEntry
-