DATAREST-93 - Made mapping classes package protected where possible.

This commit is contained in:
Oliver Gierke
2013-07-08 13:07:50 +02:00
parent 237d142d38
commit 86a298efba
4 changed files with 6 additions and 6 deletions

View File

@@ -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());
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;