methods for interfaces in component diagram