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

Jim,
 
I need the following to have working Jena-based implementation of IdAS:
 
Thanks,
Sergey Lyakhov
----- Original Message -----
Sent: Saturday, June 02, 2007 1:02 AM
Subject: Re: [higgins-dev] IdAS notes

Thanks Sergey.
 
I'm starting to lose track of what's done and not so I opened bugs for these.
 
#5: https://bugs.eclipse.org/bugs/show_bug.cgi?id=190590 <- not sure I understand why we need this
 
Jim

>>> "Sergey Lyakhov" <slyakhov@xxxxxxxxxxxxxx> 6/1/07 8:00 AM >>>
Jim,

There are some additional proposals:

6.  IMetadata interface has two methods - getID() - returns HOWL type, and
get Type() - returns xml type of data. We need the same methods for
ISimpleValue, because it also has two such types. In addition, (it is not
principal), I think it will be more correct to use the same name of methods
which return the HOWL type of objects (subject, attribute, values etc.). So,
I propose to use getType() name for methods which return HOWL type (of
subject, attribute, value, metadata) and getXMLType() to return xml type of
simple value and metadata.

7. There are some methods in IAttribute (addValue(URI), addSimpleValue(URI,
Object) and addComplexValue(URI)), which require URI type of new value. This
URI parameter is redundant, because Attribute can have only one type of
value (type of values is equal to the type of attribute).

8. Perhaps it will be useful to add ISingleValuedAttribute
getSingleValuedAttribute(URI attrID) method to IHasAttributes interface.

9. We need to add cancelUpdates() method to IContext interface. This method
should be used by user to cancel all changes made after last invocation of
applyUpdates(). I am sure it is very important method.

Thanks,
Sergey Lyakhov

----- Original Message -----
From: Sergey Lyakhov
To: higgins-dev@xxxxxxxxxxx
Sent: Thursday, May 24, 2007 8:49 PM
Subject: Re: [higgins-dev] IdAS notes


Jim,

In addition:

5. We need to add two methods int getMinCardinality() and int
getMaxCardinality() to IAttributeModel interface.

Thanks,
Sergey Lyakhov

----- Original Message -----
From: Sergey Lyakhov
To: higgins-dev@xxxxxxxxxxx
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




_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev

_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev


_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev