Hi Justin,

In response to your questions.

On 01/25/2013 05:24 PM, Justin Deoliveira wrote:
>
>
> 1. This method wold never be called by "client" code, it is more an 
> internal method used to the mapping?

I think it is right that it's probably not really useful to the "client" 
code, however it is used by the services GetDomain and GetRecords which 
don't know what kind of mapping they are working with.

> 2. How does this method relate to RecordDescriptor.translateProperty() ?
>

In the case of the InternalCatalogStore, the record store calls the 
method RecordDescriptor.translateProperty, which does not only convert 
from Name to PropertyName, it also makes  changes to the syntax of the 
property depending on the kind of RecordDescriptor you are dealing with, 
so that it gets in the right form, for example for DC /dc:value is added 
to the path and for ISO the asipo 'short' property name is converted to 
a full path. In the case of the SimpleCatalogStore however, this method 
isn't called, and a simple convert from Name to PropertyName is all that 
is done here.

I hope this helps.

Kind Regards
Niels

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to