In Listing 4, firstname is a string that is specified at runtime.
在清单4中,firstname是一个在运行时指定的字符串。
Listing 2 shows the equivalent code that will be generated for the firstName field.
清单2展示了为firstName字段生成的访问器代码。
To see the list of contacts sorted by first name, click the Sort by Firstname button.
为查看按名字排序的联系人列表,单击Sortby Firstname按钮。
For example, the name firstName might have been given accidentally to two JTextFields.
例如,firstName可能被不小心提供给两个JTextField。
So, our next goal is to add a user input form that asks for firstname, lastname, and age.
因此,我们的下一个目标是增加用户输入的形式,要求的名字,姓氏,年龄。
So to get the value of firstName, invoke the first method (firstName) shown in Listing 2.
因此,要获取firstName的值,调用清单2中显示的第一个方法(firstName)。
In this case, the user can search on "Lastname", "Firstname", "Title", "City", and "Country".
在这个案例中,用户可以根据“姓”、“名”、“标题”、“城市”和“国家”字段进行搜索。
In other words, an opening firstName element is never closed or an opening Angle bracket is missing.
换句话说,firstName元素总是缺少结束标识,或缺少开头的尖括号。
This method simply returns the firstName and lastName fields, concatenated with a space in between.
这个方法只返回firstName和lastName字段,中间使用一个空格连接。
So if you property is named "FirstName", there will be a matching private field called "_firstname".
所以,如果属性名为“FirstName”,那么对应的私有字段名为“_ FirstName”。
In this example we added a new attribute, fullname, and removed two existing attributes, firstname and lastname.
在这个示例,我们添加了一个新的属性fullname,并除去了两个现有的属性firstname和lastname。
For each Author instance, the firstName should be set to the value of the first attribute on the name element.
对于每个Author实例,firstName应该设置为name元素上的first属性的值。
Parameters that represent fields to update, such as firstname, must match the name of DataField property of a grid column.
代表更新字段的参数(例如firstname)必须与网格列的DataField属性名相匹配。
A dynamic SDO containing three properties (firstName, lastName, and greeting) is returned to the JSP to display to the user.
将向JSP返回包含三个属性(firstName、lastName和greeting)的动态sdo,以向用户显示。
The entity bean is a very simple example, named Person, which has attributes firstName and lastName, and a key field named id.
实体bean是一个很简易的实例,名为Person,具有firstName和lastName属性以及一个主字段,名为id。
Listing 1 shows how to code the high-level actions enter the text "Luke" in the firstName text field and click the "ok" button.
清单1显示了如何编码实现高级动作:在firstName文本字段中输入“luke”文本然后单击“ok”按钮。
If you wonder why I didn't nest firstName, lastName, and title elements within the name element, read the last paragraph again.
如果还不明白为何不在name元素中嵌套firstName、lastName以及title元素,请仔细阅读上一段。
In Listing 8, you are passing the values of firstname, lastname, and office from the Employee bean into the transform statement.
在清单8中,把firstname、lastname和office的值从Employeebean传递给转换语句。
Note that sorting by $artist/lastName before $artist/firstName is redundant, since the results all have the same last name value.
请注意,首先按 $artist/lastName然后按 $artist/firstName排序没有必要,因为结果中的姓氏都一样。
We must therefore define some kind of standard for storing names; storing firstname and surname separately, in uppercase perhaps.
因此我们必须定义一些用于存储名字信息的标准,例如姓氏与名字分开存储,或者使用大写。
The XML document is shredded, and each bound-out column (title, publisher, firstname, lastname) is converted to the database code page.
XML文档被分解,每个绑定列(题目、出版社、名、姓)被转换为数据库代码页。
This will open a dialog box that you can use to connect the Text property to the ehEmployee[0]'s FirstName field, as shown in Figure 7.
这将打开一个对话框,可以用该对话框将Text属性连接到 ehEmployee[0] 的FirstName字段,如图 7 中所示。
For example, the fname attribute in raj.vo.Person corresponds to the FirstName field in the Person form in the backend Domino database.
例如,raj . vo . Person中的fname属性与后端Domino数据库中Person表单中的FirstName字段对应。
The compiler in this case will bark loud and long because I've tried to introduce a new set of methods (firstName, lastName, and age) onto my Student class.
本例中的编译器将运行很长一段时间,因为我尝试为student类引入一组新方法(firstName、lastname和age)。
In fact, most of the documents that do use camel-case naming, like firstName, are authored by programmers, rather than XML-centric developers or data managers.
实际上,在大多数由程序员(而不是XML开发人员或数据管理员)编写的文档中,往往使用驼峰式(camel - case)命名法,比如firstName。
Normally, variables are best named by their use (like firstName or title), but as this variable is essentially a loop counter, using single letters is also fine.
变量一般最好根据用途命名(如 firstName或rtitle),不过由于这个变量基本上是一个循环计数器,也可使用单个字母。
First a new XML document is created, passing in the XML information, and then the FirstName element is retrieved with the call to doc.root.elements [" FirstName "].
首先创建一个新的XML文档,传入XML信息,然后调用doc . root . elements [“FirstName ”]检索FirstName元素。
In the previous example, the query is looking for all Person types where the firstName field is equal to "Brian," and the lastName and age fields are effectively ignored.
在前面的示例中,查询所有firstName字段等于“Brian”的Person类型,并且有效地忽略lastname和age字段。
As a result, the directory catalog is very small in size, but can only be sorted by firstname or lastname, which must be designated when creating the directory catalog.
因此该目录编目非常小,只能按姓或名排序,在创建目录编目时必须指定排序方法。
As a result, the directory catalog is very small in size, but can only be sorted by firstname or lastname, which must be designated when creating the directory catalog.
因此该目录编目非常小,只能按姓或名排序,在创建目录编目时必须指定排序方法。
应用推荐