[
https://issues.apache.org/jira/browse/SLING-4305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276846#comment-14276846
]
Radu Cotescu commented on SLING-4305:
-------------------------------------
I would go for {{getPropertiesNames}}, as essentially you get the names of all
properties, not all the names of a property.
I'm fine with either {{getProperty}} / {{getValue}} / {{getValueForProperty}} -
all suggested names are ok.
> Refactor the Record interface
> -----------------------------
>
> Key: SLING-4305
> URL: https://issues.apache.org/jira/browse/SLING-4305
> Project: Sling
> Issue Type: Sub-task
> Components: Scripting
> Reporter: Radu Cotescu
> Fix For: Scripting Sightly Engine 1.0.0, Scripting Sightly JS Use
> Provider 1.0.0
>
>
> The {{Record}} interface methods should be renamed:
> {{get}} -> {{getValue}}
> {{properties}} -> {{getPropertiesNames}}
> See http://markmail.org/thread/47e65whixp454ocj.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)