Class SessionOperation
- java.lang.Object
-
- es.bsc.dataclay.util.management.sessionmgr.SessionOperation
-
- All Implemented Interfaces:
Serializable
public final class SessionOperation extends Object implements Serializable
This class represents an operation in a Session.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionOperation()
Empty constructor for specification of requirements while validating sessionsSessionOperation(OperationID newoperationID, SessionImplementation newsessionLocalImplementation, SessionImplementation newsessionRemoteImplementation)
SessionOperation constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
getId()
get idOperationID
getOperationID()
Get the SessionOperation::operationIDSessionImplementation
getSessionLocalImplementation()
Get the SessionOperation::sessionLocalImplementationSessionImplementation
getSessionRemoteImplementation()
Get the SessionOperation::sessionRemoteImplementationvoid
setId(UUID newid)
Set idvoid
setOperationID(OperationID newoperationID)
Set the SessionOperation::operationIDvoid
setSessionLocalImplementation(SessionImplementation newsessionLocalImplementation)
Set the SessionOperation::sessionLocalImplementationvoid
setSessionRemoteImplementation(SessionImplementation newsessionRemoteImplementation)
Set the SessionOperation::sessionRemoteImplementation
-
-
-
Constructor Detail
-
SessionOperation
public SessionOperation()
Empty constructor for specification of requirements while validating sessions
-
SessionOperation
public SessionOperation(OperationID newoperationID, SessionImplementation newsessionLocalImplementation, SessionImplementation newsessionRemoteImplementation)
SessionOperation constructor- Parameters:
newoperationID
- ID of the operationnewsessionLocalImplementation
- the session local implementationnewsessionRemoteImplementation
- the session remote implementation
-
-
Method Detail
-
getOperationID
public OperationID getOperationID()
Get the SessionOperation::operationID- Returns:
- the operationID
-
setOperationID
public void setOperationID(OperationID newoperationID)
Set the SessionOperation::operationID- Parameters:
newoperationID
- the operationID to set
-
getSessionLocalImplementation
public SessionImplementation getSessionLocalImplementation()
Get the SessionOperation::sessionLocalImplementation- Returns:
- the sessionLocalImplementation
-
setSessionLocalImplementation
public void setSessionLocalImplementation(SessionImplementation newsessionLocalImplementation)
Set the SessionOperation::sessionLocalImplementation- Parameters:
newsessionLocalImplementation
- the sessionLocalImplementation to set
-
getSessionRemoteImplementation
public SessionImplementation getSessionRemoteImplementation()
Get the SessionOperation::sessionRemoteImplementation- Returns:
- the sessionRemoteImplementation
-
setSessionRemoteImplementation
public void setSessionRemoteImplementation(SessionImplementation newsessionRemoteImplementation)
Set the SessionOperation::sessionRemoteImplementation- Parameters:
newsessionRemoteImplementation
- the sessionRemoteImplementation to set
-
getId
public UUID getId()
get id- Returns:
- id
-
setId
public void setId(UUID newid)
Set id- Parameters:
newid
- the id
-
-