Class OpImplementations


  • public final class OpImplementations
    extends Object
    Struct to keep information about the accessible implementations of an operation.
    • Constructor Detail

      • OpImplementations

        public OpImplementations()
        OpImplementations empty constructor
      • OpImplementations

        public OpImplementations​(String newopSignature,
                                 int localImpl,
                                 int remoteImpl)
        OpImplementations constructor
        Parameters:
        newopSignature - Operation signature
        localImpl - 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.
        Overrides:
        equals in class Object
        Parameters:
        t - to compare
        Returns:
        If the object has the same implementations, returns TRUE. FALSE, otherwise.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getId

        public UUID getId()
        get id
        Returns:
        id
      • setId

        public void setId​(UUID newid)
        Set id
        Parameters:
        newid - the id