com.togethersoft.openapi.ide
Class IdeElementDefault
- public class IdeElementDefault
- implements IdeElement
Class IdeElementDefault represents a default implementation of
IdeElement with the single service object.
- Author:
- TogetherSoft
- Since: Together 3.1
| Constructor Summary |
IdeElementDefault(Object object) Constructs a new instance of IdeElementDefault with the specified service. |
| Method Summary |
Object | getService(Class clazz) Returns service object described by the specified class. |
myObject
private Object myObject
IdeElementDefault
public IdeElementDefault(Object object)
- Constructs a new instance of
IdeElementDefault with the specified service.- Parameters:
- object
Object that provides a certain service
getService
public Object getService(Class clazz)
- Returns service object described by the specified class. If the specified
class does not describe any service object, returns null.- Parameters:
- clazz
Class that describes the required service object - Returns:
Object that represents the service, or null if such service does not exist
to Class java.lang.Object