com.wles.blm
Class SSMProviderConfigElement

java.lang.Object
  extended bycom.wles.blm.SSMProviderConfigElement

public class SSMProviderConfigElement
extends java.lang.Object

Configuration Element object


Constructor Summary
SSMProviderConfigElement()
          Constructs an empty Configuration Element object.
 
Method Summary
static java.lang.String decodeAttributeName(java.lang.String attributeName)
          Decode a mangled attribute name so it matches how it's presented in the MDF.
 java.lang.String getName()
          Return the name of the given configuration element.
 java.lang.String getValue()
          Return the value of the given configuration element.
 java.lang.String[] getValueList()
          Return the list representation of the value.
 boolean isList()
          Specifies whether this particular attribute is a list attribute or not.
 void setName(java.lang.String name)
          Set the name of the configuration element.
 void setValue(java.lang.String value)
          Set the value of the configuration element.
 void setValue(java.lang.String[] valuelist)
          Set the list value of the configuration element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSMProviderConfigElement

public SSMProviderConfigElement()
Constructs an empty Configuration Element object.

Method Detail

decodeAttributeName

public static java.lang.String decodeAttributeName(java.lang.String attributeName)
Decode a mangled attribute name so it matches how it's presented in the MDF. This code was ripped directly from the console for consistency.

Parameters:
attributeName - The attribute to mangle

getName

public java.lang.String getName()
Return the name of the given configuration element.

Returns:
String The name of the configuration element.

getValue

public java.lang.String getValue()
Return the value of the given configuration element. Lists will contain more than one element.

Returns:
String The value of the non list property.

getValueList

public java.lang.String[] getValueList()
Return the list representation of the value.

Returns:
String[] Each element in the list is one value in the list.

isList

public boolean isList()
Specifies whether this particular attribute is a list attribute or not.

Returns:
boolean True if it is a list, false if not.

setName

public void setName(java.lang.String name)
             throws BadParameterException
Set the name of the configuration element.

Parameters:
name - The name of the configuration element.
Returns:
void.
Throws:
BadParameterException

setValue

public void setValue(java.lang.String value)
              throws BadParameterException
Set the value of the configuration element.

Parameters:
value - The string representation of the value to set.
Returns:
void.
Throws:
BadParameterException

setValue

public void setValue(java.lang.String[] valuelist)
              throws BadParameterException
Set the list value of the configuration element.

Parameters:
valuelist - The list of values to set.
Returns:
void
Throws:
BadParameterException


Copyright © 2005 BEA Systems Inc. All Rights Reserved.