Ticket #760 (closed Enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Core API: add generic getObject(id) method

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.5
Component: DeepaMehta Standard Distribution Version: 4.4
Keywords: Cc: dgf, Malte
Complexity: 3 Area: Application Framework / API
Module: deepamehta-core

Description

The Core service should provide an additional method:

DeepaMehtaObject getObject(long id)

It would return a Topic or Association object depending weather the given ID refers to a topic or association respectively.

This would support polymorphic plugin APIs.

Note: DeepaMehtaObject itself is an abstract class. It can not be instantiated.

Change History

comment:1 Changed 6 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 6 years ago by Jörg Richter <jri@…>

In 6f49f1a89d0438c168a72b01c7359026810cdcc8/deepamehta:

Core API: add generic getObject() method (#760).

1 new method in DeepaMehtaService:

DeepaMehtaObject getObject(long id)

Returns either a Topic or an Association object depending weather
the given ID refers to a topic or an association respectively.

See #760.

comment:3 Changed 6 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.