public class DataRestRepository extends Object
| Constructor and Description |
|---|
DataRestRepository(Class<?> domainType,
Class<?> repositoryType)
Instantiates a new Data rest repository.
|
| Modifier and Type | Method and Description |
|---|---|
ControllerType |
getControllerType()
Gets controller type.
|
Class<?> |
getDomainType()
Gets domain type.
|
org.springframework.data.mapping.PersistentEntity |
getPersistentEntity()
Gets persistent entity.
|
Class<?> |
getPropertyType()
Gets property type.
|
String |
getRelationName()
Gets relation name.
|
Class<?> |
getRepositoryType()
Gets repository type.
|
Class |
getReturnType()
Gets return type.
|
boolean |
isCollectionLike()
Is collection like boolean.
|
boolean |
isMap()
Is map boolean.
|
void |
setCollectionLike(boolean collectionLike)
Sets collection like.
|
void |
setControllerType(ControllerType controllerType)
Sets controller type.
|
void |
setDomainType(Class<?> domainType)
Sets domain type.
|
void |
setMap(boolean map)
Sets map.
|
void |
setPersistentEntity(org.springframework.data.mapping.PersistentEntity persistentEntity)
Sets persistent entity.
|
void |
setPropertyType(Class<?> propertyType)
Sets property type.
|
void |
setRelationName(String relationName)
Sets relation name.
|
void |
setRepositoryType(Class<?> repositoryType)
Sets repository type.
|
public Class<?> getDomainType()
public void setDomainType(Class<?> domainType)
domainType - the domain typepublic Class<?> getRepositoryType()
public void setRepositoryType(Class<?> repositoryType)
repositoryType - the repository typepublic String getRelationName()
public void setRelationName(String relationName)
relationName - the relation namepublic ControllerType getControllerType()
public void setControllerType(ControllerType controllerType)
controllerType - the controller typepublic boolean isCollectionLike()
public void setCollectionLike(boolean collectionLike)
collectionLike - the collection likepublic boolean isMap()
public void setMap(boolean map)
map - the mappublic Class<?> getPropertyType()
public void setPropertyType(Class<?> propertyType)
propertyType - the property typepublic org.springframework.data.mapping.PersistentEntity getPersistentEntity()
public void setPersistentEntity(org.springframework.data.mapping.PersistentEntity persistentEntity)
persistentEntity - the persistent entitypublic Class getReturnType()
Copyright © 2021. All rights reserved.