Class SessionImplementation
- java.lang.Object
-
- es.bsc.dataclay.util.management.sessionmgr.SessionImplementation
-
- All Implemented Interfaces:
Serializable
public final class SessionImplementation extends Object implements Serializable
This class represents an implementation in a Session.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionImplementation()
Empty constructor for specification of requirements while validating sessionsSessionImplementation(ImplementationID newimplementationID, NamespaceID newnamespaceID, AccountID newrespAccountID)
SessionImplementation Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object t)
This operation allows to compare this object with other object.UUID
getId()
get idImplementationID
getImplementationID()
Get the SessionImplementation::implementationIDNamespaceID
getNamespaceID()
Get the SessionImplementation::namespaceIDAccountID
getRespAccountID()
Get the SessionImplementation::respAccountIDint
hashCode()
This operation allows to compare with other Object by setting its Java default Hashcode to a constant.void
setId(UUID newid)
Set idvoid
setImplementationID(ImplementationID newimplementationID)
Set the SessionImplementation::implementationIDvoid
setNamespaceID(NamespaceID newnamespaceID)
Set the SessionImplementation::namespaceIDvoid
setRespAccountID(AccountID newrespAccountID)
Set the SessionImplementation::respAccountID
-
-
-
Constructor Detail
-
SessionImplementation
public SessionImplementation()
Empty constructor for specification of requirements while validating sessions
-
SessionImplementation
public SessionImplementation(ImplementationID newimplementationID, NamespaceID newnamespaceID, AccountID newrespAccountID)
SessionImplementation Constructor- Parameters:
newimplementationID
- ID of the implementationnewnamespaceID
- ID of the namespace of the implementationnewrespAccountID
- ID of the responsible of the namespace of the implementation
-
-
Method Detail
-
getImplementationID
public ImplementationID getImplementationID()
Get the SessionImplementation::implementationID- Returns:
- the implementationID
-
setImplementationID
public void setImplementationID(ImplementationID newimplementationID)
Set the SessionImplementation::implementationID- Parameters:
newimplementationID
- the implementationID to set
-
getNamespaceID
public NamespaceID getNamespaceID()
Get the SessionImplementation::namespaceID- Returns:
- the namespaceID
-
setNamespaceID
public void setNamespaceID(NamespaceID newnamespaceID)
Set the SessionImplementation::namespaceID- Parameters:
newnamespaceID
- the namespaceID to set
-
getRespAccountID
public AccountID getRespAccountID()
Get the SessionImplementation::respAccountID- Returns:
- the respAccountID
-
setRespAccountID
public void setRespAccountID(AccountID newrespAccountID)
Set the SessionImplementation::respAccountID- Parameters:
newrespAccountID
- the respAccountID to set
-
equals
public boolean equals(Object t)
This operation allows to compare this object with other object.
-
hashCode
public int hashCode()
This operation allows to compare with other Object by setting its Java default Hashcode to a constant. It is necessary to override the equality function.- Overrides:
hashCode
in classObject
- Returns:
- the hashcode
- See Also:
equals(java.lang.Object)
-
getId
public UUID getId()
get id- Returns:
- id
-
setId
public void setId(UUID newid)
Set id- Parameters:
newid
- the id
-
-