Class MappingMarkLogicEntityInformation<T,ID>
- java.lang.Object
-
- org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
-
- io.github.malteseduck.springframework.data.marklogic.repository.support.MappingMarkLogicEntityInformation<T,ID>
-
- All Implemented Interfaces:
MarkLogicEntityInformation<T,ID>
,org.springframework.data.repository.core.EntityInformation<T,ID>
,org.springframework.data.repository.core.EntityMetadata<T>
public class MappingMarkLogicEntityInformation<T,ID> extends org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID> implements MarkLogicEntityInformation<T,ID>
-
-
Constructor Summary
Constructors Constructor Description MappingMarkLogicEntityInformation(MarkLogicPersistentEntity<T> entityMetadata)
MappingMarkLogicEntityInformation(MarkLogicPersistentEntity<T> entityMetadata, Class<ID> idType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCollectionName()
Returns the name of the collection the entity shall be persisted to.String
getIdAttribute()
Returns the attribute that the id will be persisted to.Class<ID>
getIdType()
-
Methods inherited from class org.springframework.data.repository.core.support.PersistentEntityInformation
getId, getJavaType, isNew
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
MappingMarkLogicEntityInformation
public MappingMarkLogicEntityInformation(MarkLogicPersistentEntity<T> entityMetadata)
-
MappingMarkLogicEntityInformation
public MappingMarkLogicEntityInformation(MarkLogicPersistentEntity<T> entityMetadata, Class<ID> idType)
-
-
Method Detail
-
getCollectionName
public String getCollectionName()
Description copied from interface:MarkLogicEntityInformation
Returns the name of the collection the entity shall be persisted to.- Specified by:
getCollectionName
in interfaceMarkLogicEntityInformation<T,ID>
- Returns:
-
getIdAttribute
public String getIdAttribute()
Description copied from interface:MarkLogicEntityInformation
Returns the attribute that the id will be persisted to.- Specified by:
getIdAttribute
in interfaceMarkLogicEntityInformation<T,ID>
- Returns:
-
-