Feature #4578

Full OrderedSet support for ObjMap2

Added by Marko Luukkainen about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:2013-12-04
Priority:4Due date:
Assignee:Marko Luukkainen% Done:

100%

Category:-Spent time:-
Target version:1.13.1
Release notes:
Story pointsS
Velocity based estimate-
ReleaseSimantics 1.13.2Release relationshipAuto

Associated revisions

Revision 28462
Added by Marko Luukkainen about 4 years ago

OrderedSet support (graph mappings)
Code cleanup.

fixes #4578

History

#1 Updated by Marko Luukkainen about 4 years ago

  • Subject changed from Full OrederedSet support for ObjMap2 to Full OrderedSet support for ObjMap2

#2 Updated by Marko Luukkainen about 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r28462.

#3 Updated by Marko Luukkainen about 4 years ago

Applied in changeset r28462.

#4 Updated by Marko Luukkainen about 4 years ago

  • Status changed from Resolved to In Progress
  • % Done changed from 100 to 0

The class must use @OrderedSetType annotation

Getter

List<T> get()
must use @OrderedElementsGet annotation

Adder

void add(int index, T item)
must use @OrderedElementsAdd annotation

Remover

void remove(T item)
must use @OrderedElementsRem annotation.

Since remover does not use indices, same element may be in the list only once. Also, the OrderedSet mapping is only implemented with direct graph mappings, not with structural mappings.

#5 Updated by Marko Luukkainen about 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#6 Updated by Tuukka Lehtonen about 4 years ago

  • Target version set to 1.13.1

#7 Updated by Tuukka Lehtonen about 4 years ago

  • Status changed from Resolved to Closed
  • Story points set to 0

Also available in: Atom PDF