org.xins.client.XINSCallResultData Maven / Gradle / Ivy
/*
* $Id: XINSCallResultData.java,v 1.8 2006/08/28 09:12:30 agoubard Exp $
*
* Copyright 2003-2006 Orange Nederland Breedband B.V.
* See the COPYRIGHT file for redistribution and use restrictions.
*/
package org.xins.client;
import org.xins.common.collections.PropertyReader;
/**
* Data part of a XINS call result.
*
* @version $Revision: 1.8 $ $Date: 2006/08/28 09:12:30 $
* @author Ernst de Haan
*
* @since XINS 1.0.0
*/
public interface XINSCallResultData {
/**
* Returns the error code. If null
is returned the call was
* successful and thus no error code was returned. Otherwise the call was
* unsuccessful.
*
* This method will never return an empty string, so if the result is
* not null
, then it is safe to assume the length of the
* string is at least 1 character.
*
* @return
* the returned error code, or null
if the call was
* successful.
*/
String getErrorCode();
/**
* Gets all parameters.
*
* @return
* a {@link PropertyReader} with all parameters, or null
if
* there are none.
*/
PropertyReader getParameters();
/**
* Returns the optional extra data. The data is an XML {@link DataElement},
* or null
.
*
* @return
* the extra data as an XML {@link DataElement}, can be
* null
;
*/
DataElement getDataElement();
}