public HashSet<UML.Profiles.TaggedValue> getTaggedValuesWithValue(string value)
{
HashSet<UML.Profiles.TaggedValue> taggedValues = new HashSet<TSF.UmlToolingFramework.UML.Profiles.TaggedValue>();
//elements
foreach (ElementTag elementTag in this.getElementTagsWithValue(value))
{
taggedValues.Add(elementTag);
}
//attribute
foreach (AttributeTag attributeTag in this.getAttributeTagsWithValue(value))
{
taggedValues.Add(attributeTag);
}
//operations
foreach (OperationTag operationTag in this.getOperationTagsWithValue(value))
{
taggedValues.Add(operationTag);
}
//parameters
foreach (ParameterTag parameterTag in this.getParameterTagsWithValue(value))
{
taggedValues.Add(parameterTag);
}
//relations
foreach (RelationTag relationTag in this.getRelationTagsWithValue(value))
{
taggedValues.Add(relationTag);
}
return taggedValues;
}