• Add a getter and setter for the id attribute.

    id属性添加一个获得者以及设置者

    youdao

  • In reality, Groovy calls the default no-argument constructor first and then calls the appropriate setter for each field.

    事实上Groovy先调用默认无实参构造函数然后调用每个字段相应setter

    youdao

  • In Listing 1, there are two possible implementations of a setter for a property that can only take on non-negative values.

    清单1中,两个可能用于特性setter实现特性只能接受非负数值。

    youdao

  • With imports growing at 40 per cent a year, the world's workshop has become the price-setter for oil, metals, minerals and shipping rates.

    目前,中国的进口正以年均40%的速度飞速增长这个号称世界工厂的国家石油金属矿物海运等方面已经掌握了控价权。

    youdao

  • If the setter for a read-write property throws an exception (such as IllegalArgumentException), JMX reports the exception back to the client.

    如果读写属性setter抛出异常(例如IllegalArgumentException),JMX就把异常报告客户机

    youdao

  • As with the bike and bike store types, the Groovy's CommandLineView doesn't have the noise of an explicitly coded getter or setter for the RentABike property.

    Bike自行车商店类型一样,GroovyCommandLineView没有rentabike属性式编写gettersetter的冗余。

    youdao

  • This combination of still-subdued activity and high raw material prices illustrates a wider truth; that America is no longer the price-setter for these products.

    疲软经济高价原材料证明了一个明显的事实美国不再这些产品定价者

    youdao

  • The eastern Chinese city of Wenzhou produces more cigarette lighters and spectacles than anywhere on earth, and has long been seen as an economic trend-setter for the entire country.

    位于中国东部的温州市一向视为中国经济的风向标,这里所生产打火机眼镜数量超过世界任何地区。

    youdao

  • Now you need to create an implementation for Setter custom mediation primitive that puts the desired endpoint address in the transient context passed into Setter.

    现在需要Setter定义中介元素创建实现,这个自定义中介元素传递 Setter瞬态上下文中指定了所需端点地址

    youdao

  • Method chaining works best for the creation of simple data objects, yet here I'm using it both for the setter methods on Appointment and in AppointmentCalendar to start the method chain.

    方法链接对于简单数据对象创建有效,但是这里同时AppointmentAppointmentCalendar中的setter方法启用方法链接

    youdao

  • Notice what our code has so far: first, our Account class isn't a bean (it essentially has a getter -- but no setter -- for its one data member).

    注意一下目前我们代码哪些东西首先,我们的Account不是bean实际上对于数据成员有一个getter方法――但是没有setter 方法)。

    youdao

  • Dependency injection can occur in a variety of ways, for example, via a setter method or a class variable.

    依赖性的引入可以多种方式出现例如通过设置属性值方法或者变量

    youdao

  • Although getter and setter methods are provided for these fields, they are never actually used in the auditing code.

    尽管这些字段提供了gettersetter方法但是审计代码实际上使用这些方法。

    youdao

  • It includes getter and setter methods for all the participant parameters, and it includes validation logic to ensure that all the required parameters for that particular method call are present.

    针对所有participant参数包含gettersetter方法并且包含了验证逻辑确保给出了针对特定方法调用的所有必需参数。

    youdao

  • These are marked as abstract, which results in Tapestry implementing them as simple "getter" and "setter" methods and creating a new variable for this class, of the type Order.

    两个方法标记抽象这样Tapestry会把它们实现为简单的“gettersetter”方法,并这个创建类型为Order的变量

    youdao

  • To facilitate this setter injection, I've registered set methods for both my properties.

    为了方便这个setter注入两个属性注册了set方法

    youdao

  • The EJB 3.0 specification talks about public field injection and setter injection, but constructor injection will enable you to avoid creating setters for values you don't expect to change.

    EJB 3.0规范谈到公共字段注入setter注入,构造器注入使可以避免预期不会更改创建setter

    youdao

  • The problem with using classes for structured data is that each class has its own distinct interface for accessing that data, typically through getter/setter methods.

    用于结构化数据问题就是为了访问此数据一个自己不同接口通常通过getter/setter 方法。

    youdao

  • Generate getter and setter methods for these variables.

    这些变量产生获得设置属性值方法

    youdao

  • The initialization code in Listing 2 is part of a class that uses setter injection for DI.

    清单2中的初始化代码一个一部分,它使用setter注入进行DI

    youdao

  • You must have a setter and getter method for network-transfer fields.

    必须具有用于网络传输字段的settergetter方法

    youdao

  • For example, if you select a field that has getter and setter methods, you can also update the names of these methods to reflect the new field.

    比方说,如果选择属性具有gettersetter方法那么也就可以同时更新这些方法的名称反映新的属性。

    youdao

  • The compiler provides a set of public getter and setter methods for each property automatically.

    编译器将每个属性自动提供publicgettersetter方法

    youdao

  • You must have a setter and getter method for the fields that need to transfer over the network.

    必须具有用于需要网络上传输字段settergetter方法

    youdao

  • Because databases do not support behavior associated with entities, the domain model ended up having simple variables with getter and setter methods for them.

    因为数据库支持实体关联行为领域模型最终具有简单变量以及相关的gettersetter方法

    youdao

  • The Struts system will generate a pair of getter and setter methods for each form property in the form bean class.

    Struts系统Formbean每个表单属性生成一对getter方法setter方法

    youdao

  • Because we are dealing with simple accessor methods for beans, we have one for the setter containing a single input message, and one for the getter containing a single output message (see listing 4).

    因为我们bean处理简单访问方法,所以包含输入消息setter包含输出消息的getter都一个。如清单4所示。

    youdao

  • Also, if a particular getter or setter requires special attention, you don't have to sift through dozens of lines of code to find the one you are looking for.

    并且如果一个特定gettersetter需要特别注意,那么您就不必为了找到这个特定的 getter 或 setter 而遍历数十代码

    youdao

  • The aspect provides a setter to define which MBean server should be used for managing objects.

    这个方面提供了一个设置器定义应当哪个MBean服务器管理对象

    youdao

  • Call setter methods for each nested element to automatically configure the properties of the object.

    嵌套每个元素调用setter方法自动配置对象特性

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定