com.sap.netweaver.coll.shared.api.extension

Interface IParameterInfo

All Superinterfaces:
IDisplayable

public interface IParameterInfo
extends IDisplayable

Interface describing information about an extension parameter. This information can be displayed to interactively define rules how to compute the parameter values.


Nested Class Summary
static class IParameterInfo.Type
           
 
Method Summary
 Class getParameterClass()
          Get the class of the parameter.
 String getType()
          Return the parameter type.
 IValueSet getValueSet(IExtensionContext context)
          Get the value set.
 boolean hasValueSet()
          Check if the parameter has a value set.
 boolean isRequired()
          Check if the parameter is required or optional.
 boolean isSystemParameter()
          Deprecated.  
 
Methods inherited from interface com.sap.netweaver.coll.shared.api.extension.IDisplayable
getDescription, getId, getName
 

Method Detail

isRequired

public boolean isRequired()
Check if the parameter is required or optional.

Returns:
If the parameter is required

isSystemParameter

public boolean isSystemParameter()
Deprecated.  


getType

public String getType()
Return the parameter type.

Returns:
The type

getParameterClass

public Class getParameterClass()
Get the class of the parameter.

Returns:
The class

hasValueSet

public boolean hasValueSet()
Check if the parameter has a value set.

Returns:
True if the parameter has a value set

getValueSet

public IValueSet getValueSet(IExtensionContext context)
                      throws Exception
Get the value set.

Parameters:
context - A context containig parameter values required to compute the value set, may be null
Returns:
The value set info
Throws:
Exception


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.