public class OsidInterface
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
OsidInterface(java.lang.String name)
Constructs a new
OsidInterface . |
Modifier and Type | Method and Description |
---|---|
protected void |
addMethod(OsidMethod method) |
OsidMethod |
getMethod(java.lang.String name)
Gets a method defined in this interface.
|
java.util.Collection<OsidMethod> |
getMethods()
Gets all methods defined in this interface.
|
java.lang.String |
getName()
Gets the name of this interface.
|
protected OsidInterface(java.lang.String name)
OsidInterface
.name
- the name of the interfacepublic java.lang.String getName()
public java.util.Collection<OsidMethod> getMethods()
public OsidMethod getMethod(java.lang.String name)
name
- the name of the method to retrievenull
if not foundprotected void addMethod(OsidMethod method)