Skip to main content

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

Hello Jim,

There are some questions about IdAS:

1. The method Context.createSubject(URI subjectType, Iterable<IAttribute>
attributes)
requires a list of attributes. Is there any sense to pass a list of
attributes to this method? In other words do we always have a set of
attributes when we create new DigitalSubject and where we could get
them if there is only one method to create an attribute in the IDAS API
DigitalSubject.createAttribute()?

2. What is be presumed behavior of
IHasAttributes.addAttribute(IAttribute attribute)? Should it create a
new Atribute ontology instance and just copy value(s) of passed
attribute to the newly created attribute, or it should set passed
Attribute as a value? In other words can two DigitalSubjects refers to
the same Attribute instance(as an ontology instance)? The same
question is for method IHasMetadata.addMetadata(IMetadata metadata)
and IHasProperties.addProperty(IProperty property).

3. IComplexValue extends IPropertyValue, however
IPropertyValue.getData() has no any sense in case of IComplexValue.
What should be returned by this method? Should it return
Iterable<IProperty>?

4. There are no interfaces ISimpleMetadata and IComplexMetadata in
IdAS model looking at higgins ontology model such interfaces should be
there.

Thanks,
Sergey Lyakhov

----- Original Message ----- From: "Paul Trevithick" <paul@xxxxxxxxxxxxx>
To: "'Sergey Lyakhov'" <slyakhov@xxxxxxxxxxxxxx>
Cc: "'Andrey Slusarenko'" <andrey@xxxxxxxxxxxxx>; "'Evgeniy Vyborov'" <evgeniy@xxxxxxxxxxxxx>; "'Igor Tsinman'" <igor@xxxxxxxxxxxxx>; "'Maxim Kopeyka'" <maxim@xxxxxxxxxxxxx>; "'Sergey Lyakhov'" <slyakhov@xxxxxxxxxxxxx>; "'Vadym Synakh'" <synakh@xxxxxxxxxxxxxx>; "'Valery Kokhan'" <vkokhan@xxxxxxxxxxxxxx>
Sent: Wednesday, November 01, 2006 8:31 AM
Subject: RE: IdAS questions




-----Original Message-----
From: Sergey Lyakhov [mailto:slyakhov@xxxxxxxxxxxxxx]
Sent: Tuesday, October 31, 2006 1:45 PM
To: paul@xxxxxxxxxxxxx
Cc: 'Andrey Slusarenko'; 'Evgeniy Vyborov'; 'Igor Tsinman'; 'Maxim
Kopeyka'; 'Sergey Lyakhov'; 'Vadym Synakh'; Valery Kokhan
Subject: IdAS questions

Hello Paul,

I have some questions about IdAS:

1. Now uniqueIdentifier is an attribute in the higgins ontology model,
so it is possible to change a value of this attribute. At the same time
uniqueIdentifier is also used by SubjectRelationship as a reference to
DigitalSubject. So it is possible to lose a reference to
DigitalSubject if uniqueIdentifier will be changed.

I assumed that the uniqueIdentifier are immutable (can't be changed). But
you're right this is not stated anywhere. I've added this to my list of
things to add to the wiki.

Also does the
value returned by IContext.createSubject() and the value of
uniqueIdentifier attribute is exactly the same thing?

I don't know (I don't have internet access to look up right now as I write
this). I presume you are talking about the latest IdAS javadoc, yes?

2. The method Context.createSubject(URI subjectType, Iterable<IAttribute>
attributes)
requires a list of attributes. Is there any sense to pass a list of
attributes to this method? In other words do we always have a set of
attributes when we create new DigitalSubject and where we could get
them if there is only one method to create an attribute in the IDAS API
DigitalSubject.createAttribute()?

Please ask Jim Sermersheim on the higgin-dev list this question as well as
all the rest of your excellent questions in the rest of this email.

3. What is be presumed behavior of
IHasAttributes.addAttribute(IAttribute attribute)? Should it create a
new Atribute ontology instance and just copy value(s) of passed
attribute to the newly created attribute, or it should set passed
Attribute as a value? In other words can two DigitalSubjects refers to
the same Attribute instance(as an ontology instance)? The same
question is for method IHasMetadata.addMetadata(IMetadata metadata)
and IHasProperties.addProperty(IProperty property).

4. IComplexValue extends IPropertyValue, however
IPropertyValue.getData() has no any sense in case of IComplexValue.
What should be returned by this method? Should it return
Iterable<IProperty>?

5. There are no interfaces ISimpleMetadata and IComplexMetadata in
IdAS model looking at higgins ontology model such interfaces should be
there.

Thanks,
Sergey Lyakhov







Back to the top