You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2009/02/02 03:53:59 UTC

[jira] Commented: (THRIFT-297) getFieldValue and setFieldValue should be abstract TBase methods

    [ https://issues.apache.org/jira/browse/THRIFT-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669496#action_12669496 ] 

Bryan Duxbury commented on THRIFT-297:
--------------------------------------

Do you see any downside to always generating the setters and getters for fields? It certainly doesn't hurt to have the extra methods there if you don't want to use them. 

> getFieldValue and setFieldValue should be abstract TBase methods
> ----------------------------------------------------------------
>
>                 Key: THRIFT-297
>                 URL: https://issues.apache.org/jira/browse/THRIFT-297
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java), Library (Java)
>            Reporter: Nathan Marz
>            Assignee: Bryan Duxbury
>
> Since these methods can be called on every TBase instance, they should be part of the TBase API. These methods are useful in conjunction with the meta data features.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.