Package org.dspace.app.rest.model
Class ItemRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.DSpaceObjectRest
-
- org.dspace.app.rest.model.ItemRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="bundles",method="getBundles") @LinkRest(name="mappedCollections",method="getMappedCollections") @LinkRest(name="owningCollection",method="getOwningCollection") @LinkRest(name="relationships",method="getRelationships") @LinkRest(name="version",method="getItemVersion") @LinkRest(name="templateItemOf",method="getTemplateItemOf") @LinkRest(name="thumbnail",method="getThumbnail") public class ItemRest extends DSpaceObjectRest
The Item REST Resource- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringBUNDLESstatic StringCATEGORYstatic StringMAPPED_COLLECTIONSstatic StringNAMEstatic StringOWNING_COLLECTIONstatic StringPLURAL_NAMEstatic StringRELATIONSHIPSstatic StringTEMPLATE_ITEM_OFstatic StringTHUMBNAILstatic StringVERSION-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description ItemRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()booleangetDiscoverable()StringgetEntityType()booleangetInArchive()DategetLastModified()StringgetType()booleangetWithdrawn()voidsetDiscoverable(boolean discoverable)voidsetEntityType(String entityType)voidsetInArchive(boolean inArchive)voidsetLastModified(Date lastModified)voidsetWithdrawn(boolean withdrawn)-
Methods inherited from class org.dspace.app.rest.model.DSpaceObjectRest
getController, getHandle, getId, getMetadata, getName, getUuid, setHandle, setMetadata, setName, setUuid
-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors, setId
-
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
-
BUNDLES
public static final String BUNDLES
- See Also:
- Constant Field Values
-
MAPPED_COLLECTIONS
public static final String MAPPED_COLLECTIONS
- See Also:
- Constant Field Values
-
OWNING_COLLECTION
public static final String OWNING_COLLECTION
- See Also:
- Constant Field Values
-
RELATIONSHIPS
public static final String RELATIONSHIPS
- See Also:
- Constant Field Values
-
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
-
TEMPLATE_ITEM_OF
public static final String TEMPLATE_ITEM_OF
- See Also:
- Constant Field Values
-
THUMBNAIL
public static final String THUMBNAIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
getInArchive
public boolean getInArchive()
-
setInArchive
public void setInArchive(boolean inArchive)
-
getDiscoverable
public boolean getDiscoverable()
-
setDiscoverable
public void setDiscoverable(boolean discoverable)
-
getWithdrawn
public boolean getWithdrawn()
-
setWithdrawn
public void setWithdrawn(boolean withdrawn)
-
getLastModified
public Date getLastModified()
-
setLastModified
public void setLastModified(Date lastModified)
-
getEntityType
public String getEntityType()
-
setEntityType
public void setEntityType(String entityType)
-
-