DATAREST-93 - Made mapping classes package protected where possible.
This commit is contained in:
@@ -28,7 +28,7 @@ import org.springframework.util.Assert;
|
||||
/**
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
public class RepositoryAwareResourceInformation implements ResourceMetadata {
|
||||
class RepositoryAwareResourceInformation implements ResourceMetadata {
|
||||
|
||||
private final Repositories repositories;
|
||||
private final CollectionResourceMapping mapping;
|
||||
@@ -119,7 +119,7 @@ public class RepositoryAwareResourceInformation implements ResourceMetadata {
|
||||
public Path getPath() {
|
||||
return mapping.getPath();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.data.rest.repository.mapping.ResourceMetadata#getSearchResourceMappings()
|
||||
@@ -128,5 +128,5 @@ public class RepositoryAwareResourceInformation implements ResourceMetadata {
|
||||
public Map<String, ResourceMapping> getSearchResourceMappings() {
|
||||
return provider.getSearchResourceMappings(repositoryInterface.getRepositoryInterface());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.util.StringUtils;
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
public class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
|
||||
class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
|
||||
|
||||
private final RestResource annotation;
|
||||
private final CollectionResourceMapping domainTypeMapping;
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.util.StringUtils;
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
public class RepositoryMethodResourceMapping implements ResourceMapping {
|
||||
class RepositoryMethodResourceMapping implements ResourceMapping {
|
||||
|
||||
private final boolean isExported;
|
||||
private final String rel;
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.springframework.util.StringUtils;
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
public class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
|
||||
class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
|
||||
|
||||
private final Class<?> type;
|
||||
private final RestResource annotation;
|
||||
|
||||
Reference in New Issue
Block a user