mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Fix typos
This commit is contained in:
@@ -18,7 +18,7 @@ import org.dspace.app.rest.RestResourceController;
|
||||
* @author Andrea Bollini (andrea.bollini at 4science.it)
|
||||
*/
|
||||
public class VocabularyEntryDetailsRest extends RestAddressableModel {
|
||||
public static final String NAME = "vocabularyDetailEntry";
|
||||
public static final String NAME = "vocabularyEntryDetail";
|
||||
private String id;
|
||||
private String display;
|
||||
private String value;
|
||||
@@ -78,7 +78,7 @@ public class VocabularyEntryDetailsRest extends RestAddressableModel {
|
||||
|
||||
@Override
|
||||
public String getType() {
|
||||
return VocabularyRest.NAME;
|
||||
return VocabularyEntryDetailsRest.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -10,7 +10,6 @@ package org.dspace.app.rest.model;
|
||||
import java.util.Map;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import org.dspace.app.rest.RestResourceController;
|
||||
|
||||
/**
|
||||
* An entry in a Vocabulary
|
||||
@@ -23,7 +22,7 @@ public class VocabularyEntryRest {
|
||||
private String display;
|
||||
private String value;
|
||||
private Map<String, String> otherInformation;
|
||||
|
||||
|
||||
/**
|
||||
* The Vocabulary Entry Details resource if available related to this entry
|
||||
*/
|
||||
|
@@ -11,7 +11,7 @@ import org.dspace.app.rest.model.VocabularyEntryDetailsRest;
|
||||
import org.dspace.app.rest.model.hateoas.annotations.RelNameDSpaceResource;
|
||||
|
||||
/**
|
||||
* Authority Rest HAL Resource. The HAL Resource wraps the REST Resource adding
|
||||
* Vocabulary Entry Details Rest HAL Resource. The HAL Resource wraps the REST Resource adding
|
||||
* support for the links and embedded resources
|
||||
*
|
||||
* @author Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
|
||||
@@ -19,7 +19,6 @@ import org.dspace.app.rest.model.hateoas.annotations.RelNameDSpaceResource;
|
||||
@RelNameDSpaceResource(VocabularyEntryDetailsRest.NAME)
|
||||
public class VocabularyEntryDetailsResource extends HALResource<VocabularyEntryDetailsRest> {
|
||||
|
||||
|
||||
public VocabularyEntryDetailsResource(VocabularyEntryDetailsRest entry) {
|
||||
super(entry);
|
||||
}
|
||||
|
Reference in New Issue
Block a user