Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

User Story #86 (assigned)

Opened 18 years ago

Last modified 13 years ago

Create ITypes interface for meta-work with model.

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: GatherReqs
Component: API Keywords: n.a.
Cc: Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.

Description

A service is needed for working with the model at a meta-level and perhaps working with the meta-model (ha ha).

See http://cvs.openmicroscopy.org.uk/tiki/tiki-index.php?page=ApiRequestsOMERO
for use cases.

Other possible methods include:

  • IEnum iTypes.enum( Class k, String value )
  • Permissions iTypes.permissions( Class k )

Originally : http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=656

Change History (11)

comment:1 Changed 18 years ago by jmoore

  • Priority changed from minor to major

See Omero3Connector#L346 for an example of iType.getEnum.

Also:

  • List<E> itype.allEnumerations( Class<E extends IEnum> k);
  • E itype.getEnumeration( Class<E extends IEnum> k, String string );

(The generic representations are dependent on #96 for reworking the model; and #140 for defining IEnum.)

comment:2 Changed 18 years ago by jmoore

  • Keywords iteration3 added
  • Status changed from new to assigned

Needed for #52 (multiple annotations).

comment:3 Changed 18 years ago by jmoore

  • Keywords iteration3 removed

ITypes has been created in skeletal form in r704, but is not implemented. It was interestingly, not needed for #52, and actually won't be needed for #156 either, so I'm moving this back out of iteration3.

comment:4 Changed 18 years ago by jmoore

  • Milestone changed from 3.0-M2 to 3.0-M3

comment:5 Changed 18 years ago by jmoore

r765 (properly) generified the ITypes interface while r768 started using the for login. Several methods within BasicSecuritySystem (r768) should eventually be refactored into ITypes

comment:6 Changed 18 years ago by jmoore

r816 adds createEnumeration

comment:7 Changed 18 years ago by jmoore

  • Keywords iteration5 added

ITypes should provide access to ExtendedMetadata, added in r921 for #337. Rescheduling with the SecuritySystem reworking (#328)

comment:8 Changed 18 years ago by jmoore

May also be able to remove PostProcessInjector.

comment:9 Changed 18 years ago by jmoore

  • Keywords iteration5 removed
  • Milestone changed from 3.0-M3 to 3.0-M4

Not done during the reworking. But rescheduling for M4. It will eventually be useful to make these operations public.

comment:10 Changed 17 years ago by jmoore

  • Milestone changed from 3.0-Beta2 to GatherReqs

There were also several suggestions during the Paris mtg, such as:

  • Class[][] getHierarchies()

comment:11 Changed 13 years ago by jmoore

  • Priority changed from major to minor
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65743 sec.)

We're Hiring!