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 booleanequals(Object t)This operation allows to compare this object with other object.UUIDgetId()get idImplementationIDgetLocalImplementationID()Get the OpImplementations::localImplementationIDintgetNumLocalImpl()Get the OpImplementations::numLocalImplintgetNumRemoteImpl()Get the OpImplementations::numRemoteImplStringgetOperationSignature()Get the OpImplementations::operationSignatureImplementationIDgetRemoteImplementationID()Get OpImplementations::remoteImplementationIDinthashCode()voidsetId(UUID newid)Set idvoidsetLocalImplementationID(ImplementationID localImplID)Sets OpImplementations::localImplementationIDvoidsetNumLocalImpl(int newnumLocalImpl)Set the OpImplementations::numLocalImplvoidsetNumRemoteImpl(int newnumRemoteImpl)Set the OpImplementations::numRemoteImplvoidsetOperationSignature(String newoperationSignature)Set the OpImplementations::operationSignaturevoidsetRemoteImplementationID(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
-
-