Villemos / hbird-business

The business tier of the Open Ground Segment; Hummingbird
www.hbird.de
Apache License 2.0
2 stars 2 forks source link

Improve IPart & Part #19

Closed laurikimmel closed 11 years ago

laurikimmel commented 11 years ago

Part class has two methods with almost the same logic - setParent and setIsPartOf. Remove one of them.

Store parents absolute name in IPart / Part instead of parent object. This will reduce amount of data at serialization and deserialization.

Add new method resolveParent to retreive the IPart parent object on demand.

See #18 - Add getByAbsoluteName method to ICatalogue

Villemos commented 11 years ago
  1. Removed parent attribute completly.
  2. ID of parent stored in attribute isPartOf
  3. resolveParent added to IPartManagement API