anon.infoservice
Class CascadeIDEntry

java.lang.Object
  extended by anon.infoservice.AbstractDatabaseEntry
      extended by anon.infoservice.AbstractCascadeIDEntry
          extended by anon.infoservice.CascadeIDEntry
All Implemented Interfaces:
IXMLEncodable

public class CascadeIDEntry
extends AbstractCascadeIDEntry

This database class stores the IDs of all mixes in a cascade in a single string. It may be used to determine previously known cascades.

Author:
Rolf Wendolsky

Field Summary
private static long EXPIRE_TIME
           
static java.lang.String XML_ELEMENT_CONTAINER_NAME
           
static java.lang.String XML_ELEMENT_NAME
           
 
Fields inherited from class anon.infoservice.AbstractDatabaseEntry
XML_ATTR_LAST_UPDATE, XML_LAST_UPDATE
 
Fields inherited from interface anon.util.IXMLEncodable
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION
 
Constructor Summary
CascadeIDEntry(org.w3c.dom.Element a_xmlElement)
           
CascadeIDEntry(MixCascade a_cascade)
          Creates a new CascadeIDEntry from the mix IDs of a given cascade.
 
Method Summary
 
Methods inherited from class anon.infoservice.AbstractCascadeIDEntry
getCascadeId, getId, getLastUpdate, getVersionNumber, toXmlElement
 
Methods inherited from class anon.infoservice.AbstractDatabaseEntry
deletePersistence, getCreationTime, getExpireTime, isNewerThan, isPersistanceDeletionAllowed, isUserDefined, resetCreationTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_ELEMENT_NAME

public static final java.lang.String XML_ELEMENT_NAME

XML_ELEMENT_CONTAINER_NAME

public static final java.lang.String XML_ELEMENT_CONTAINER_NAME
See Also:
Constant Field Values

EXPIRE_TIME

private static final long EXPIRE_TIME
See Also:
Constant Field Values
Constructor Detail

CascadeIDEntry

public CascadeIDEntry(MixCascade a_cascade)
               throws java.lang.IllegalArgumentException
Creates a new CascadeIDEntry from the mix IDs of a given cascade.

Parameters:
a_cascade - MixCascade
Throws:
java.lang.IllegalArgumentException - if the given cascade is null

CascadeIDEntry

public CascadeIDEntry(org.w3c.dom.Element a_xmlElement)
               throws XMLParseException
Throws:
XMLParseException