public interface MutablePersistentEntity<T,P extends PersistentProperty<P>> extends PersistentEntity<T,P>
PersistentEntity のミューテーターメソッドをキャプチャーするインターフェース。| 修飾子と型 | メソッドと説明 |
|---|---|
void | addAssociation(Association<P> association) エンティティに Association を追加します。 |
void | addPersistentProperty(P property) エンティティに PersistentProperty を追加します。 |
void | setEvaluationContextProvider(EvaluationContextProvider provider) エンティティが使用する EvaluationContextProvider を設定します。 |
void | setPersistentPropertyAccessorFactory(PersistentPropertyAccessorFactory factory) エンティティの PersistentPropertyAccessorFactory を設定します。 |
void | verify()PersistentEntity の検証をトリガーするコールバックメソッド。 |
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulationforEachSE, iteratorSE, spliteratorSEvoid addPersistentProperty(P property)
PersistentProperty を追加します。property -void addAssociation(Association<P> association)
Association を追加します。association -void verify()
throws MappingExceptionPersistentEntity の検証をトリガーするコールバックメソッド。MutablePersistentEntity は不変ではないため、オブジェクトが最終状態に達した後に、いくつかの検証手順が必要になる場合があります。MappingException - エンティティが無効な場合 void setPersistentPropertyAccessorFactory(PersistentPropertyAccessorFactory factory)
PersistentPropertyAccessorFactory を設定します。PersistentPropertyAccessorFactory は、このエンティティのインスタンスの PersistentPropertyAccessor を作成します。factory - null であってはなりません。void setEvaluationContextProvider(EvaluationContextProvider provider)
EvaluationContextProvider を設定します。provider - null であってはなりません。Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.