org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.response
Class InformationObjectResponse
java.lang.Object
org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.response.AbstractSMSResponseConfig
org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.response.InformationObjectResponse
- All Implemented Interfaces:
- SMSResponseConfig
public class InformationObjectResponse
- extends AbstractSMSResponseConfig
- Author:
- Federico De Faveri defaveri@isti.cnr.it
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InformationObjectResponse
public InformationObjectResponse(RawContentLocationConfig location,
java.util.List<StorageHint> hints)
plainInformationObject
public static InformationObjectResponse plainInformationObject()
- Plain information object without properties or references.
- Returns:
plainInformationObjectWithProperties
public static InformationObjectResponse plainInformationObjectWithProperties()
- Plain information object with properties and raw content url in properties list.
- Returns:
completeInformationObject
public static InformationObjectResponse completeInformationObject()
completeInformationObjectWithContent
public static InformationObjectResponse completeInformationObjectWithContent(java.lang.String location)
completeInformationObjectWithContentInMessage
public static InformationObjectResponse completeInformationObjectWithContentInMessage()
plainInformationObjectWithContent
public static InformationObjectResponse plainInformationObjectWithContent(java.lang.String location)
plainInformationObjectWithContentInMessage
public static InformationObjectResponse plainInformationObjectWithContentInMessage()
getLocation
public RawContentLocationConfig getLocation()
- Returns:
- the location
getHints
public java.util.List<StorageHint> getHints()
- Returns:
- the hints
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object