Class DownloadInitializationResponseElement
java.lang.Object
org.kopi.ebics.xml.DefaultEbicsRootElement
org.kopi.ebics.xml.DefaultResponseElement
org.kopi.ebics.xml.InitializationResponseElement
org.kopi.ebics.xml.DownloadInitializationResponseElement
- All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement
The
DInitializationResponseElement is the response element
for ebics downloads initializations.- See Also:
-
Field Summary
Fields inherited from class InitializationResponseElement
responseFields inherited from class DefaultResponseElement
factory, returnCodeFields inherited from class DefaultEbicsRootElement
document, session -
Constructor Summary
ConstructorsConstructorDescriptionDownloadInitializationResponseElement(ContentFactory factory, EbicsOrderType orderType, String name) Constructs a newDInitializationResponseElementobject -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()Builds theEbicsElementXML fragmentbyte[]Returns the order data.intReturns The current segment number.intReturns the total segments number.byte[]Returns the transaction key.booleanChecks if it is the last segment.protected voidMethods inherited from class InitializationResponseElement
getOrderType, getTransactionIdMethods inherited from class DefaultResponseElement
checkReturnCode, getName, parse, reportMethods inherited from class DefaultEbicsRootElement
addNamespaceDecl, generateName, generateName, insertSchemaLocation, prettyPrint, print, save, setSaveSuggestedPrefixes, toByteArray, toPrettyString, toString, validate
-
Constructor Details
-
DownloadInitializationResponseElement
public DownloadInitializationResponseElement(ContentFactory factory, EbicsOrderType orderType, String name) Constructs a newDInitializationResponseElementobject- Parameters:
factory- the content factoryorderType- the order typename- the element name
-
-
Method Details
-
processBodyReturnCode
- Overrides:
processBodyReturnCodein classInitializationResponseElement- Throws:
EbicsException
-
build
Description copied from interface:EbicsElementBuilds theEbicsElementXML fragment- Specified by:
buildin interfaceEbicsElement- Overrides:
buildin classInitializationResponseElement- Throws:
EbicsException
-
getSegmentsNumber
public int getSegmentsNumber()Returns the total segments number.- Returns:
- the total segments number.
-
getSegmentNumber
public int getSegmentNumber()Returns The current segment number.- Returns:
- the segment number.
-
isLastSegment
public boolean isLastSegment()Checks if it is the last segment.- Returns:
- True is it is the last segment.
-
getTransactionKey
public byte[] getTransactionKey()Returns the transaction key.- Returns:
- the transaction key.
-
getOrderData
public byte[] getOrderData()Returns the order data.- Returns:
- the order data.
-