com.ptc.core.ca.co.common.config
Interface CoConfiguration

All Known Subinterfaces:
CoConfigFeature
All Known Implementing Classes:
CoConfigurationImpl

Deprecated.

@Deprecated
public interface CoConfiguration

CoConfiguration interface describes the basic aspects of the configuration element like tag, parent, sub-elements, etc.

Supported API: true

Extendable: false


Field Summary
static String TAG
          Deprecated. Label for the attribute; the value of the tag of the configuration element.
 
Method Summary
 void addProperty(String name, String value)
          Deprecated. Adds the attribute value for the attribute with a given name.
 String getId()
          Deprecated. Returns id of the configuration element.
 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.
 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.
 String toString()
          Deprecated. Converts to a string sutable for debug purposes.
 

Field Detail

TAG

static final String TAG
Deprecated. 
Label for the attribute; the value of the tag of the configuration element.

Supported API: true

See Also:
Constant Field Values
Method Detail

getTag

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

Supported API: true

Returns:
String

getPropertyNames

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

Supported API: true

Returns:
Iterator
Throws:
WTException

getProperty

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

Supported API: true

Parameters:
name -
Returns:
String
Throws:
WTException

addProperty

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

Supported API: true

Parameters:
name -
value -
Throws:
WTException

getSubElementConfigurationsForTag

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

Parameters:
tag -
Returns:
ArrayList
Throws:
WTException

getSubElementConfigurations

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

Supported API: true

Returns:
Iterator
Throws:
WTException

getSubElementConfiguration

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

Parameters:
id -
Returns:
CoConfiguration
Throws:
WTException

getSubElements

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

Supported API: true

Returns:
Iterator
Throws:
WTException

getSubElementForId

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

Parameters:
id -
Returns:
CoConfiguration
Throws:
WTException

getSubElementsForTag

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

Supported API: true

Parameters:
tag -
Returns:
ArrayList
Throws:
WTException

getSubElementConfigurationForTag

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

Parameters:
tag -
Returns:
CoConfiguration
Throws:
WTException

getSubElementForTag

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

Parameters:
tag -
Returns:
CoConfiguration
Throws:
WTException

getId

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

Supported API: true

Returns:
String
Throws:
WTException

getParent

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

Supported API: true

Returns:
CoConfiguration

toString

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

Supported API: true

Overrides:
toString in class Object
Returns:
String