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 DataContractIDgetDataContractID()Get the SessionDataContract::datacontractIDDataSetIDgetDataSetOfProvider()Get the SessionDataContract::datasetOfProviderUUIDgetId()get idvoidsetDataContractID(DataContractID newdatacontractID)Set the SessionDataContract::datacontractIDvoidsetDataSetOfProvider(DataSetID newdatasetOfProvider)Set the SessionDataContract::datasetOfProvidervoidsetId(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
-
-