Class OpImplementations
- java.lang.Object
-
- es.bsc.dataclay.util.management.contractmgr.OpImplementations
-
public final class OpImplementations extends Object
Struct to keep information about the accessible implementations of an operation.
-
-
Constructor Summary
Constructors Constructor Description OpImplementations()
OpImplementations empty constructorOpImplementations(String newopSignature, int localImpl, int remoteImpl)
OpImplementations 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
getLocalImplementationID()
Get the OpImplementations::localImplementationIDint
getNumLocalImpl()
Get the OpImplementations::numLocalImplint
getNumRemoteImpl()
Get the OpImplementations::numRemoteImplString
getOperationSignature()
Get the OpImplementations::operationSignatureImplementationID
getRemoteImplementationID()
Get OpImplementations::remoteImplementationIDint
hashCode()
void
setId(UUID newid)
Set idvoid
setLocalImplementationID(ImplementationID localImplID)
Sets OpImplementations::localImplementationIDvoid
setNumLocalImpl(int newnumLocalImpl)
Set the OpImplementations::numLocalImplvoid
setNumRemoteImpl(int newnumRemoteImpl)
Set the OpImplementations::numRemoteImplvoid
setOperationSignature(String newoperationSignature)
Set the OpImplementations::operationSignaturevoid
setRemoteImplementationID(ImplementationID remoteImplID)
Set OpImplementations::remoteImplementationID
-
-
-
Constructor Detail
-
OpImplementations
public OpImplementations()
OpImplementations empty constructor
-
OpImplementations
public OpImplementations(String newopSignature, int localImpl, int remoteImpl)
OpImplementations constructor- Parameters:
newopSignature
- Operation signaturelocalImpl
- Local implementation position.remoteImpl
- Remove implementation position.
-
-
Method Detail
-
getOperationSignature
public String getOperationSignature()
Get the OpImplementations::operationSignature- Returns:
- the operationSignature
-
setOperationSignature
public void setOperationSignature(String newoperationSignature)
Set the OpImplementations::operationSignature- Parameters:
newoperationSignature
- the operationSignature to set
-
getLocalImplementationID
public ImplementationID getLocalImplementationID()
Get the OpImplementations::localImplementationID- Returns:
- the local implementation ID
-
setLocalImplementationID
public void setLocalImplementationID(ImplementationID localImplID)
Sets OpImplementations::localImplementationID- Parameters:
localImplID
- Local implementation ID to set
-
getRemoteImplementationID
public ImplementationID getRemoteImplementationID()
Get OpImplementations::remoteImplementationID- Returns:
- the remote implementation ID
-
setRemoteImplementationID
public void setRemoteImplementationID(ImplementationID remoteImplID)
Set OpImplementations::remoteImplementationID- Parameters:
remoteImplID
- the remote implementation ID to set
-
getNumLocalImpl
public int getNumLocalImpl()
Get the OpImplementations::numLocalImpl- Returns:
- the numLocalImpl
-
setNumLocalImpl
public void setNumLocalImpl(int newnumLocalImpl)
Set the OpImplementations::numLocalImpl- Parameters:
newnumLocalImpl
- the numLocalImpl to set
-
getNumRemoteImpl
public int getNumRemoteImpl()
Get the OpImplementations::numRemoteImpl- Returns:
- the numRemoteImpl
-
setNumRemoteImpl
public void setNumRemoteImpl(int newnumRemoteImpl)
Set the OpImplementations::numRemoteImpl- Parameters:
newnumRemoteImpl
- the numRemoteImpl to set
-
equals
public boolean equals(Object t)
This operation allows to compare this object with other object.
-
getId
public UUID getId()
get id- Returns:
- id
-
setId
public void setId(UUID newid)
Set id- Parameters:
newid
- the id
-
-