方法的可执行代码以包含在方法定义中的代码属性的形式出现。
The executable code for methods is present in the form of code attributes contained within the method definitions.
该工具包使用那些模型、元素和属性来生成代码转换。
The toolkit then USES those models, elements, and properties to generate code transformations.
清单2显示了从一个表中获取列并读取它们的属性的示例代码。
Listing 2 displays sample code to get columns from a table and read their properties.
产生的代码也许可以用相关的属性进行定制。
The generated code may be customized by the use of properties.
还记得这个代码的工作方式吗,属性的显示名就是键值。
Remember the way this code works, the display name of the property is the key.
因此,不管您在目标CMIS存储库中如何设置属性定义,这个代码将尝试使其有效。
So however you set up the property definitions in your target CMIS repository, this code will try to make it work.
补救办法是对代码进行更改,以访问正确的属性。
The remedy is to change the code to access the correct attributes.
通过以初始值创建属性来利用代码的信息,逆向工程保持了联系的初始化。
Reverse engineering preserves initialization of associations by creating attributes with initial values to leverage that information from the code.
编写能够被特定的元素和属性调用的可重用代码模块。
Write reusable code modules that can be invoked for specific elements and attributes.
由于属性发布是在代码级别完成的,因此即使不显示也可以访问字段。
Because property publication is done at a code level, the fields are accessible even though they are not displayed.
负责显示这个天窗并保持其属性的代码出现在这个文件中。
The code responsible for displaying the top window and keeping its attributes is present in this file.
有些是干净代码的属性取决于特定的编程语言。
Some of the properties of clean code depend upon the specific programming language.
前面输入的所有属性都可以定制,但是也有一些用于定制代码生成的属性。
All of the attributes that were entered earlier may be customized, but there are also properties to customize the code generation.
为了提高性能,您可能希望抽取每个模型属性的代码放到它自己的方法中(或者带有“开关”的单个方法)。
To improve performance, you may wish to factor out the code for each model attribute into its own method (or a single method with a "switch").
在应用程序代码中对属性进行设置和获取。
Setting and getting attributes happens in the application code.
如果相同的类属性在代码内多次定义,它会显示所有的定义以及哪些定义被覆盖了、哪些定义正在使用。
If the same class attribute was defined several times in the code, it will show you all the definitions and which ones were overridden and which are being used.
清单6修改了代码,以传递代表路线属性的哈希映射表。
Listing 6 changes the code to pass a hash map representing the attributes for a trail.
在某个示例中,使用16行代码检查一个属性的值。
In one example, 16 lines of code were used to check the value of an attribute.
对于那些业务项目属性,代码确定这些属性充当哪些流程或组件的输入或输出,并制作这些相关流程的列表。
For each of those business item attributes, the code determines which processes or components the attributes serve as inputs to or outputs of and makes a list of these dependent processes.
设置文本样式属性的代码如清单2 所示。
The code for setting the text style attributes is shown in listing 2.
使用属性标记代码元素的能力揭示了您的意图,即让一些外部因素对后面的代码起作用。
The ability to mark code elements with attributes declares your intent that something external operates on the code that follows.
图5显示了页的外观(基本上与最初的属性页相同),属性页的代码见清单16。
Figure 5 shows how the page appears (basically the same as the original property page) and the code for the property page is in Listing 16.
您只需要指定事务属性(没有回滚代码或回滚指令!)
You only need to specify the transaction attributes (no rollback code or rollback directives!)
清单6中的代码片段显示DataSource的属性。
The code fragment in Listing 6 shows attributes of DataSource.
需要特别注意的是该属性在代码中设置的位置——它是在调用send之前设置的。
Pay close attention to where in the code this property is set — it's before send is called.
在Firebug控制台的左侧有一个HTML选项卡,其中显示了屏幕上正在显示的HTML代码,包括类属性。
There is an HTML TAB on the left side of the Firebug console that shows the HTML code being displayed on the screen, including the class attributes.
上面的代码将此属性的内容(即实际消息有效负载)复制到“payload”变量中。
The code above copies the contents of this property (that is, the actual message payload) into the "payload" variable.
登录屏幕示例的复选框演示了如何为特定于组件的属性编写代码。
The login-screen example's checkbox demonstrates how to code component-specific properties.
在本例中,数据在RequestScope中设置为调用动作代码的请求属性。
In this example, the data is set in the RequestScope as a request attribute in the action code that is invoked.
该文件中包含了本文描述的代码、示例属性文件、brokerbar . properties文件和若干用作测试的bar文件(M220 . bar . bar、M660 . bar和xsltBar . bar)。
The file contains the code described in this article along with the sample properties file, the brokerbar.properties file, and several test bar files m220.bar.bar.
应用推荐