public class BasicCouchbasePersistentEntity<T> extends BasicPersistentEntity<T,CouchbasePersistentProperty> implements CouchbasePersistentEntity<T>, ApplicationContextAware
hasIdProperty, hasVersionPropertyhasIdProperty, hasVersionProperty| Constructor and Description |
|---|
BasicCouchbasePersistentEntity(TypeInformation<T> typeInformation)
Create a new entity.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExpiry()
Returns the expiration time of the entity.
|
void |
setApplicationContext(ApplicationContext applicationContext)
Sets the application context.
|
addAssociation, addPersistentProperty, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty, returnPropertyIfBetterIdPropertyCandidateOrNull, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionPropertypublic BasicCouchbasePersistentEntity(TypeInformation<T> typeInformation)
typeInformation - the type information of the entity.public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareapplicationContext - the application context.BeansException - if setting the application context did go wrong.public int getExpiry()
getExpiry in interface CouchbasePersistentEntity<T>Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.