Thanks for the clear answer.  Perhaps add a method to the server APIMMessage 
interface for getting the value of the method parameter?  But perhaps I should 
reframe my question: how is an APIM message consumer based on 
fedora-client-messaging supposed to get value of a method parameter? 

Thanks,
David

-----Original Message-----
From: Edwin Shin [mailto:[email protected]] 
Sent: Monday, August 27, 2012 10:33 PM
To: Support and info exchange list for Fedora users.
Subject: Re: [fcrepo-user] Messaging client AtomApimMessage getCategoryTerm() 
method private?

For server, I believe the rationale was something along the lines of only 
marking public the methods defined in the interface APIMMessage.

Although I see that getAuthor doesn't quite adhere to that.

Although a categoryTerm is pretty clearly an Atom-specific implementation 
detail versus an author.

For fedora-client, the reason is pretty prosaic: the class is just directly 
descended from the server version. I don't see why we shouldn't make the method 
public there.

On Aug 28, 2012, at 2:56 AM, David Chandek-Stark <[email protected]> 
wrote:

> Why is the getCategoryTerm() method in the AtomApimMessage class private?  
> The same question applies also to the server messaging class AtomAPIMMessage. 
>  In both cases, it only denies access to the convenience of the method, not 
> the message content itself.
>  
> Thanks,
> David
>  
> ----------------------------------------
> David Chandek-Stark
> IT Analyst, Sr. - Perkins Library ITS, Discovery and Core Services 
> Tel. 919-660-5859
> IM: [email protected]
>  


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to