|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.pay.xml.XMLTransactionOverview
public class XMLTransactionOverview
This class is used by JAP to ask the Payment Instance about
used transaction numbers. JAP has to send the structure without the
attributed "used" to the Payment Instance.
The PI will then fill in the attributes according to its database entries.
Field Summary | |
---|---|
private java.util.Vector |
m_tans
Contains transfer numbers, their "used" attribute and the used date. |
static java.lang.Object |
XML_ELEMENT_NAME
|
Fields inherited from interface anon.util.IXMLEncodable |
---|
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_VERSION |
Constructor Summary | |
---|---|
XMLTransactionOverview()
|
|
XMLTransactionOverview(byte[] xml)
|
|
XMLTransactionOverview(org.w3c.dom.Document doc)
|
|
XMLTransactionOverview(org.w3c.dom.Element element)
|
|
XMLTransactionOverview(java.lang.String xml)
|
Method Summary | |
---|---|
void |
addTan(long a_tan)
Adds a transfer number and sets its state to "not used". |
java.util.Vector |
getTans()
Gets an vector of all transfer numbers |
boolean |
isUsed(long a_tan)
Returns if a specific transfer number is marked as "used". |
void |
setUsed(long a_tan,
boolean a_used,
long a_usedDate,
long amount)
Sets a specific tan to used or not used |
private void |
setValues(org.w3c.dom.Element elemRoot)
|
int |
size()
|
org.w3c.dom.Element |
toXmlElement(org.w3c.dom.Document a_doc)
Return an element that can be appended to the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Object XML_ELEMENT_NAME
private java.util.Vector m_tans
Constructor Detail |
---|
public XMLTransactionOverview()
public XMLTransactionOverview(java.lang.String xml) throws java.lang.Exception
java.lang.Exception
public XMLTransactionOverview(byte[] xml) throws java.lang.Exception
java.lang.Exception
public XMLTransactionOverview(org.w3c.dom.Document doc) throws java.lang.Exception
java.lang.Exception
public XMLTransactionOverview(org.w3c.dom.Element element) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public int size()
private void setValues(org.w3c.dom.Element elemRoot) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
IXMLEncodable
toXmlElement
in interface IXMLEncodable
a_doc
- a document
public java.util.Vector getTans()
public boolean isUsed(long a_tan)
a_tan
- long
public void setUsed(long a_tan, boolean a_used, long a_usedDate, long amount)
a_tan
- longa_used
- booleana_usedDate
- longpublic void addTan(long a_tan)
a_tan
- long
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |