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

Constructor Summary
IdeElementDefault(Object object)
           Constructs a new instance of IdeElementDefault with the specified service.

Method Summary
 ObjectgetService(Class clazz)
           Returns service object described by the specified class.

Constructor Detail

IdeElementDefault

public IdeElementDefault(Object object)
Constructs a new instance of IdeElementDefault with the specified service.
Parameters:
object - Object that provides a certain service
Method Detail

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