This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 229827 - Need strongly typed getter methods in COSMOS data model
Summary: Need strongly typed getter methods in COSMOS data model
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: amehrega CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-01 13:54 EDT by Hubert Leung CLA
Modified: 2012-01-03 13:53 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Leung CLA 2008-05-01 13:54:34 EDT
The org.eclipse.cosmos.dc.cmdbf.services.query.transform.response.artifacts.IEdges interface requires the use of getElements() to get the relationship objects in type IGraphElement.  I expect to have a getRelationship() method that return an array of Relationship object.  

The same comment apply to other getter methods of the data model.  I expect the return object should be type and does not require me to check the object type and do casting.
Comment 1 amehrega CLA 2008-06-10 11:56:29 EDT
Fix checked into CVS - HEAD.