org.faktorips.runtime.internal.toc
Class GenerationTocEntry
java.lang.Object
org.faktorips.runtime.internal.toc.TocEntry
org.faktorips.runtime.internal.toc.GenerationTocEntry
public class GenerationTocEntry
- extends TocEntry
A toc entry that refers to an ips object generation.
- Author:
- Jan Ortmann
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
PROPERTY_VALID_FROM
public static final String PROPERTY_VALID_FROM
- See Also:
- Constant Field Values
GenerationTocEntry
public GenerationTocEntry(ProductCmptTocEntry parent,
DateTime validFrom,
String className,
String xmlResourceName)
createFromXml
public static final GenerationTocEntry createFromXml(ProductCmptTocEntry parent,
Element element)
getXmlResourceName
public String getXmlResourceName()
- Overrides:
getXmlResourceName in class TocEntry
getParent
public ProductCmptTocEntry getParent()
getValidFrom
public DateTime getValidFrom()
getValidFromInMillisec
public final long getValidFromInMillisec(TimeZone zone)
- Returns the point in time this generation is valid from in the given time zone. This method
never returns
null.
- Throws:
NullPointerException - if zone is null.
addToXml
protected void addToXml(Element element)
- 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
getXmlElementTag
protected String getXmlElementTag()
- Description copied from class:
TocEntry
- Getting the xml element tag for this toc entry
- Specified by:
getXmlElementTag in class TocEntry
Copyright © 2015. All rights reserved.