public abstract class AbstractCascadeIDEntry extends AbstractDatabaseEntry implements IXMLEncodable
XML_ATTR_LAST_UPDATE, XML_LAST_UPDATEFIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION| Constructor and Description |
|---|
AbstractCascadeIDEntry(AbstractCascadeIDEntry a_entry,
long a_expireTime)
Creates a new CascadeIDEntry from the mix IDs of a given cascade.
|
AbstractCascadeIDEntry(org.w3c.dom.Element a_xmlElement) |
AbstractCascadeIDEntry(MixCascade a_cascade,
long a_expireTime)
Creates a new CascadeIDEntry from the mix IDs of a given cascade.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCascadeId()
The cascade ID, that means the ID of the first mix in the cascade.
|
java.lang.String |
getId()
The concatenated ID of all mixes in the cascade.
|
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance.
|
long |
getVersionNumber()
Returns version number which is used to determine the more recent infoservice entry, if two entries
are compared (higher version number -> more recent entry).
|
boolean |
isReferencedCascade(MixCascade a_cascade) |
org.w3c.dom.Element |
toXmlElement(org.w3c.dom.Document a_doc)
Return an element that can be appended to the document.
|
deletePersistence, getCreationTime, getExpireTime, isNewerThan, isPersistanceDeletionAllowed, isUserDefined, resetCreationTime, setExpireTimepublic AbstractCascadeIDEntry(MixCascade a_cascade, long a_expireTime) throws java.lang.IllegalArgumentException
a_cascade - MixCascadea_expireTime - the time in ms when this databse entry expiresjava.lang.IllegalArgumentException - if the given cascade is nullpublic AbstractCascadeIDEntry(AbstractCascadeIDEntry a_entry, long a_expireTime) throws java.lang.IllegalArgumentException
a_entry - MixCascadea_expireTime - the time in ms when this databse entry expiresjava.lang.IllegalArgumentException - if the given AbstractCascadeIDEntry is nullpublic AbstractCascadeIDEntry(org.w3c.dom.Element a_xmlElement)
throws XMLParseException
XMLParseExceptionpublic final java.lang.String getCascadeId()
public boolean isReferencedCascade(MixCascade a_cascade)
public final java.lang.String getId()
getId in class AbstractDatabaseEntrypublic long getLastUpdate()
AbstractDatabaseEntrygetLastUpdate in class AbstractDatabaseEntrypublic final long getVersionNumber()
getVersionNumber in class AbstractDatabaseEntrypublic org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
IXMLEncodabletoXmlElement in interface IXMLEncodablea_doc - a documentCopyright © 2023. All rights reserved.