com.ibm.ram.extension
Class MultiValuesConfigurationDetails

java.lang.Object
  extended by com.ibm.ram.extension.ConfigurationDetails
      extended by com.ibm.ram.extension.MultiValuesConfigurationDetails

public class MultiValuesConfigurationDetails
extends ConfigurationDetails

This configuration details class is used for create a configuration value that has one or more choices for its value. These choices can be rendered rows of checkboxes or as a multiselect list. An example is: Which of the following foods do you eat? - Steak - Eggs - Pasta

Since:
7.1

Constructor Summary
MultiValuesConfigurationDetails(java.lang.String key, java.lang.String label, java.lang.String[] values, java.lang.String[] labels, char type, java.lang.String description)
           
MultiValuesConfigurationDetails(java.lang.String key, java.lang.String label, java.lang.String[] values, java.lang.String[] labels, char type, java.lang.String description, java.lang.String defaultValue)
           
MultiValuesConfigurationDetails(java.lang.String key, java.lang.String label, java.lang.String[] values, java.lang.String[] labels, java.lang.String description)
           
 
Method Summary
 java.lang.String[] getLabels()
           
 char getType()
           
 java.lang.String[] getValues()
           
 boolean isCheckbox()
           
 boolean isMultiSelect()
           
 void setLabels(java.lang.String[] labels)
           
 void setType(char type)
           
 void setValues(java.lang.String[] values)
           
 
Methods inherited from class com.ibm.ram.extension.ConfigurationDetails
getDefaultValue, getDescription, getKey, getLabel, isConnectionInformation, isPassword, isTextArea, setConnectionInformation, setDefaultValue, setDescription, setKey, setLabel, setPassword, setTextArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiValuesConfigurationDetails

public MultiValuesConfigurationDetails(java.lang.String key,
                                       java.lang.String label,
                                       java.lang.String[] values,
                                       java.lang.String[] labels,
                                       java.lang.String description)
Parameters:
key - A unique key for the configuration.
label - A label for the configuration that will be displayed to the Rational Asset Manager administrator.
values - An array of Strings that holds the values
labels - An Array of String that holds the labels (What the user sees)
description - A description for the configuration that will be displayed to the Rational Asset Manager administrator.
Since:
7.1

MultiValuesConfigurationDetails

public MultiValuesConfigurationDetails(java.lang.String key,
                                       java.lang.String label,
                                       java.lang.String[] values,
                                       java.lang.String[] labels,
                                       char type,
                                       java.lang.String description)
Parameters:
key - A unique key for the configuration.
label - A label for the configuration that will be displayed to the Rational Asset Manager administrator.
values - An array of Strings that holds the values
labels - An Array of String that holds the labels (What the user sees)
type - The displayType for this object (c for checkboxes, s for select box)
description - A description for the configuration that will be displayed to the Rational Asset Manager administrator.
Since:
7.1

MultiValuesConfigurationDetails

public MultiValuesConfigurationDetails(java.lang.String key,
                                       java.lang.String label,
                                       java.lang.String[] values,
                                       java.lang.String[] labels,
                                       char type,
                                       java.lang.String description,
                                       java.lang.String defaultValue)
Parameters:
key - A unique key for the configuration.
label - A label for the configuration that will be displayed to the Rational Asset Manager administrator.
values - An array of Strings that holds the values
labels - An Array of String that holds the labels (What the user sees)
type - The displayType for this object (c for checkboxes, s for select box)
description - A description for the configuration that will be displayed to the Rational Asset Manager administrator.
defaultValue - Relationship names separated by a semicolon.
Since:
7.1
Method Detail

setValues

public void setValues(java.lang.String[] values)
Parameters:
checkboxValues - The values to set.
Since:
7.1.1

getValues

public java.lang.String[] getValues()
Returns:
Returns the checkboxValues.
Since:
7.1.1

setLabels

public void setLabels(java.lang.String[] labels)
Parameters:
labels - The labels to set.
Since:
7.1.1

getLabels

public java.lang.String[] getLabels()
Returns:
Returns the labels.
Since:
7.1.1

setType

public void setType(char type)
Parameters:
type - The type to set.
Since:
7.1.1

getType

public char getType()
Returns:
Returns the type.
Since:
7.1.1

isCheckbox

public boolean isCheckbox()

isMultiSelect

public boolean isMultiSelect()