Class SessionInterface
- java.lang.Object
-
- es.bsc.dataclay.util.management.sessionmgr.SessionInterface
-
- All Implemented Interfaces:
Serializable
public final class SessionInterface extends Object implements Serializable
This class represents an interface in a Session.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionInterface()
Empty constructor for specification of requirements while validating sessionsSessionInterface(InterfaceID newinterfaceID, MetaClassID newclassOfInterface)
Session interface constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetaClassID
getClassOfInterface()
Get the SessionInterface::classOfInterfaceUUID
getId()
get idInterfaceID
getImportOfInterface()
Get the SessionInterface::importOfInterfaceInterfaceID
getInterfaceID()
Get the SessionInterface::interfaceIDMap<OperationID,SessionOperation>
getSessionOperations()
Get the SessionInterface::sessionOperationsMap<PropertyID,SessionProperty>
getSessionProperties()
Get the SessionInterface::sessionPropertiesvoid
setClassOfInterface(MetaClassID newclassOfInterface)
Set the SessionInterface::classOfInterfacevoid
setId(UUID newid)
Set idvoid
setImportOfInterface(InterfaceID newimportOfInterface)
Set the SessionInterface::importOfInterfacevoid
setInterfaceID(InterfaceID newinterfaceID)
Set the SessionInterface::interfaceIDvoid
setSessionOperations(Map<OperationID,SessionOperation> newsessionOperations)
Set the SessionInterface::sessionOperationsvoid
setSessionProperties(Map<PropertyID,SessionProperty> newsessionProperties)
Set the SessionInterface::sessionProperties
-
-
-
Constructor Detail
-
SessionInterface
public SessionInterface()
Empty constructor for specification of requirements while validating sessions
-
SessionInterface
public SessionInterface(InterfaceID newinterfaceID, MetaClassID newclassOfInterface)
Session interface constructor- Parameters:
newinterfaceID
- ID of the interfacenewclassOfInterface
- ID of the MetaClass from which the Session interface was created
-
-
Method Detail
-
getInterfaceID
public InterfaceID getInterfaceID()
Get the SessionInterface::interfaceID- Returns:
- the interfaceID
-
setInterfaceID
public void setInterfaceID(InterfaceID newinterfaceID)
Set the SessionInterface::interfaceID- Parameters:
newinterfaceID
- the interfaceID to set
-
getSessionProperties
public Map<PropertyID,SessionProperty> getSessionProperties()
Get the SessionInterface::sessionProperties- Returns:
- the sessionProperties
-
setSessionProperties
public void setSessionProperties(Map<PropertyID,SessionProperty> newsessionProperties)
Set the SessionInterface::sessionProperties- Parameters:
newsessionProperties
- the sessionProperties to set
-
getSessionOperations
public Map<OperationID,SessionOperation> getSessionOperations()
Get the SessionInterface::sessionOperations- Returns:
- the sessionOperations
-
setSessionOperations
public void setSessionOperations(Map<OperationID,SessionOperation> newsessionOperations)
Set the SessionInterface::sessionOperations- Parameters:
newsessionOperations
- the sessionOperations to set
-
getClassOfInterface
public MetaClassID getClassOfInterface()
Get the SessionInterface::classOfInterface- Returns:
- the classOfInterface
-
setClassOfInterface
public void setClassOfInterface(MetaClassID newclassOfInterface)
Set the SessionInterface::classOfInterface- Parameters:
newclassOfInterface
- the classOfInterface to set
-
getImportOfInterface
public InterfaceID getImportOfInterface()
Get the SessionInterface::importOfInterface- Returns:
- the importOfInterface
-
setImportOfInterface
public void setImportOfInterface(InterfaceID newimportOfInterface)
Set the SessionInterface::importOfInterface- Parameters:
newimportOfInterface
- the importOfInterface to set
-
getId
public UUID getId()
get id- Returns:
- id
-
setId
public void setId(UUID newid)
Set id- Parameters:
newid
- the id
-
-