Association
Description |
Represents an item in the Association collection in the database. Each item represents a connection between a product with its Feed, Static Feed, Operating System and Signature. |
Important public methods of this class are:
Name |
Return type |
Description |
Association |
|
The constructor of this class. The type of association can be UNDEFINED, OM_DEF_ASSOCIATION, OM_AS_DEF_ASSOCIATION, PRODUCT_VERSION_MINOR_ASSOCIATION, PRODUCT_VERSION_MAJOR_ASSOCIATION, REMEDIATION_LINK_ASSOCIATION or PRODUCT_DEFUNCT_MARKER_ASSOCIATION. The default constructor sets the association type to UNDEFINED. |
getStaticID |
wstring |
Returns the id of the static feed that this association refers to. |
getFeedID |
int |
Returns the id of the feed that this association refers to. |
getCPE |
wstring |
Returns the CPE info of this association. |
getType |
AssociationTypeEnum |
Returns the type of this association. The type of association can be UNDEFINED, OM_DEF_ASSOCIATION, OM_AS_DEF_ASSOCIATION, PRODUCT_VERSION_MINOR_ASSOCIATION, PRODUCT_VERSION_MAJOR_ASSOCIATION, REMEDIATION_LINK_ASSOCIATION or PRODUCT_DEFUNCT_MARKER_ASSOCIATION. |
getAssociationType |
AssociationType |
Returns an AssociationType object based on the type of this association. |
isBelongTo |
bool |
Returns true if the association belong to a specified product and false otherwise. |