You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Mariangela Hills <ma...@wso2.com> on 2015/05/20 13:09:37 UTC
[Q] What is the difference between id vs. volumeId in the Volumebean
Hi Devs,
What is the difference between the property named "id" and "volumeId" in
the volumeBean?
private String id;
private String size;
private String device;
private boolean removeOnTermination;
private String mappingPath;
private String snapshotId;
private String volumeId;
Regards,
Mariangela
*--*
*Mariangela Hills*
PMC Member & Committer of Apache Stratos
Senior Technical Writer
WSO2, Inc.
lean.enterprise.middleware.
m: +94 773 500185
w: http://wso2.com
<http://wso2.com/events/>
Re: [Q] What is the difference between id vs. volumeId in the Volumebean
Posted by Mariangela Hills <ma...@wso2.com>.
Hi Devs,
Based on the names of the properties they seem to be used for the same
purpose. If that is the case, it might make more sense to remove one
property rather than having it duplicated.
Regards,
Mariangela
*--*
*Mariangela Hills*
PMC Member & Committer of Apache Stratos
Senior Technical Writer
WSO2, Inc.
lean.enterprise.middleware.
m: +94 773 500185
w: http://wso2.com
<http://wso2.com/events/>
On Wed, May 20, 2015 at 5:05 PM, Udara Liyanage <ud...@wso2.com> wrote:
> Hi,
>
> Ideally id is not needed to be set in bean class. However both id and
> volumeId has been used in the code. Need to check before providing a
> conclusive answer.
>
> On Wed, May 20, 2015 at 4:39 PM, Mariangela Hills <ma...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> What is the difference between the property named "id" and "volumeId" in
>> the volumeBean?
>>
>> private String id;
>> private String size;
>> private String device;
>> private boolean removeOnTermination;
>> private String mappingPath;
>> private String snapshotId;
>> private String volumeId;
>>
>> Regards,
>> Mariangela
>>
>>
>>
>>
>> *--*
>> *Mariangela Hills*
>> PMC Member & Committer of Apache Stratos
>> Senior Technical Writer
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> m: +94 773 500185
>> w: http://wso2.com
>> <http://wso2.com/events/>
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>
Re: [Q] What is the difference between id vs. volumeId in the Volumebean
Posted by Udara Liyanage <ud...@wso2.com>.
Hi,
Ideally id is not needed to be set in bean class. However both id and
volumeId has been used in the code. Need to check before providing a
conclusive answer.
On Wed, May 20, 2015 at 4:39 PM, Mariangela Hills <ma...@wso2.com>
wrote:
> Hi Devs,
>
> What is the difference between the property named "id" and "volumeId" in
> the volumeBean?
>
> private String id;
> private String size;
> private String device;
> private boolean removeOnTermination;
> private String mappingPath;
> private String snapshotId;
> private String volumeId;
>
> Regards,
> Mariangela
>
>
>
>
> *--*
> *Mariangela Hills*
> PMC Member & Committer of Apache Stratos
> Senior Technical Writer
> WSO2, Inc.
> lean.enterprise.middleware.
> m: +94 773 500185
> w: http://wso2.com
> <http://wso2.com/events/>
>
--
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897