Class Osid
java.lang.Object
org.osid.meta.Osid
Represents an OSID.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEnumeration(OsidEnumeration enumeration) Adds an enumeration to this osid.voidaddInterface(OsidInterface iface) Adds an interface to this osid.getEnumeration(String name) Gets an enumeration defined in this Osid.Gets all enumerations defined in this Osid.getInterface(String name) Gets an interface defined in this Osid.Gets all interfaces defined in this Osid.getName()Gets the name of this Osid.
-
Constructor Details
-
Osid
-
-
Method Details
-
getName
-
getInterface
Gets an interface defined in this Osid.- Parameters:
name- the name of the interface to retrieve- Returns:
- the interface or
nullif not found
-
getInterfaces
Gets all interfaces defined in this Osid.- Returns:
- a list of OSID interfaces
-
addInterface
Adds an interface to this osid.- Parameters:
iface- the interface to add
-
getEnumeration
Gets an enumeration defined in this Osid.- Parameters:
name- the name of the enumeration to retrieve- Returns:
- the enumeration or
nullif not found
-
getEnumerations
Gets all enumerations defined in this Osid.- Returns:
- a list of OSID enumerations
-
addEnumeration
Adds an enumeration to this osid.- Parameters:
enumeration- enuemration to add
-