public class Osid
extends java.lang.Object
Constructor and Description |
---|
Osid(java.lang.String name)
Constructs a new
Osid . |
Modifier and Type | Method and Description |
---|---|
void |
addEnumeration(OsidEnumeration enumeration)
Adds an enumeration to this osid.
|
void |
addInterface(OsidInterface iface)
Adds an interface to this osid.
|
OsidEnumeration |
getEnumeration(java.lang.String name)
Gets an enumeration defined in this Osid.
|
java.util.Collection<OsidEnumeration> |
getEnumerations()
Gets all enumerations defined in this Osid.
|
OsidInterface |
getInterface(java.lang.String name)
Gets an interface defined in this Osid.
|
java.util.Collection<OsidInterface> |
getInterfaces()
Gets all interfaces defined in this Osid.
|
java.lang.String |
getName()
Gets the name of this Osid.
|
public Osid(java.lang.String name)
Osid
.name
- the name of the Osid;public java.lang.String getName()
public OsidInterface getInterface(java.lang.String name)
name
- the name of the interface to retrievenull
if not foundpublic java.util.Collection<OsidInterface> getInterfaces()
public void addInterface(OsidInterface iface)
iface
- the interface to addpublic OsidEnumeration getEnumeration(java.lang.String name)
name
- the name of the enumeration to retrievenull
if not foundpublic java.util.Collection<OsidEnumeration> getEnumerations()
public void addEnumeration(OsidEnumeration enumeration)
enumeration
-