Sonic ESB API

com.sonicsw.esb.mgmtapi.config
Interface IParameter.IEnumParameter

Enclosing interface:
IParameter

public static interface IParameter.IEnumParameter

Convenience interface for enumerated parameters


Method Summary
 java.util.Map<java.lang.String,java.lang.String> getValidMembers()
          return an unmodifiable map who's keys are enum names, and the values are the corresponding values.
 void setValue(java.lang.String name)
           
 boolean setValueByName(java.lang.String name)
          return true if the name was recognized as a valid enum member. update the parameter's value accordingly.
 

Method Detail

getValidMembers

java.util.Map<java.lang.String,java.lang.String> getValidMembers()
return an unmodifiable map who's keys are enum names, and the values are the corresponding values.

Returns:
a map containing all valid values. Key: the name, value: the value associated with the named entry.

setValueByName

boolean setValueByName(java.lang.String name)
return true if the name was recognized as a valid enum member. update the parameter's value accordingly.

Parameters:
name - - the name of the desired value
Returns:
true if the value is valid, false otherwise.

setValue

void setValue(java.lang.String name)

Sonic ESB API

Copyright © 2001-2012 Progress Software Corporation. All Rights Reserved.
HTML formatted on 13-Mar-2012.