CWProperty class

The CWProperty class represents a hierarchical connector configuration property for a Java connector. A hierarchical connector configuration property can contain one or more values and these values can be either string values or other (child) connector properties.

Note:
The CWProperty class extends the CxProperty class of the low-level Java connector library. For more information on the classes of the low-level Java connector library, see Overview of the low-level Java connector library.

Table 125 summarizes the methods in the CWProperty class.

Table 125. Member methods of the CWProperty class
Member method Description Page
CWProperty() Creates a connector-property object. CWProperty()
getCardinality() Retrieves the cardinality of the connector configuration property (single-valued or multi-values). getCardinality()
getChildPropValue() Retrieves all string values for a specified child property. getChildPropValue()
getChildPropsWithPrefix() Retrieves all child properties from the hierarchical connector configuration property whose names match a specified prefix. getChildPropsWithPrefix()
getEncryptionFlag() Retrieves the encryption flag for the connector configuration property. getEncryptionFlag()
getHierChildProp() Retrieves a specified child property from the hierarchical connector configuration property. getHierChildProp()
getHierChildProps() Retrieves all child properties from the hierarchical connector configuration property. getHierChildProps()
getHierProp() Retrieves a specified child property from the hierarchical connector configuration property., at any level in the property hierarchy. getHierProp()
getName() Retrieves the name of the connector configuration property. getName()
getPropType() Retrieves the property type for the connector configuration property (simple or hierarchical). getPropType()
getStringValues() Retrieves all string values from the hierarchical connector configuration property. getStringValues()
hasChildren() Determines whether the connector configuration property has any child properties. hasChildren()
hasValue() Determines whether the connector configuration property has any string values. hasValue()
setEncryptionFlag() Sets the encryption flag for the hierarchical connector configuration property. setEncryptionFlag()
setValues() Sets the values of the hierarchical connector configuration property. setValues()

Copyright IBM Corp. 1997, 2004