public class Osids
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addOsid(Osid osid) |
static Osids |
getInstance()
Gets an instance of this class.
|
Osid |
getOsid(OSID osid)
Gets an Osid by OSID.
|
Osid |
getOsid(java.lang.String name)
Gets an Osid by package name.
|
java.util.Collection<Osid> |
getOsids()
Gets all Osids.
|
public Osid getOsid(java.lang.String name)
name
- the package name of the osid to retrievenull
if not foundpublic Osid getOsid(OSID osid)
osid
- an OSIDOsid
or null
if not foundpublic java.util.Collection<Osid> getOsids()
public void addOsid(Osid osid)
public static Osids getInstance()