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.
|
boolean |
isDeprecated()
Tests if the interface is specified as deprecated.
|
boolean |
isNew()
Tests if the interface is specified as new.
|
protected void |
setDeprecated(java.lang.String asOf) |
protected void |
setNew(java.lang.String asOf) |
protected OsidInterface(java.lang.String name)
OsidInterface
.name
- the name of the interfacepublic java.lang.String getName()
public boolean isDeprecated()
true
if the interface is deprecated,
false
otherwiseprotected void setDeprecated(java.lang.String asOf)
public boolean isNew()
true
if the interface is new,
false
otherwiseprotected void setNew(java.lang.String asOf)
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)