Another question I had for the group is about the naming of methods on the I*Model classes.
We have things like IDigitalSubjectModel::getAttributes(). Well, we all know that a digital subject's model doesn't list attributes, it lists models of attributes.
Should we rename these methods to things like IDigitalSubjectModel::getAttributeModels()?
Jim
>>> "Sergey Lyakhov" <slyakhov@xxxxxxxxxxxxxx> 5/24/07 11:49 AM >>>
Jim,
In addition:
5. We need to add two methods int getMinCardinality() and int getMaxCardinality() to IAttributeModel interface.
Thanks, Sergey Lyakhov
----- Original Message -----
Sent: Tuesday, May 22, 2007 9:44 PM
Subject: [higgins-dev] IdAS notes
Jim,
I have some notes about IdAS:
1. I suppose IMetadataModel interface should extend IModel interface (to inherit IDisplayData getDisplayData() method);
2. We need to add two methods getMetadataSet() and getMetadata(URI) to IDigitalSubjectModel, IAttributeModel and IAttributeValueModel;
3. IAttributeValueModel interface declares some methods (isValidValue(Object valueForm), isValid(String lexicalForm), toValueForm(String lexicalForm) and toLexicalForm(Object value)) which are not reqiured by IAttributeComplexValueModel. I proprose to move these methods from IAttributeValueModel to IAttributeSimpleValueModel;
4. There are some classes which contain wrong HOWL URIs (at least wrong base URI - AuthNNamePasswordMaterials, AuthNSelfIssuedMaterials etc.). Pershaps we need some class which will contain HOWL URIs constants.
Thanks, Sergey Lyakhov
_______________________________________________ higgins-dev mailing list higgins-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/higgins-dev
|