Class SessionContract
- java.lang.Object
-
- es.bsc.dataclay.util.management.sessionmgr.SessionContract
-
- All Implemented Interfaces:
Serializable
public final class SessionContract extends Object implements Serializable
This class represents a contract in a Session.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionContract()
Empty constructor for specification of requirements while validating sessionsSessionContract(ContractID newcontractID)
Session contract constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractID
getContractID()
Get the SessionContract::contractIDUUID
getId()
get idMap<InterfaceID,SessionInterface>
getSessionInterfaces()
Get the SessionContract::sessionInterfacesvoid
setContractID(ContractID newcontractID)
Set the SessionContract::contractIDvoid
setId(UUID newid)
Set idvoid
setSessionInterfaces(Map<InterfaceID,SessionInterface> newsessionInterfaces)
Set the SessionContract::sessionInterfaces
-
-
-
Constructor Detail
-
SessionContract
public SessionContract()
Empty constructor for specification of requirements while validating sessions
-
SessionContract
public SessionContract(ContractID newcontractID)
Session contract constructor- Parameters:
newcontractID
- ID of the Contract
-
-
Method Detail
-
getContractID
public ContractID getContractID()
Get the SessionContract::contractID- Returns:
- the contractID
-
setContractID
public void setContractID(ContractID newcontractID)
Set the SessionContract::contractID- Parameters:
newcontractID
- the contractID to set
-
getSessionInterfaces
public Map<InterfaceID,SessionInterface> getSessionInterfaces()
Get the SessionContract::sessionInterfaces- Returns:
- the sessionInterfaces
-
setSessionInterfaces
public void setSessionInterfaces(Map<InterfaceID,SessionInterface> newsessionInterfaces)
Set the SessionContract::sessionInterfaces- Parameters:
newsessionInterfaces
- the sessionInterfaces to set
-
getId
public UUID getId()
get id- Returns:
- id
-
setId
public void setId(UUID newid)
Set id- Parameters:
newid
- the id
-
-