Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] IdAS notes

Sergey,
 
I'm working through these and I noticed something.  IContextModel has a getAttributes method.  Do you (or anyone) know what that's for?  A context doesn't have attributes.
 
If it's a convenient way of asking for a list of all attributes valid for all subject types allowed by this context, then it seems we should also add getMetadataSet to IContextModel as well.
 
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

Back to the top