每个属性值是按名称获取的。
属性和行为都涉及到在组件视图中获取或设置数据元素的值。
Both properties and actions involve getting or setting the value of data elements in your component view.
它作为一个POJO实现,带有获取和设置属性值的方法。
It is implemented as a POJO with methods to get and set the attribute values.
它还会使用Static2的Type引用来尝试获取同一个属性值。
It will also try to get the same property value using a Type reference for Static2.
要获取名称为PROPERTY_NAME的属性的值,请使用以下代码。
To get a value for the property with name PROPERTY_NAME use the following code.
值获取自清单5的属性文件中user的两个不同实例。
The values are obtained from the properties file of Listing 5 for two different instances of user.
“FromMessage”的实现简单地创建了一个TradeRequest对象,利用消息中获取的值来设定它的属性。
The "FromMessage" implementation simply creates a TradeRequest object and sets its properties using values obtained from the message.
不用手动更改每一个对象映射中属性权重值,或者重新获取对象,您可以在运行时更改对象-属性的权重值。
Instead of manually changing the property weight in each object map or recapturing the object, you can change the object-property weight during run time.
但是您必须处理这样的情况:无法获取新添加的元素和属性的值。
But you need to handle the case that the values of newly added elements and attributes cannot be obtained.
该属性获取一个布尔值,指出是否应当只解析所给值的整数部分。
This attribute takes a Boolean value indicating whether only the integer portion of the provided value should be parsed.
延迟初始化的主要缺点是:代码将变得更复杂,因为需要查看是否定义了属性,如果还未定义,则要获取属性值。
The main disadvantage of lazy initialization is that your code becomes more complex because you need to check to see if the attribute has been defined yet and, if not, obtain its value.
本教程旨在为您提供与托管实体相关的问题的坚实基础,如属性、获取和设置属性值以及通知在IT领域的主要作用。
The aim is to provide you with a solid foundation on issues relating to managed entities, such as attributes, setting and getting attribute values, and the key role of notifications in the IT space.
不要将传播组件的属性直接连接到显示组件的行为上,将属性连接到聚合组件的行为上获取该值。
Rather than wiring the property from the broadcasting component directly to the consuming action on a display component, wire the property to the action for that value on the aggregation component.
属性代理负责获取发生变化的属性,并把属性值传递给由连接(经过属性代理注册)定义的动作。
The property broker is responsible for taking changed properties and distributing the property values to the appropriate actions as defined by the wires that are registered with the property broker.
一旦获取操作成功完成,CSLD获取任务就会将这个属性的值设置为99(绿色菱形图标)。
As soon as the retrieval is successfully finished, the CSLD retrieval task sets its value to 99 (green diamond icon).
清单1相当简单;清单4稍微有点复杂,但是它们在开始时都要检查就绪状态,并获取responsetext属性的值。
Listing 1 is fairly simple; Listing 4 is a little more complicated, but to begin, both check the ready state and then grab the value (or values) in the responseText property.
当bean标签具有属性“name”和属性“property”时,就是指其属性被访问以获取由“property”所指定的值的bean的属性名。
When the bean tag has the attribute "name" and attribute "property", it specifies the attribute name of the bean whose property is accessed to retrieve the value specified by "property".
当执行线程返回到调用方应用程序时,读取neededReports属性值并相应获取所需报告就是该应用程序的职责。
When the execution thread returns to the invoking application, it is the application's responsibility to read the value of the neededReports attribute and fetch the necessary reports accordingly.
该属性的默认值是true,这意味着在服务器支持的情况下,驱动程序将尝试对可滚动游标使用多行获取(MRF)。
The default value for this property is true, which means the driver will always try to use multi-row fetch (MRF) for scrollable cursors if the server supports it.
attributeText (ns,name) -从当前的开始标记获取所需属性的文本值。
AttributeText (ns, name) — Gets text value of required attribute from current start tag.
如果要获取name属性中的值,用户可以使用Route对象而不是Request对象。
To get the value from the name attribute, users use the Route object instead of the Request object.
您可以看到user的不同实例导致获取自属性的值也不同。
You can see how the different instances of user result in different values obtained from the properties.
例如,要获取一个特定指标元素的值,比如受监控的指标的当前值,我们必须检查每个Metric元素,直到我们发现包含正确name属性的元素。
For example, to get the value of a specific metric element, such as the current value of the monitored metric, we have to check each metric element until we find the one with the right name attribute.
插件JSP不是使用特定于属性的getter 方法,而是使用通用的名/值对来获取属性。
Rather than using attribute specific getters, the v2.0 plug-in JSP needs to use generic name / value pairs to retrieve attributes.
var属性会导致从指定URL获取的内容(作为String值)被存储在一个限定了作用域的变量中,而不是包含在当前 JSP页面中。
The var attribute causes the content fetched from the specified URL to be stored (as a String value) in a scoped variable, rather than included in the current JSP page.
为了实现这个目标,我们将调用observer方法(使用双点运算符)获取address列中的结构化类型值的城市属性。(清单2)。
To do that, we will invoke the observer method (using the double-dot operator) for the city attribute of the structured type value in the ADDRESS column (Listing 2).
通过Attr接口的schemaTypeInfo属性,您还可以获取一个属性信息项的属性类型特性的值 ——即一个属性的类型。
You can also retrieve the value of the attribute type property of an attribute information item -- this is the type of an attribute -- through the schemaTypeInfo attribute of the Attr interface.
例如,图8中的代码将从类型Static1中获取静态属性Message的值。
For example, the code in Figure 8 is going to get the value of the static property Message from the type Static1.
例如,图8中的代码将从类型Static1中获取静态属性Message的值。
For example, the code in Figure 8 is going to get the value of the static property Message from the type Static1.
应用推荐