public class GenerationTocEntry extends TocEntry
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_VALID_FROM |
static String |
XML_TAG |
PROPERTY_IMPLEMENTATION_CLASS, PROPERTY_XML_RESOURCE| Constructor and Description |
|---|
GenerationTocEntry(ProductCmptTocEntry parent,
DateTime validFrom,
String className,
String xmlResourceName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToXml(Element element)
Adds this instance's property values to the xml element.
|
static GenerationTocEntry |
createFromXml(ProductCmptTocEntry parent,
Element element) |
ProductCmptTocEntry |
getParent() |
DateTime |
getValidFrom() |
long |
getValidFromInMillisec(TimeZone zone)
Returns the point in time this generation is valid from in the given time zone.
|
protected String |
getXmlElementTag()
Getting the xml element tag for this toc entry
|
String |
getXmlResourceName() |
String |
toString() |
equals, getImplementationClassName, hashCode, toXmlpublic static final String XML_TAG
public static final String PROPERTY_VALID_FROM
public GenerationTocEntry(ProductCmptTocEntry parent, DateTime validFrom, String className, String xmlResourceName)
public static final GenerationTocEntry createFromXml(ProductCmptTocEntry parent, Element element)
public String getXmlResourceName()
getXmlResourceName in class TocEntrypublic ProductCmptTocEntry getParent()
public DateTime getValidFrom()
public final long getValidFromInMillisec(TimeZone zone)
null.NullPointerException - if zone is null.protected void addToXml(Element element)
TocEntryprotected String getXmlElementTag()
TocEntrygetXmlElementTag in class TocEntryCopyright © 2021. All rights reserved.