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 booleanequals(Object t)This operation allows to compare this object with other object.UUIDgetId()get idImplementationIDgetImplementationID()Get the SessionImplementation::implementationIDNamespaceIDgetNamespaceID()Get the SessionImplementation::namespaceIDAccountIDgetRespAccountID()Get the SessionImplementation::respAccountIDinthashCode()This operation allows to compare with other Object by setting its Java default Hashcode to a constant.voidsetId(UUID newid)Set idvoidsetImplementationID(ImplementationID newimplementationID)Set the SessionImplementation::implementationIDvoidsetNamespaceID(NamespaceID newnamespaceID)Set the SessionImplementation::namespaceIDvoidsetRespAccountID(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:
hashCodein 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
-
-