public interface MutablePersistentEntity<T,P extends PersistentProperty<P>> extends PersistentEntity<T,P>
PersistentEntitys.| Modifier and Type | Method and Description | 
|---|---|
| void | addAssociation(Association<P> association)Adds an  Associationto the entity. | 
| void | addPersistentProperty(P property)Adds a  PersistentPropertyto the entity. | 
| void | setEvaluationContextProvider(EvaluationContextProvider provider)Sets the  EvaluationContextProviderto be used by the entity. | 
| void | setPersistentPropertyAccessorFactory(PersistentPropertyAccessorFactory factory)Sets the  PersistentPropertyAccessorFactoryfor the entity. | 
| void | verify()Callback method to trigger validation of the  PersistentEntity. | 
doWithAll, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulationforEach, iterator, spliteratorvoid addPersistentProperty(P property)
PersistentProperty to the entity.property - void addAssociation(Association<P> association)
Association to the entity.association - void verify()
     throws MappingException
PersistentEntity. As MutablePersistentEntity is not
 immutable there might be some verification steps necessary after the object has reached is final state.MappingException - in case the entity is invalidvoid setPersistentPropertyAccessorFactory(PersistentPropertyAccessorFactory factory)
PersistentPropertyAccessorFactory for the entity. A PersistentPropertyAccessorFactory
 creates PersistentPropertyAccessors for instances of this entity.factory - must not be null.void setEvaluationContextProvider(EvaluationContextProvider provider)
EvaluationContextProvider to be used by the entity.provider - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.