All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xins.client.XINSCallResultData Maven / Gradle / Ivy

There is a newer version: 3.0
Show newest version
/*
 * $Id: XINSCallResultData.java,v 1.11 2007/02/28 15:47:20 agoubard Exp $
 *
 * Copyright 2003-2007 Orange Nederland Breedband B.V.
 * See the COPYRIGHT file for redistribution and use restrictions.
 */
package org.xins.client;

import org.xins.common.collections.PropertyReader;
import org.xins.common.xml.Element;

/**
 * Data part of a XINS call result.
 *
 * @version $Revision: 1.11 $ $Date: 2007/02/28 15:47:20 $
 * @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 Element}, * or null. * * @return * the extra data as an XML {@link Element}, can be * null; */ Element getDataElement(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy