Spring Data Couchbase

org.springframework.data.couchbase.core.mapping
Interface CouchbasePersistentEntity<T>

All Superinterfaces:
PersistentEntity<T,CouchbasePersistentProperty>
All Known Implementing Classes:
BasicCouchbasePersistentEntity

public interface CouchbasePersistentEntity<T>
extends PersistentEntity<T,CouchbasePersistentProperty>

Represents an entity that can be persisted which contains 0 or more properties.

Author:
Michael Nitschinger

Method Summary
 int getExpiry()
          Returns the expiry time for the document.
 
Methods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty
 

Method Detail

getExpiry

int getExpiry()
Returns the expiry time for the document.

Returns:
the expiration time.

Spring Data Couchbase

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.