Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[higgins-dev] IHasAttributes.getAttributes(URI)

>>> Jim Sermersheim 2/26/07 4:50 PM >>>
>2. I propose to add "Iterable<IAttribute> getAttributes(URI attrID)" method
>to IHasAttributes interface. This method will return a list of attibutes of
>the same type
 
I agree -- this seems useful. (https://bugs.eclipse.org/bugs/show_bug.cgi?id=175626).  We can have multiple attributes which use the same type (attrID) as long as they have different metadata.  This allows us to get all attributes back of a specified type (not differentiating by metadata)
 
>and will be used instead of IProperty.getValues() to store a
>list of values.
 
The current model allows for multiple attributes of a given type, and multiple values of a given attribute (if we decided to do away with that, then yes, this applies)
 
Jim
 

Back to the top