contains_target


Description:

public bool contains_target (RelationType relationship, Object target)

Determines whether the relation set contains a relation that matches the specified pair formed by type relationship and object target.

Parameters:

this

an RelationSet

relationship

an RelationType

target

an Object

Returns:

true if this contains a relation with the relationship type relationship with an object target, false otherwise