add_relation_by_type
Description:
[ Version ( since = "1.9" ) ]
public void add_relation_by_type (RelationType relationship, Object target)
public void add_relation_by_type (RelationType relationship, Object target)
Add a new relation of the specified type with the specified target to the current relation set if the relation set does not contain a relation of that type.
If it is does contain a relation of that typea the target is added to the relation.
Parameters:
this |
an RelationSet |
relationship |
an RelationType |
target |
an Object |