Package org.dspace.app.rest.model
Class ExternalSourceEntryRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.ExternalSourceEntryRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class ExternalSourceEntryRest extends RestAddressableModel
This class serves as a REST representation for an entry of external data- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAMEstatic StringPLURAL_NAME-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description ExternalSourceEntryRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetDisplay()Generic getter for the displayStringgetExternalSource()Generic getter for the externalSourceStringgetId()Generic getter for the idMetadataRestgetMetadata()Generic getter for the metadataStringgetType()StringgetValue()Generic getter for the valuevoidsetDisplay(String display)Generic setter for the displayvoidsetExternalSource(String externalSource)Generic setter for the externalSourcevoidsetId(String id)Generic setter for the idvoidsetMetadata(MetadataRest metadata)Generic setter for the metadatavoidsetValue(String value)Generic setter for the value-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PLURAL_NAME
public static final String PLURAL_NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getType
public String getType()
-
getId
public String getId()
Generic getter for the id- Returns:
- the id value of this ExternalSourceEntryRest
-
setId
public void setId(String id)
Generic setter for the id- Parameters:
id- The id to be set on this ExternalSourceEntryRest
-
getDisplay
public String getDisplay()
Generic getter for the display- Returns:
- the display value of this ExternalSourceEntryRest
-
setDisplay
public void setDisplay(String display)
Generic setter for the display- Parameters:
display- The display to be set on this ExternalSourceEntryRest
-
getValue
public String getValue()
Generic getter for the value- Returns:
- the value value of this ExternalSourceEntryRest
-
setValue
public void setValue(String value)
Generic setter for the value- Parameters:
value- The value to be set on this ExternalSourceEntryRest
-
getExternalSource
public String getExternalSource()
Generic getter for the externalSource- Returns:
- the externalSource value of this ExternalSourceEntryRest
-
setExternalSource
public void setExternalSource(String externalSource)
Generic setter for the externalSource- Parameters:
externalSource- The externalSource to be set on this ExternalSourceEntryRest
-
getMetadata
public MetadataRest getMetadata()
Generic getter for the metadata- Returns:
- the metadata value of this ExternalSourceEntryRest
-
setMetadata
public void setMetadata(MetadataRest metadata)
Generic setter for the metadata- Parameters:
metadata- The metadata to be set on this ExternalSourceEntryRest
-
-