Class SessionDataContract
- java.lang.Object
-
- es.bsc.dataclay.util.management.sessionmgr.SessionDataContract
-
- All Implemented Interfaces:
Serializable
public final class SessionDataContract extends Object implements Serializable
This class represents a data contract in a Session.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionDataContract()
Empty constructor for specification of requirements while validating sessionsSessionDataContract(DataContractID newdatacontractID, DataSetID newdatasetOfProvider)
Session contract constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataContractID
getDataContractID()
Get the SessionDataContract::datacontractIDDataSetID
getDataSetOfProvider()
Get the SessionDataContract::datasetOfProviderUUID
getId()
get idvoid
setDataContractID(DataContractID newdatacontractID)
Set the SessionDataContract::datacontractIDvoid
setDataSetOfProvider(DataSetID newdatasetOfProvider)
Set the SessionDataContract::datasetOfProvidervoid
setId(UUID newid)
Set id
-
-
-
Constructor Detail
-
SessionDataContract
public SessionDataContract()
Empty constructor for specification of requirements while validating sessions
-
SessionDataContract
public SessionDataContract(DataContractID newdatacontractID, DataSetID newdatasetOfProvider)
Session contract constructor- Parameters:
newdatacontractID
- ID of the DataContractnewdatasetOfProvider
- ID of the DataSet of the provider of the data contract
-
-
Method Detail
-
getDataContractID
public DataContractID getDataContractID()
Get the SessionDataContract::datacontractID- Returns:
- the datacontractID
-
setDataContractID
public void setDataContractID(DataContractID newdatacontractID)
Set the SessionDataContract::datacontractID- Parameters:
newdatacontractID
- the datacontractID to set
-
getDataSetOfProvider
public DataSetID getDataSetOfProvider()
Get the SessionDataContract::datasetOfProvider- Returns:
- the datasetOfProvider
-
setDataSetOfProvider
public void setDataSetOfProvider(DataSetID newdatasetOfProvider)
Set the SessionDataContract::datasetOfProvider- Parameters:
newdatasetOfProvider
- the datasetOfProvider to set
-
getId
public UUID getId()
get id- Returns:
- id
-
setId
public void setId(UUID newid)
Set id- Parameters:
newid
- the id
-
-