/// <summary>
 /// The bLibrarys contained in this bLibrary.
 /// </summary>
 public IEnumerable <IBLibrary> GetBLibraries()
 {
     foreach (var package in UmlPackage.GetPackagesByStereotype("bLibrary"))
     {
         yield return(new UpccBLibrary(package));
     }
 }
 /// <summary>
 /// Retrieves a bLibrary by name.
 /// <param name="name">A bLibrary's name.</param>
 /// <returns>The bLibrary with the given <paramref name="name"/> or <c>null</c> if no such bLibrary is found.</returns>
 /// </summary>
 public IBLibrary GetBLibraryByName(string name)
 {
     if (string.IsNullOrEmpty(name))
     {
         return(null);
     }
     foreach (var package in UmlPackage.GetPackagesByStereotype("bLibrary"))
     {
         if (name == package.Name)
         {
             return(new UpccBLibrary(package));
         }
     }
     return(null);
 }