Add a getter and setter for the id attribute.
为id属性添加一个获得者以及设置者。
In Struts 2 you use getter and setter methods.
Struts2中使用getter和setter方法。
Never return an array or a cloned list (getter)
永远不要返回一个数组,或者一个克隆的列表(getter)
Now look at setter and getter methods in Listing 1.
现在,在清单1中查看setter和getter方法。
The interface also contains the related getter method.
接口还包含相关的获取方法。
Generate getter and setter methods for these variables.
为这些变量产生获得和设置属性值的方法。
Keep the address property along with its getter and setter.
保留address属性以及它的getter和setter。
This is the Container Managed Relationship (CMR) getter method.
它是一个容器管理关系(Container Managed Relationship,CMR)getter方法。
The data model also has a setter and getter to access the data.
数据模型还具有访问数据的setter和getter。
In that case, the getter starts with is, as opposed to get.
在这种情况下,getter以is开始,而非get。
Setter and getter methods are two methods that must be provided.
Setter和getter方法是必须提供的两个方法。
Each property has an accessor and a mutator (getter and setter).
每个属性具有一个accessor和mutator (getter和setter)。
Create an Empty Script called getter within the AppObject folder.
在AppObject文件夹中创建一个名叫getter的空脚本文件。
Using unit test methods to test every getter method is recommended.
推荐使用单元测试方法来测试每个getter方法。
You must have a setter and getter method for network-transfer fields.
您必须具有用于网络传输字段的setter和getter方法。
A setter modifies the value of a field; a getter obtains its value.
setter是修改字段值,而getter是获取其值。
Each data element has its own individual "getter" and "setter" method.
每个数据元素有自己的“getter”和“setter”方法。
Listing 8 shows how to use the ThreadMXBean's getter and setter operations.
清单8展示了如何使用ThreadMXBean的getter和setter操作。
A setter modifies the value of a field, whereas a getter obtains its value.
setter修改字段的值,而getter获取它的值。
You can then see whether the getter method is returning the correct button.
您可以看到getter方法是否返回正确的按钮。
If desired, you can cut instruct Eclipse to generate getter and setter methods.
如果需要,可以直接要求Eclipse生成getter和setter方法。
The mapping can be implemented by creating your own getter and setter methods.
可以通过创建自己的获取器和设置器方法来实现映射。
The Web services client can retrieve data using the getter methods from the class.
Web服务客户机可以通过使用该类的getter方法来获取数据。
A naive approach would view a getter as any method whose name starts with "get".
这方法会把getter方法看作任何名称以get开头的方法。
It's not there because I didn't provide the name field with the getter and setter method.
它不在这里,因为我没有通过getter和setter方法提供name字段。
An option to filter out all getter and setter methods has been added to the sequence diagram.
并且新版本还在序列图中添加了一个选项,可以把所有getter和setter方法筛选掉。
ConfigGetter is responsible for handling getter methods defined on a configuration interface.
ConfigGetter负责处理配置接口上定义的getter方法。
Similarly, the annotation above the getter for warehouse perfectly matches that annotation.
类似地,warehouse的getter 方法上面的注解也完全匹配该注解。
Each property will have a getter and setter associated with it, along with some initial value.
每个属性将有getter和setter与之关联,还有一些初始值。
应用推荐