public enum InheritanceType extends EnumSE<InheritanceType>
列挙型定数と説明 |
---|
JOINED サブクラスに固有のフィールドが親クラスに共通のフィールドとは別のテーブルにマップされ、結合が実行されてサブクラスがインスタンス化される戦略。 |
SINGLE_TABLE クラス階層ごとに 1 つのテーブル。 |
TABLE_PER_CLASS 具体的なエンティティクラスごとのテーブル。 |
修飾子と型 | メソッドと説明 |
---|---|
static InheritanceType | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static InheritanceType[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSE
getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public static final InheritanceType SINGLE_TABLE
public static final InheritanceType TABLE_PER_CLASS
public static final InheritanceType JOINED
public static InheritanceType[] values()
for (InheritanceType c : InheritanceType.values()) System.out.println(c);
public static InheritanceType valueOf(StringSE name)
name
- 返される列挙定数の名前。IllegalArgumentExceptionSE
- この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE
- 引数が null の場合 Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.