set authorRoleDisplayName [message #40162] |
Fri, 11 January 2008 06:52  |
Eclipse User |
|
|
|
Originally posted by: juj.lincoln.fr
hi,
I have a question, I don't know how to create authorRoleDisplayName for
XDSDocumentEntry.
Do you have any example?
Thanks a lot.
jjameau
|
|
|
|
|
Re: set authorRoleDisplayName [message #40253 is a reply to message #40246] |
Tue, 15 January 2008 12:09  |
Eclipse User |
|
|
|
Sorry, my mistake. author role, institution and speciality are many
valued. thus they are implemented as lists
so the code is:
docEntry.getAuthor().getAuthorRole().add("primary care provider");
regards,
- Sarah
exquisitus wrote:
> Thank you for your response.
>
> But when I set docEntry.getAuthor() the only method that is available is
> .setAuthorPerson() and there isn't the .setAuthorRole() method so it's
> not possible to use docEntry.getAuthor().setAuthorRole().
>
> Do you know why?
>
> Thanks.
>
> JJameau
>
>
> Sarah Knoop wrote:
>
>> Hi jjameau,
>>
>> AuthorRole is just a string, at least in the new version of the OHF
>> code which complies with the newer version of the XDS specification.
>>
>> The code would look something like this
>>
>> docEntry.getAuthor().setAuthorRole("primary care provider");
>>
>> hope this helps,
>> - Sarah
>>
>>
>> exquisitus wrote:
>>
>>> hi,
>>>
>>> I have a question, I don't know how to create authorRoleDisplayName
>>> for XDSDocumentEntry.
>>>
>>> Do you have any example?
>>>
>>> Thanks a lot.
>>>
>>> jjameau
|
|
|
Re: set authorRoleDisplayName [message #584371 is a reply to message #40162] |
Mon, 14 January 2008 12:44  |
Eclipse User |
|
|
|
Hi jjameau,
AuthorRole is just a string, at least in the new version of the OHF code
which complies with the newer version of the XDS specification.
The code would look something like this
docEntry.getAuthor().setAuthorRole("primary care provider");
hope this helps,
- Sarah
exquisitus wrote:
> hi,
>
> I have a question, I don't know how to create authorRoleDisplayName for
> XDSDocumentEntry.
>
> Do you have any example?
>
> Thanks a lot.
>
> jjameau
|
|
|
Re: set authorRoleDisplayName [message #584382 is a reply to message #40236] |
Tue, 15 January 2008 09:08  |
Eclipse User |
|
|
|
Thank you for your response.
But when I set docEntry.getAuthor() the only method that is available is
.setAuthorPerson() and there isn't the .setAuthorRole() method so
it's not possible to use docEntry.getAuthor().setAuthorRole().
Do you know why?
Thanks.
JJameau
Sarah Knoop wrote:
> Hi jjameau,
>
> AuthorRole is just a string, at least in the new version of the OHF code
> which complies with the newer version of the XDS specification.
>
> The code would look something like this
>
> docEntry.getAuthor().setAuthorRole("primary care provider");
>
> hope this helps,
> - Sarah
>
>
> exquisitus wrote:
>> hi,
>>
>> I have a question, I don't know how to create authorRoleDisplayName
>> for XDSDocumentEntry.
>>
>> Do you have any example?
>>
>> Thanks a lot.
>>
>> jjameau
|
|
|
Re: set authorRoleDisplayName [message #584393 is a reply to message #40246] |
Tue, 15 January 2008 12:09  |
Eclipse User |
|
|
|
Sorry, my mistake. author role, institution and speciality are many
valued. thus they are implemented as lists
so the code is:
docEntry.getAuthor().getAuthorRole().add("primary care provider");
regards,
- Sarah
exquisitus wrote:
> Thank you for your response.
>
> But when I set docEntry.getAuthor() the only method that is available is
> .setAuthorPerson() and there isn't the .setAuthorRole() method so it's
> not possible to use docEntry.getAuthor().setAuthorRole().
>
> Do you know why?
>
> Thanks.
>
> JJameau
>
>
> Sarah Knoop wrote:
>
>> Hi jjameau,
>>
>> AuthorRole is just a string, at least in the new version of the OHF
>> code which complies with the newer version of the XDS specification.
>>
>> The code would look something like this
>>
>> docEntry.getAuthor().setAuthorRole("primary care provider");
>>
>> hope this helps,
>> - Sarah
>>
>>
>> exquisitus wrote:
>>
>>> hi,
>>>
>>> I have a question, I don't know how to create authorRoleDisplayName
>>> for XDSDocumentEntry.
>>>
>>> Do you have any example?
>>>
>>> Thanks a lot.
>>>
>>> jjameau
|
|
|
Powered by
FUDForum. Page generated in 0.04502 seconds