Class ObjectDescription
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.common.model.request.ObjectDescription
-
public class ObjectDescription extends java.lang.Object
Simple object holding data used to retrieve an Object from the workspace
-
-
Constructor Summary
Constructors Constructor Description ObjectDescription()
Empty Constructor.ObjectDescription(DataCategory type, java.lang.String workspaceContainerGUID, java.lang.String objectName, java.lang.String workspaceObjectUri)
Constructor with DataCategory parameter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getObjectName()
DataCategory
getType()
java.lang.String
getWorkspaceContainerGUID()
java.lang.String
getWorkspaceObjectURI()
ObjectDescription
setObjectName(java.lang.String objectName)
ObjectDescription
setType(DataCategory type)
ObjectDescription
setWorkspaceContainerGUID(java.lang.String workspaceContainerGUID)
ObjectDescription
setWorkspaceObjectURI(java.lang.String workspaceObjectURI)
-
-
-
Constructor Detail
-
ObjectDescription
public ObjectDescription()
Empty Constructor.
-
ObjectDescription
public ObjectDescription(DataCategory type, java.lang.String workspaceContainerGUID, java.lang.String objectName, java.lang.String workspaceObjectUri)
Constructor with DataCategory parameter- Parameters:
type
- the collection tyoeworkspaceContainerGUID
- the container guid in workspaceobjectName
- the object nameworkspaceObjectUri
- the workspace uri of the object
-
-
Method Detail
-
getWorkspaceObjectURI
public java.lang.String getWorkspaceObjectURI()
- Returns:
- workspaceObjectURI
-
setWorkspaceObjectURI
public ObjectDescription setWorkspaceObjectURI(java.lang.String workspaceObjectURI)
- Parameters:
workspaceObjectURI
- to set- Returns:
- this
-
getWorkspaceContainerGUID
public java.lang.String getWorkspaceContainerGUID()
- Returns:
- workspaceContainerGUID
-
setWorkspaceContainerGUID
public ObjectDescription setWorkspaceContainerGUID(java.lang.String workspaceContainerGUID)
- Parameters:
workspaceContainerGUID
- to set- Returns:
- this
-
getObjectName
public java.lang.String getObjectName()
- Returns:
- the objectName
-
setObjectName
public ObjectDescription setObjectName(java.lang.String objectName)
- Parameters:
objectName
- the objectName to set- Returns:
- this
-
getType
public DataCategory getType()
- Returns:
- the type
-
setType
public ObjectDescription setType(DataCategory type)
- Parameters:
type
- the type to set- Returns:
- this
-
-