public enum PropertyNameFieldNamingStrategy extends EnumSE<PropertyNameFieldNamingStrategy> implements FieldNamingStrategy
FieldNamingStrategy は、単に PersistentProperty の名前を使用します。| 列挙型定数と説明 |
|---|
INSTANCE |
| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE | getFieldName(PersistentProperty<?> property) 指定された PersistentProperty に使用されるフィールド名を返します。 |
static PropertyNameFieldNamingStrategy | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static PropertyNameFieldNamingStrategy[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSEgetClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic static final PropertyNameFieldNamingStrategy INSTANCE
public static PropertyNameFieldNamingStrategy[] values()
for (PropertyNameFieldNamingStrategy c : PropertyNameFieldNamingStrategy.values()) System.out.println(c);
public static PropertyNameFieldNamingStrategy valueOf(StringSE name)
name - 返される列挙定数の名前。IllegalArgumentExceptionSE - この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE - 引数が null の場合 public StringSE getFieldName(PersistentProperty<?> property)
FieldNamingStrategyPersistentProperty に使用されるフィールド名を返します。FieldNamingStrategy の getFieldName property - null または空であってはなりません。Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.