|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.infoservice.AbstractDatabaseEntry anon.infoservice.AbstractDistributableDatabaseEntry anon.infoservice.PaymentInstanceDBEntry
public class PaymentInstanceDBEntry
Holds the information of a payment instance for storing in the InfoService.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
---|
AbstractDistributableDatabaseEntry.SerialDBEntry, AbstractDistributableDatabaseEntry.Serials |
Field Summary | |
---|---|
private JAPCertificate |
m_cert
|
private long |
m_creationTimeStamp
Stores the time when this payment instance entry was created by the origin payment instance. |
private java.util.Vector |
m_listenerInterfaces
|
private java.lang.String |
m_name
|
private java.lang.String |
m_strPaymentInstanceId
This is the ID of this payment instance. |
private org.w3c.dom.Element |
m_xmlDescription
Stores the XML representation of this PaymentInstanceDBEntry. |
Fields inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
---|
XML_ATTR_LAST_UPDATE, XML_ATTR_SERIAL, XML_ATTR_VALID, XML_ATTR_VERIFIED |
Fields inherited from class anon.infoservice.AbstractDatabaseEntry |
---|
XML_LAST_UPDATE |
Fields inherited from interface anon.infoservice.IDistributable |
---|
FIELD_HTTP_REQUEST_STRING, FIELD_HTTP_SERIALS_REQUEST_STRING |
Fields inherited from interface anon.util.IXMLEncodable |
---|
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_VERSION |
Constructor Summary | |
---|---|
PaymentInstanceDBEntry(org.w3c.dom.Element elemRoot)
Creates a PaymentInstanceDBEntry which represents a payment instance. |
|
PaymentInstanceDBEntry(java.lang.String id,
java.lang.String name,
JAPCertificate a_cert,
java.util.Enumeration a_listeners,
java.lang.String software_version,
long creationTime)
|
Method Summary | |
---|---|
JAPCertificate |
getCertificate()
|
java.lang.String |
getId()
Returns a unique ID for a database entry. |
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance. |
java.util.Vector |
getListenerInterfaces()
|
java.lang.String |
getName()
|
java.lang.String |
getPostFile()
This returns the filename (InfoService command), where this PaymentInstanceDBEntry is posted at other InfoServices. |
long |
getVersionNumber()
Returns the time when this payment instance entry was created by the origin payment instance. |
static java.lang.String |
getXmlElementName()
Returns the name of the XML element constructed by this class. |
org.w3c.dom.Element |
getXmlStructure()
Returns the XML structure for this db entry. |
Methods inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
---|
getHttpRequestString, getHttpSerialsRequestString, getPostData, getPostEncoding, toXmlElement |
Methods inherited from class anon.infoservice.AbstractDatabaseEntry |
---|
getCreationTime, getExpireTime, isNewerThan, isUserDefined, resetCreationTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String m_strPaymentInstanceId
private org.w3c.dom.Element m_xmlDescription
private long m_creationTimeStamp
private java.util.Vector m_listenerInterfaces
private java.lang.String m_name
private JAPCertificate m_cert
Constructor Detail |
---|
public PaymentInstanceDBEntry(org.w3c.dom.Element elemRoot) throws XMLParseException
XMLParseException
public PaymentInstanceDBEntry(java.lang.String id, java.lang.String name, JAPCertificate a_cert, java.util.Enumeration a_listeners, java.lang.String software_version, long creationTime)
Method Detail |
---|
public java.lang.String getId()
AbstractDatabaseEntry
getId
in interface IDistributable
getId
in class AbstractDatabaseEntry
public java.lang.String getName()
public java.util.Vector getListenerInterfaces()
public JAPCertificate getCertificate()
public long getVersionNumber()
getVersionNumber
in class AbstractDatabaseEntry
public long getLastUpdate()
AbstractDatabaseEntry
getLastUpdate
in class AbstractDatabaseEntry
public java.lang.String getPostFile()
public static java.lang.String getXmlElementName()
public org.w3c.dom.Element getXmlStructure()
AbstractDistributableDatabaseEntry
getXmlStructure
in class AbstractDistributableDatabaseEntry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |