helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanak Biscuitwala (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HELIX-222) Disallow directly getting and setting ZNRecords from HelixProperty
Date Thu, 22 Aug 2013 20:43:51 GMT

     [ https://issues.apache.org/jira/browse/HELIX-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kanak Biscuitwala updated HELIX-222:
------------------------------------

    Description: There are too many uses of HelixProperty's HelixProperty(ZNRecord) and getRecord()
internally. These should not be used to get around models not having enough setters and getters.
No model class should be allowed to be initialized with a ZNRecord, but rather only with another
model class.  (was: There are too many uses of HelixProperty's HelixProperty(ZNRecord) and
getRecord() internally. These should be used to get around models not having enough setters
and getters. No model class should be allowed to be initialized with a ZNRecord, but rather
only with another model class.)
    
> Disallow directly getting and setting ZNRecords from HelixProperty
> ------------------------------------------------------------------
>
>                 Key: HELIX-222
>                 URL: https://issues.apache.org/jira/browse/HELIX-222
>             Project: Apache Helix
>          Issue Type: Sub-task
>          Components: helix-core
>            Reporter: Kanak Biscuitwala
>            Assignee: Kanak Biscuitwala
>
> There are too many uses of HelixProperty's HelixProperty(ZNRecord) and getRecord() internally.
These should not be used to get around models not having enough setters and getters. No model
class should be allowed to be initialized with a ZNRecord, but rather only with another model
class.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message