Class DatasetLocation
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatasetLocation
-
- All Implemented Interfaces:
IDatasetLocation
,ICodeHolder
,java.io.Serializable
- Direct Known Subclasses:
LinkDataSetLocation
public class DatasetLocation extends java.lang.Object implements IDatasetLocation, java.io.Serializable, ICodeHolder
Encapsulates location and code of a data set in a store.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatasetLocation()
DatasetLocation(java.lang.String datasetCode, java.lang.String dataSetLocation, java.lang.String dataStoreCode, java.lang.String dataStoreUrl)
DatasetLocation(java.lang.String datasetCode, java.lang.String dataSetLocation, java.lang.String dataStoreCode, java.lang.String dataStoreUrl, java.lang.Integer orderInContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
Returns the code.java.lang.String
getDataSetCode()
java.lang.String
getDataSetLocation()
java.lang.Long
getDataSetSize()
java.lang.String
getDataStoreCode()
java.lang.String
getDataStoreUrl()
java.lang.Integer
getOrderInContainer(java.lang.String containerDataSetCode)
void
setDatasetCode(java.lang.String datasetCode)
void
setDataSetLocation(java.lang.String dataSetLocation)
void
setDataStoreCode(java.lang.String dataStoreCode)
void
setDataStoreUrl(java.lang.String dataStoreUrl)
void
setOrderInContainer(java.lang.Integer orderInContainer)
java.lang.String
toString()
-
-
-
Constructor Detail
-
DatasetLocation
public DatasetLocation()
-
DatasetLocation
public DatasetLocation(java.lang.String datasetCode, java.lang.String dataSetLocation, java.lang.String dataStoreCode, java.lang.String dataStoreUrl)
-
DatasetLocation
public DatasetLocation(java.lang.String datasetCode, java.lang.String dataSetLocation, java.lang.String dataStoreCode, java.lang.String dataStoreUrl, java.lang.Integer orderInContainer)
-
-
Method Detail
-
getOrderInContainer
public java.lang.Integer getOrderInContainer(java.lang.String containerDataSetCode)
- Specified by:
getOrderInContainer
in interfaceIDatasetLocation
-
setOrderInContainer
public void setOrderInContainer(java.lang.Integer orderInContainer)
-
getDataSetLocation
public java.lang.String getDataSetLocation()
- Specified by:
getDataSetLocation
in interfaceIDatasetLocation
-
setDataSetLocation
public void setDataSetLocation(java.lang.String dataSetLocation)
-
getDataSetCode
public java.lang.String getDataSetCode()
- Specified by:
getDataSetCode
in interfaceIDatasetLocation
-
setDatasetCode
public void setDatasetCode(java.lang.String datasetCode)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getCode
public java.lang.String getCode()
Description copied from interface:ICodeHolder
Returns the code.- Specified by:
getCode
in interfaceICodeHolder
-
getDataStoreUrl
public java.lang.String getDataStoreUrl()
- Specified by:
getDataStoreUrl
in interfaceIDatasetLocation
-
getDataStoreCode
public java.lang.String getDataStoreCode()
- Specified by:
getDataStoreCode
in interfaceIDatasetLocation
-
setDataStoreCode
public void setDataStoreCode(java.lang.String dataStoreCode)
-
setDataStoreUrl
public void setDataStoreUrl(java.lang.String dataStoreUrl)
-
getDataSetSize
public java.lang.Long getDataSetSize()
- Specified by:
getDataSetSize
in interfaceIDatasetLocation
-
-