TIBCO Adapter SDK C++ Reference
Up | Next
MAssociationEndpointDescription::getAssociationType
MAssociationEndpointDescription
Return the association type for this MAssociationEndpointDescription from the point of view of this endpoint. The type is one of the following:

M_ASSOCIATION_BY_CONTAINMENT. Implies that an instance of class A "owns" one or more instances of class B. No other class has ownership of the same B instance. If class A is deleted, logically the B instance should be deleted also.

M_ASSOCIATION_BY_REFERENCE. An instance of class A is associated with zero or more instances of class B.

The B instances may be referenced by more than one instance of A. This is the most general form of association and is the default if no type is specified.

Remarks
This method is only to be used when introspecting metadata. The constraints are not currently enforced during creation of MInstance objects.

See also MAssociationType.

Declaration
virtual MAssociationType getAssociationType() const;
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.