Class Osids

java.lang.Object
org.osid.meta.Osids

public class Osids extends Object
Represents an OSID.
  • Method Details

    • getOsid

      public Osid getOsid(String name)
      Gets an Osid by package name.
      Parameters:
      name - the package name of the osid to retrieve
      Returns:
      the osid or null if not found
    • getOsid

      public Osid getOsid(OSID osid)
      Gets an Osid by OSID.
      Parameters:
      osid - an OSID
      Returns:
      an Osid or null if not found
    • getOsids

      public Collection<Osid> getOsids()
      Gets all Osids.
      Returns:
      a list of Osids
    • addOsid

      public void addOsid(Osid osid)
    • getInstance

      public static Osids getInstance()
      Gets an instance of this class.
      Returns:
      instance of Osids