com.ptc.core.ca.co.common.config
Class CoConfigurationImpl

java.lang.Object
  extended by com.ptc.core.ca.co.common.config.CoConfigurationImpl
All Implemented Interfaces:
CoConfigFeature, CoConfiguration, Serializable

Deprecated.

@Deprecated
public class CoConfigurationImpl
extends Object
implements CoConfigFeature, Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ptc.core.ca.co.common.config.CoConfiguration
TAG
 
Method Summary
 void addProperty(String name, String value)
          Deprecated. Adds the attribute value for the attribute with a given name.
 ArrayList getAllFeatureValues(CoEnvData env)
          Deprecated. Returns a list of all configuration features.
 Boolean getBooleanValue(com.ptc.core.ca.co.common.config.CoConfigFeatureType key, CoEnvData env)
          Deprecated. Return a boolean value for a given key.
 String getId()
          Deprecated. Returns id of the configuration element.
 Integer getIntegerValue(com.ptc.core.ca.co.common.config.CoConfigFeatureType key, CoEnvData env)
          Deprecated. Return an integer value for a given key.
 CoConfiguration getParent()
          Deprecated. Returns the parent of the configuration element.
 String getProperty(String name)
          Deprecated. Returns the attribute value for the attribute with a given name.
 Iterator getPropertyNames()
          Deprecated. Returns the iterator to iterate through a list of attributes.
 String getStringValue(com.ptc.core.ca.co.common.config.CoConfigFeatureType key, CoEnvData env)
          Deprecated. Return a string value for a given key,

Supported API: true
 CoConfiguration getSubElementConfiguration(String id)
          Deprecated. Returns the configuration of sub-element of this element (CoConfiguration defined with the specified id.
 CoConfiguration getSubElementConfigurationForTag(String tag)
          Deprecated. Returns configuration sub-elements of this element that has a tag specified by 'tag' parameter.
 Iterator getSubElementConfigurations()
          Deprecated. Returns a list of configuration elements that are sub-elements (CoConfiguration of this element.
 ArrayList getSubElementConfigurationsForTag(String tag)
          Deprecated. Returns a list of configuration sub-elements of this element (CoConfiguration defined by the specified tag.
 CoConfiguration getSubElementForId(String id)
          Deprecated. Returns the configuration of sub-element of this element (CoConfiguration defined with the specified id.
 CoConfiguration getSubElementForTag(String tag)
          Deprecated. Returns configuration sub-elements of this element that has a tag specified by 'tag' parameter.
 Iterator getSubElements()
          Deprecated. Returns a list of configuration elements that are sub-elements (CoConfiguration of this element.
 ArrayList getSubElementsForTag(String tag)
          Deprecated. Returns a list of those sub-elements that have given tag

Supported API: true
 String getTag()
          Deprecated. Returns the tag of the configuration element.
 Object getValue(com.ptc.core.ca.co.common.config.CoConfigFeatureType key, CoEnvData env)
          Deprecated. Returns a value for a given key.
 ArrayList getValues(com.ptc.core.ca.co.common.config.CoConfigFeatureType key, CoEnvData env)
          Deprecated. Returns a list of values for a given key.
 String toString()
          Deprecated. Converts to a string sutable for debug purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getValue

public Object getValue(com.ptc.core.ca.co.common.config.CoConfigFeatureType key,
                       CoEnvData env)
                throws WTException
Deprecated. 
Returns a value for a given key.

Supported API: true

Specified by:
getValue in interface CoConfigFeature
Parameters:
key -
env -
Returns:
Object
Throws:
WTException

getValues

public ArrayList getValues(com.ptc.core.ca.co.common.config.CoConfigFeatureType key,
                           CoEnvData env)
                    throws WTException
Deprecated. 
Returns a list of values for a given key.

Supported API: true

Specified by:
getValues in interface CoConfigFeature
Parameters:
key -
env -
Returns:
ArrayList
Throws:
WTException

getAllFeatureValues

public ArrayList getAllFeatureValues(CoEnvData env)
                              throws WTException
Deprecated. 
Returns a list of all configuration features.

Supported API: true

Specified by:
getAllFeatureValues in interface CoConfigFeature
Parameters:
env -
Returns:
ArrayList
Throws:
WTException

getStringValue

public String getStringValue(com.ptc.core.ca.co.common.config.CoConfigFeatureType key,
                             CoEnvData env)
                      throws WTException
Deprecated. 
Return a string value for a given key,

Supported API: true

Specified by:
getStringValue in interface CoConfigFeature
Parameters:
key -
env -
Returns:
String
Throws:
WTException

getIntegerValue

public Integer getIntegerValue(com.ptc.core.ca.co.common.config.CoConfigFeatureType key,
                               CoEnvData env)
                        throws WTException
Deprecated. 
Return an integer value for a given key.

Supported API: true

Specified by:
getIntegerValue in interface CoConfigFeature
Parameters:
key -
env -
Returns:
Integer
Throws:
WTException

getBooleanValue

public Boolean getBooleanValue(com.ptc.core.ca.co.common.config.CoConfigFeatureType key,
                               CoEnvData env)
                        throws WTException
Deprecated. 
Return a boolean value for a given key.

Supported API: true

Specified by:
getBooleanValue in interface CoConfigFeature
Parameters:
key -
env -
Returns:
Boolean
Throws:
WTException

getTag

public String getTag()
Deprecated. 
Returns the tag of the configuration element.

Supported API: true

Specified by:
getTag in interface CoConfiguration
Returns:
String

getPropertyNames

public Iterator getPropertyNames()
                          throws WTException
Deprecated. 
Returns the iterator to iterate through a list of attributes.

Supported API: true

Specified by:
getPropertyNames in interface CoConfiguration
Returns:
Iterator
Throws:
WTException

getProperty

public String getProperty(String name)
                   throws WTException
Deprecated. 
Returns the attribute value for the attribute with a given name.

Supported API: true

Specified by:
getProperty in interface CoConfiguration
Parameters:
name -
Returns:
String
Throws:
WTException

addProperty

public void addProperty(String name,
                        String value)
                 throws WTException
Deprecated. 
Adds the attribute value for the attribute with a given name.

Supported API: true

Specified by:
addProperty in interface CoConfiguration
Parameters:
name -
value -
Throws:
WTException

getSubElementConfigurationsForTag

public ArrayList getSubElementConfigurationsForTag(String tag)
                                            throws WTException
Deprecated. 
Returns a list of configuration sub-elements of this element (CoConfiguration defined by the specified tag.

Supported API: true

Specified by:
getSubElementConfigurationsForTag in interface CoConfiguration
Parameters:
tag -
Returns:
ArrayList
Throws:
WTException

getSubElementConfigurations

public Iterator getSubElementConfigurations()
                                     throws WTException
Deprecated. 
Returns a list of configuration elements that are sub-elements (CoConfiguration of this element.

Supported API: true

Specified by:
getSubElementConfigurations in interface CoConfiguration
Returns:
Iterator
Throws:
WTException

getSubElementConfiguration

public CoConfiguration getSubElementConfiguration(String id)
                                           throws WTException
Deprecated. 
Returns the configuration of sub-element of this element (CoConfiguration defined with the specified id.

Supported API: true

Specified by:
getSubElementConfiguration in interface CoConfiguration
Parameters:
id -
Returns:
CoConfiguration
Throws:
WTException

getSubElements

public Iterator getSubElements()
                        throws WTException
Deprecated. 
Returns a list of configuration elements that are sub-elements (CoConfiguration of this element.

Supported API: true

Specified by:
getSubElements in interface CoConfiguration
Returns:
Iterator
Throws:
WTException

getSubElementForId

public CoConfiguration getSubElementForId(String id)
                                   throws WTException
Deprecated. 
Returns the configuration of sub-element of this element (CoConfiguration defined with the specified id.

Supported API: true

Specified by:
getSubElementForId in interface CoConfiguration
Parameters:
id -
Returns:
CoConfiguration
Throws:
WTException

getSubElementsForTag

public ArrayList getSubElementsForTag(String tag)
                               throws WTException
Deprecated. 
Returns a list of those sub-elements that have given tag

Supported API: true

Specified by:
getSubElementsForTag in interface CoConfiguration
Parameters:
tag -
Returns:
ArrayList
Throws:
WTException

getSubElementConfigurationForTag

public CoConfiguration getSubElementConfigurationForTag(String tag)
                                                 throws WTException
Deprecated. 
Returns configuration sub-elements of this element that has a tag specified by 'tag' parameter.

Supported API: true

Specified by:
getSubElementConfigurationForTag in interface CoConfiguration
Parameters:
tag -
Returns:
CoConfiguration
Throws:
WTException

getSubElementForTag

public CoConfiguration getSubElementForTag(String tag)
                                    throws WTException
Deprecated. 
Returns configuration sub-elements of this element that has a tag specified by 'tag' parameter.

Supported API: true

Specified by:
getSubElementForTag in interface CoConfiguration
Parameters:
tag -
Returns:
CoConfiguration
Throws:
WTException

getId

public String getId()
             throws WTException
Deprecated. 
Returns id of the configuration element.

Supported API: true

Specified by:
getId in interface CoConfiguration
Returns:
String
Throws:
WTException

getParent

public CoConfiguration getParent()
Deprecated. 
Returns the parent of the configuration element.

Supported API: true

Specified by:
getParent in interface CoConfiguration
Returns:
CoConfiguration

toString

public String toString()
Deprecated. 
Converts to a string sutable for debug purposes.

Supported API: true

Specified by:
toString in interface CoConfiguration
Overrides:
toString in class Object
Returns:
String