Class ImplementationStubInfo


  • public final class ImplementationStubInfo
    extends Object
    This class represents the information about an operation in a stub.
    • Constructor Detail

      • ImplementationStubInfo

        public ImplementationStubInfo()
        Empty constructor
      • ImplementationStubInfo

        public ImplementationStubInfo​(String implNamespace,
                                      String implCassName,
                                      String newsignature,
                                      Map<String,​Type> newparameters,
                                      List<String> newparamsOrder,
                                      Type newreturnType,
                                      OperationID newoperationID,
                                      ImplementationID newlocalImplID,
                                      ImplementationID newremoteImplID,
                                      ContractID newcontractID,
                                      InterfaceID newinterfaceID,
                                      AccountID newresponsibleRemoteAccountID,
                                      NamespaceID newnamespaceID,
                                      int newimplPosition)
        Constructor
        Parameters:
        implNamespace - Namespace of the implementation (in case of enrichments it's different)
        implCassName - Name of class of the implementatin (different for superclasses)
        newsignature - Signature of implementation
        newparameters - Parameters of implementation
        newparamsOrder - Order of params by name.
        newreturnType - Return type for the operation
        newoperationID - ID of operation
        newlocalImplID - ID of the local implementation
        newremoteImplID - ID of the remote implementation
        newcontractID - Contract of remote implementation
        newinterfaceID - Interface of remote implementation
        newresponsibleRemoteAccountID - ID of the account responsible of the remote implementation
        newnamespaceID - ID of namespace
        newimplPosition - New implementation position.
    • Method Detail

      • getOperationID

        public OperationID getOperationID()
        Get the ImplementationStubInfo::operationID
        Returns:
        the operationID
      • setOperationID

        public void setOperationID​(OperationID newoperationID)
        Set the ImplementationStubInfo::operationID
        Parameters:
        newoperationID - the operationID to set
      • getLocalImplID

        public ImplementationID getLocalImplID()
        Get the ImplementationStubInfo::localImplID
        Returns:
        the localImplID
      • setLocalImplID

        public void setLocalImplID​(ImplementationID newlocalImplID)
        Set the ImplementationStubInfo::localImplID
        Parameters:
        newlocalImplID - the localImplID to set
      • hashCode

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

        public Type getReturnType()
        Get the ImplementationStubInfo::returnType
        Returns:
        the returnType.
      • setReturnType

        public void setReturnType​(Type newreturnType)
        Set the ImplementationStubInfo::returnType
        Parameters:
        newreturnType - the returnType to set
      • getResponsibleRemoteAccountID

        public AccountID getResponsibleRemoteAccountID()
        Get the ImplementationStubInfo::responsibleRemoteAccountID
        Returns:
        the responsibleRemoteAccountID
      • setResponsibleRemoteAccountID

        public void setResponsibleRemoteAccountID​(AccountID newresponsibleRemoteAccountID)
        Set the ImplementationStubInfo::responsibleRemoteAccountID
        Parameters:
        newresponsibleRemoteAccountID - the responsibleRemoteAccountID to set
      • getParams

        public Map<String,​Type> getParams()
        Get parameters
        Returns:
        the parameters
      • setParams

        public void setParams​(Map<String,​Type> newparameters)
        Set parameters
        Parameters:
        newparameters - the parameters to set
      • getContractID

        public ContractID getContractID()
        Get contractID
        Returns:
        the contractID
      • setContractID

        public void setContractID​(ContractID newcontractID)
        Set contractID
        Parameters:
        newcontractID - the contractID to set
      • getInterfaceID

        public InterfaceID getInterfaceID()
        Get interfaceID
        Returns:
        the interfaceID
      • setInterfaceID

        public void setInterfaceID​(InterfaceID newinterfaceID)
        Set interfaceID
        Parameters:
        newinterfaceID - the interfaceID to set
      • getRemoteImplID

        public ImplementationID getRemoteImplID()
        Get remoteImplID
        Returns:
        the remoteImplID
      • setRemoteImplID

        public void setRemoteImplID​(ImplementationID newremoteImplID)
        Set remoteImplID
        Parameters:
        newremoteImplID - the remoteImplID to set
      • getSignature

        public String getSignature()
        Get signature
        Returns:
        the signature
      • setSignature

        public void setSignature​(String newsignature)
        Set signature
        Parameters:
        newsignature - the signature to set
      • getParamsOrder

        public List<String> getParamsOrder()
        Get paramsOrder
        Returns:
        the paramsOrder
      • setParamsOrder

        public void setParamsOrder​(List<String> newparamsOrder)
        Set paramsOrder
        Parameters:
        newparamsOrder - the paramsOrder to set
      • getNamespace

        public String getNamespace()
        Get namespace
        Returns:
        the namespace
      • setNamespace

        public void setNamespace​(String newnamespace)
        Set namespace
        Parameters:
        newnamespace - the namespace to set
      • getNamespaceID

        public NamespaceID getNamespaceID()
        Get namespaceID
        Returns:
        the namespaceID
      • setNamespaceID

        public void setNamespaceID​(NamespaceID newnamespaceID)
        Set namespaceID
        Parameters:
        newnamespaceID - the namespaceID to set
      • getClassName

        public String getClassName()
        Get className
        Returns:
        the className
      • setClassName

        public void setClassName​(String newclassName)
        Set className
        Parameters:
        newclassName - the className to set
      • getImplPosition

        public int getImplPosition()
        Returns:
        the implPosition
      • setImplPosition

        public void setImplPosition​(int newimplPosition)
        Parameters:
        newimplPosition - the implPosition to set