如何通过单表继承访问父属性?
How to access parent attributes via single table inheritance?
每个运算式内容都具有会在堆叠上置放下一个运算式内容的父属性。
Each expression context has a parent property that locates the next expression context on the stack.
然后,父容器使用这些属性度量它本身。
The parent container then uses these properties to measure itself.
只有父控件和样式是在构造函数中设置的,其他所有属性都是在已创建的对象上设置的。
Only the parent and style are set in the constructor; all other properties are set on the created object.
另外,你要么不定义任何关联,要么在子pojo中定义一个值类型的属性来表示父pojo的ID(另一个方向也是类似的)。
Otherwise you either don't define any association or just define a value-typed property in the child POJO to represent the parent POJO's ID property (similar argument for the other direction).
在这种情况下,新创建的配置对象就无法被建模为父配置对象的属性。
In this case, a newly created config object can not be modelled as attributes on a parent.
前面描述过,配置对象可以是嵌套的,可以被建模为父配置对象的属性。
As described earlier, config objects can be nested, which are modelled as attributes on the parent.
附加属性很有用,因为它让父面板可以扩展其中包含的控件的属性集。
Attached properties are useful as they allow a parent panel to extend the property set of a control contained within it.
也许会在元类代码中添加一个检查,以查看是否在父类中设置了这些属性,但是这样会增加负担,并且不会控制所有的类。
You might add a check in the metaclass code to see if the attributes were already set in a parent class, but this adds plumbing and it does not give real control on a per-class basis.
还可以嵌套子流并将内部子流属性提升到父流的高度,允许动态控制子流处理。
You can also nest subflows as well as promote internal subflow properties to the level of the parent flow, allowing dynamic control of subflow processing.
子节点中的产品基本上继承父节点中产品的所有属性,除非覆盖特定的属性。
Basically a product in child node inherits all attributes from the product categorized in the parent node unless for an attribute a specific override is done.
事件定义由名称、父事件定义名称、扩展数据元素和所包含的事件属性组成。
An event definition consists of its name, the name of any parent event definition, the extended data elements, and event properties that it can contain.
要创建新的配置对象,需要提供该对象的父ID及其属性。
To create a new configuration object, you need to provide the parent ID of this object as well as its attributes.
在该场景中,处理下载的组件使用父数据表组件的变量(var属性定义的)。
In this scenario, the component that deals with download USES the variable (defined by the var attribute) of the parent Datatable component.
观测者可以通过ev:observer属性指定,或者默认为父元素。
The observer is either specified through the ev: observer attribute, or the parent element.
ElementTree 采用的解决方案赋予了每个节点一个 .tail属性,它包含了位于结束标记之后,下一元素开始或父元素结束之前所有的文本。
The solution ElementTree adopts is to give each node a .tail attribute, which contains all the text after a closing tag but before the next element begins or the parent element is closed. For example
父条目不能被完全加载,因为其children属性不是一个列出所有子条目的数组。
The parent item is not fully loaded because its children attribute is not an array that lists all the children of this item.
通过添加“|”分隔符和将Topic的名称属性添加到父环境的全限定名来构造Topic的全限定名。
The fully qualified name of the Topic is constructed by adding the "|" separator and the Topic's name attribute to the fully qualified name of the parent context.
表单的父对象是一个具有runat属性的总容器控件。
The parent object of the form is the outer container control that has the runat attribute set.
首先,创建一个带有恰当about属性的父元素(通常命名为channel)。
First, the parent element (appropriately named channel) is created with an appropriate about attribute.
Widget父元素有详细说明Widget信息的属性,如表1所示。
The widget parent element has attributes that specify information about the widget, as shown in Table 1.
分隔符和Package的名称属性添加到父环境的全限定名来构造Package的全限定名。
The fully qualified name of a Package is constructed by adding the ". "separator and the Package's name attribute to the fully qualified name of the parent context. Each contained element can be.
清单4中的ev:event属性规定了要监听的特定事件,处理程序是xf:reset元素,观测者被默认为父元素xf: trigger。
In Listing 4, the ev: event attribute specifies the specific event being listened for; the handler is the xf: reset element, and the observer defaults to the parent element, xf: trigger.
如果绑定到元素数据,它就应该是目标元素的父元素;如果绑定到属性数据,它就应该是包含这个属性的元素。
If you bind to element data, it should be the parent element of the target element; if you bind to attribute data, it should be the containing element.
您可以创建一个父类的转换配置,它将属性设置为真,则会让所有的子类都静声地运行。
You could create a parent transformation configuration that has the property set to true to cause all the children run silently.
可以查询项目的父组件和子组件的任何属性,也可以查询工作包、工作节点或过程中定义的任何字段。
You can perform a query of any attribute on the parent or child component of the item and on any field defined in the work package, work node, or process.
在这种情况下,您要选择父级业务对象,并定义两个键属性:一个指向父级键,一个指向子级键。
In this case you select the parent business object and define two key attributes: one pointing to the parent key and one pointing to the child key.
这个例子向您展示了,属性值是如何继承自父类转换配置的。
This example shows how property values are inherited from parent transformation configurations.
组合角色一个特殊情况是,业务对象只能通过将其键属性与父级的键属性进行组合来唯一标识。
A special case of a composite role is where a business object can only be uniquely identified when combining its key attribute with its parent's key attribute.
另外,来自Li的任何父级的级键、默认属性或相关属性也可以添加到查询中。
Also, level keys, default attributes, or related attributes from any parent levels of Li can be added to the query.
应用推荐