Here is an example of mapping a super class and a sub class using the single table strategy.
下面是一个使用单表策略映射超类和子类的示例。
Table per-class: (Optional) Each concrete subclass is mapped to a table and contains columns for super class attributes.
按类表:(可选)每个具体的子类映射到一个表,并且包含超类属性的列。
With this class as a super class, there are only three methods that should be overridden.
因为该类是一个超类,所以只有三个应该被忽略的方法。
The generated custom code utilizes a super class model, as shown in the standard generated custom code in Listing 4.
生成的定制代码使用一个超类模型,如清单4中标准生成的定制代码所示。
It is normal for a standard class to be a super class.
标准类作为超类是正常的。
This article discusses two potential areas that can provide powerful extension points for Rational Performance Tester: object extension via a super class, and reusable utilities via static methods.
本文讨论了两个潜在的区域,该区域为RationalPerformance Tester提供了强大的扩展点:通过一个超类来进行对象扩展,以及通过静态的方法来使用可再用设施。
All the custom JMS data bindings have a common super class, called AbstractJMSDataBindingImpl, which implements some common functionality; for example, methods for exception handling.
所有自定义JMS数据绑定都具有一个称为AbstractJMSDataBindingImpl的公共超类,这个类实现了一些公共的功能,比如,进行异常处理的方法。
This is useful because it allows a trait to call super without having to know what the actual base class of the class implementing the trait will be.
这非常有用,因为它允许特征在不了解实现特征的实际基类将是什么的情况下调用super 。
To model inheritance on a class diagram, a solid line is drawn from the child class (the class inheriting the behavior) with a closed, unfilled arrowhead (or triangle) pointing to the super class.
为了在一个类图上建模继承,从子类(要继承行为的类)拉出一条闭合的,单键头(或三角形)的实线指向超类。
Super class mapping support; attribute to column mapping defined in a super class should be available for its child class.
超类映射支持;超类中定义的属性到列的映射应该可用于它的子类。
Supernovas are a class of violently exploding stars that become super bright after eruption.
超新星是一类剧烈爆炸的恒星,爆发之后它变得极为明亮。
Also any data change on a subclass involves two tables: the super class table and the subclass table.
任何子类数据的修改都涉及两张表:超类的表和子类的表。
For that purpose, the tester selects this super helper class each time she creates a new test suite or a decision script.
为此,测试人员每次建立新测试套件或者决策脚本时都需要选择这个父帮助类。
Thus, when a type parameter t is used as the superclass of a generic class, the annotation on t tells us exactly what super-constructors we can call.
因此,当类型参数t用作泛型类的超类时,T的注释确切地告知我们可以调用哪些超级构造函数。
Schmidt, Page and Brin together own all of a super-voting class of stock, designated class B, that carries 10 votes for each share.
施密特、佩奇和布林这三人拥有全部带超级投票权的股票,即所谓的B级股,它们每股带有10票投票权。
As the emerging nation's wealth increases, and a whole new class of super-rich are being created, it was only a matter of time before exotic sports cars came up from the rear.
随着印度作为新兴国家财富日益积累,新生阶层的一大批超级富豪正在迅速崛起,国内进口跑车从无到有也仅仅是个时间问题。
Parameter values are accessed by calling a super class method.
通过调用父类的方法来访问参数值。
PdfBoxHelperSuperClass: This helper super class has methods and constants that make it simple to create a PDF text verification point in a test script.
PdfBoxHelperSuperClass:该Helper超类拥有的方法和变量,可以使在文本脚本中创建PD f文本确认点变得容易。
We're not sure if Obama's middle-class tax breaks will please Mr Blow, but as he also promised his minions, a "super dinner party", we'll keep an eye on White House catering too.
我们不确定奥巴马的中产阶级税收减免是否能够取悦blow先生,但因为Blow对他的仆人们承诺了一个“超级晚宴”,我们也会留意白宫的伙食供应。
If a class wants to associate with the super Payment class, the DB can't use referential integrity to enforce it; you have to use a trigger to do so.
如果一个类想和Payment超类关联,数据库无法使用引用完整性(referential integrity)来实现它;必须使用触发器来实现它。
As Japanese live longer and the number of centenarians rises to new levels, a new elite class is emerging: the Super Elderlies, or Genkinarians (from the word genki, meaning healthy and lively).
随着日本人寿命的延长和百岁老人数量增加到一个新的水平,一个新的精英阶层出现了:超级老人,或称元气族(Genkinarians,源自genki元气,意为健康而有活力)。
To demonstrate, in Listing 11 I'll create a Message prototype (also known as a class) that is super simple.
为了进行说明,在清单11中,我将创建一个Message原型(也称为一个类),这非常简单。
We will have a long civil war, a new party is the group of special interests and the super rich, the other side is is the middle class and the disadvantaged groups.
我们将迎来一场旷日持久的新内战,一方是特殊利益集团和超级富豪,另一方则是中产阶级和弱势群体。
When a subclass is DE - serialized, the no-argument Constructor of the super class will run.
当一个类是反序列化的,超类的无参数构造函数运行。
The shooting method, sub and super solution method, and fixed point theorem were used to study a class of nonlinear diffusion equations with nonlocal boundary value condition in perforated domains.
利用打靶法、上下解方法和不动点定理等工具,研究有孔区域上一类具非局部边值条件的非线性扩散方程。
You're really a super teacher. I'll never forget your class. I will remember your lessons forever!
你真的是一个很棒的老师。我永远也忘不了你讲的课。我会永远记住的!
If a Sub class is Serializable, it absolutely does not mean that its super class is also Serializable.
如果子类是可序列化的,它绝不意味着其超类是可序列化的。
Note that the public class, Foo, has no finalizer (other than the trivial one it inherits from Object), so it doesn't matter whether a subclass finalizer calls super. finalize or not.
注意公有类Foo没有终结方法(除非它从object继承一个无关紧要的),因此子类的终结方法是否调用super .finalize是不重要的。
Taking a knife class at a local cooking school will be entertaining and super helpful as you learn to cook for yourself more and more.
在当地烹饪学校学用刀很有意思,而且在学做菜的过程中也很有用。
If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by super. clone need to be modified.
如果一个类只包含基本字段或对不变对象的引用,那么通常不需要修改super .clone返回的对象中的字段。
应用推荐