accessors

accessors

 英

  • 网络访问函数;持久化字段声明访问器;存取器

例句

As you can see, JavaBeans-style properties are reduced down to straight name accessors, as if they were fields.

可以看到JavaBeans样式属性简化使用名称直接访问好像它们字段一样

Accessor methods come in two flavors: setters and getters (sometimes referred to as mutators and accessors, respectively).

访问方法涉及方法settersgetters有时分别称为mutatorsaccessors)。

Properties and indexers of a class can define extra accessors for a property or indexer defined on an interface.

属性索引可以定义额外属性索引接口定义访问

I'm hoping to limit my use of the accessors because, as I've already mentioned, the GWT isn't meant to be used for interaction testing.

现在希望限制使用访问已经指出因为GWT并非设计用来进行交互测试

Properties and indexers on a class can define extra accessors for a property or indexer defined on an interface.

属性索引可以接口定义属性索引定义额外访问

JavaBeans, as you probably know, are Java classes that contain a series of private properties and publicly available accessors and mutators.

也许知道JavaBeans包含一系列私有属性以及公共访问转变Java

Let's say that as a user of the Widget class, you don't know whether the accessors have value or reference semantics.

假设Widget一个使用者并不知道存取器具语义引用语义

Accessors come in two flavors: setters, which modify the value of a field, and getters, which obtain its value.

访问方法setter用于修改字段以及getter用于获取字段

Dsun. reflect. noInflation=true disables inflation entirely but, counterintuitively, causes bytecode accessors to be used for everything.

noInflation=true完全禁用扩展造成字节码存取滥用

Accessors are used to retrieve the properties of an object or the elements of a collection .

存取用来检索对象特性集合元素

Because accessors are simply Java member functions, it is therefore important that you choose the visibility of your accessors wisely.

因为读写方法简单Java成员函数所以明智地选择读写方法可视重要

Event accessors are methods you define to allow event delegate instances to be added or removed from the storage data structure.

事件访问定义方法用以允许事件委托实例添加存储数据结构存储数据结构移除

Thus, the purpose of the accessors is to indicate whether the property is read-write, read-only, or write-only.

因此访问用途指示属性是否读写

It has fields corresponding to the database columns and the usual accessors (getters and setters) for each field.

数据库对应字段用于每个字段常用存取gettersetter)。

Models should be relatively cheap to instantiate, with shallow accessors provided for any data used by the view.

模型应该易于实例化视图使用任何数据提供基本访问方法

It contains accessors for properties and a validation method.

包含属性访问程序一个验证方法

The event property accessors use the predefined key for the event property to add and remove instances from the delegate collection.

事件属性访问使用事件属性预定义委托集合添加委托集合移除实例

You do not typically need to provide your own custom event accessors.

通常需要提供自己定义事件访问

Properties with these illegal accessors tend to be ignored when mapping a bean to WSDL.

一个Bean映射WSDL带有这些非法访问属性往往忽略

Like the boolean getProperty, non-camelcase accessors are not legal and are not recognized as accessors.

布尔getProperty一样camelcase访问合法并且不能作为访问识别

Another (much misunderstood) setting also affects the reflection accessors.

一种造成误解设置会影响反射存取

In this bean class most of the methods, other than the EJB call back methods, are accessors and setters for the above properties.

这个bean大多数方法EJB回调方法除外都是上述属性accessorsetter

Because creating the bytecode accessors is quite slow, the Java runtime can cache these accessors for later use.

由于创建字节码访问程序相当因此Java运行时可以缓存这些访问程序稍后使用

At its bare minimum you can write pure Ruby classes with attribute accessors and create the usual Hibernate mapping files by hand.

简单情况可以编写属性访问纯粹Ruby然后手动创建出常见Hibernate映射文件

Event properties consist of event declarations accompanied by event accessors.

事件属性事件访问事件声明组成

As accessors can be overloaded, the string and integer versions can co-exist.

由于访问重载字符串整数版本可以共存

These properties will be the public accessors for the style properties.

这些属性会是样式属性公用存取

The accessors read directly from, or write to, the respective positions in the state document model.

访问直接状态文档模型各个位置进行读写

After the fields and their accessors are declared, the methods of the Employee class come next.

字段及其访问声明之后下面出现Employee方法

A non-abstract class derived from an abstract class must include actual implementations of all inherited abstract methods and accessors.

衍生抽象类别抽象类别必须包含所有继承抽象方法存取

Accessors (member functions that directly manipulate the value of fields) were introduced in "Accessors increase robustness of Java code. "

AccessorsincreaserobustnessofJavacode引入访问读写方法直接操纵字段成员函数)。

The control data accessors used in the methods are defined in next step.

这些方法使用控制数据访问下一步定义

A class, even though you have to do all the work writing in the member variables and accessors, is explicit.

使用的话——即使不得不重写所有成员变量及其访问函数——一切变得明确起来

You then use standard accessors to "inject" references to the objects your classes depend on.

然后标准访问引用注入依赖对象

As with accessors, the specified callbacks are invoked whenever a property is accessed.

访问一样一个属性访问指定回调函数激活

Formally, Scala calls numer and denom methods without parameters, which are used to create a quick-and-easy syntax for defining accessors.

形式上Scala调用参数numerdenom方法这种方法用于创建快捷语法定义accessor

You can create the class quickly by using Eclipse's features for creating accessors and constructors from fields.

可以通过使用Eclipse字段创建存取accessor构造函数特性创建这些

ActiveRecord dynamically creates accessors based on the column names of the database table that it is mapped to.

ActiveRecord根据映射数据库动态创建访问

Next we switch back to the physical level and take a closer look at accessors.

下面我们回到物理仔细看看访问

Otherwise, you can call various accessors of Benchmark to generate a custom report.

除此之外可以调用Benchmark各种访问函数生成定制报告